summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2015-06-06 11:16:41 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2015-06-08 22:34:21 (GMT)
commit759afb8d288ffbe9a1cdb20af037b5c072dc38b2 (patch)
treedbe0ef72823dab2803d8968068f7757160d734a4 /include/net
parentc39daeee50eb0b95d3b91bda21b77955a459ee5f (diff)
downloadlinux-759afb8d288ffbe9a1cdb20af037b5c072dc38b2.tar.xz
NFC: nci: Add nci_prop_cmd allowing to send proprietary nci cmd
Handle allowing to send proprietary nci commands anywhere in the nci state machine. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/nfc/nci_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h
index 886854a..98f18a2 100644
--- a/include/net/nfc/nci_core.h
+++ b/include/net/nfc/nci_core.h
@@ -275,6 +275,8 @@ int nci_request(struct nci_dev *ndev,
void (*req)(struct nci_dev *ndev,
unsigned long opt),
unsigned long opt, __u32 timeout);
+int nci_prop_cmd(struct nci_dev *ndev, __u8 oid, size_t len, __u8 *payload);
+
int nci_recv_frame(struct nci_dev *ndev, struct sk_buff *skb);
int nci_set_config(struct nci_dev *ndev, __u8 id, size_t len, __u8 *val);