aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/nfc/nci_core.h
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2015-02-01 22:26:12 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2015-02-02 21:50:39 +0100
commit736bb9577407d3556d81c3c3cd57581cd3ae10ea (patch)
treeab3473fc3494458a13b08e964916d71df3d69dc5 /include/net/nfc/nci_core.h
parentNFC: nci: Add NFCEE enabling and disabling support (diff)
downloadlinux-dev-736bb9577407d3556d81c3c3cd57581cd3ae10ea.tar.xz
linux-dev-736bb9577407d3556d81c3c3cd57581cd3ae10ea.zip
NFC: nci: Support logical connections management
In order to communicate with an NFCEE, we need to open a logical connection to it, by sending the NCI_OP_CORE_CONN_CREATE_CMD command to the NFCC. It's left up to the drivers to decide when to close an already opened logical connection. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net/nfc/nci_core.h')
-rw-r--r--include/net/nfc/nci_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h
index 6cf6ee2b696d..8ba3e38e4167 100644
--- a/include/net/nfc/nci_core.h
+++ b/include/net/nfc/nci_core.h
@@ -186,6 +186,9 @@ int nci_set_config(struct nci_dev *ndev, __u8 id, size_t len, __u8 *val);
int nci_nfcee_discover(struct nci_dev *ndev, u8 action);
int nci_nfcee_mode_set(struct nci_dev *ndev, u8 nfcee_id, u8 nfcee_mode);
+int nci_core_conn_create(struct nci_dev *ndev,
+ struct core_conn_create_dest_spec_params *params);
+int nci_core_conn_close(struct nci_dev *ndev, u8 conn_id);
static inline struct sk_buff *nci_skb_alloc(struct nci_dev *ndev,
unsigned int len,