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:11 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2015-02-02 21:50:39 +0100
commitf7f793f31378d5e83276871339c2a8374b0e8657 (patch)
treefbb5d1fe808f5a5ef1626e929cdc17717448420a /include/net/nfc/nci_core.h
parentNFC: nci: Add NFCEE discover support (diff)
downloadlinux-dev-f7f793f31378d5e83276871339c2a8374b0e8657.tar.xz
linux-dev-f7f793f31378d5e83276871339c2a8374b0e8657.zip
NFC: nci: Add NFCEE enabling and disabling support
NFCEEs can be enabled or disabled by sending the NCI_OP_NFCEE_MODE_SET_CMD command to the NFCC. This patch provides an API for drivers to enable and disable e.g. their NCI discoveredd secure elements. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h
index 31ad795aa4b5..6cf6ee2b696d 100644
--- a/include/net/nfc/nci_core.h
+++ b/include/net/nfc/nci_core.h
@@ -185,6 +185,7 @@ 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);
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);
static inline struct sk_buff *nci_skb_alloc(struct nci_dev *ndev,
unsigned int len,