summaryrefslogtreecommitdiffstats
path: root/include/net/nfc
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2014-11-13 00:30:37 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2014-12-02 02:01:21 +0100
commite9ef9431a347185a8a6a88b072506047d329e480 (patch)
treefced674e3c778daf295eb4dea14aeee716e6771e /include/net/nfc
parent93bca2bfa4b79b689603b56feeea0ebed2842cbe (diff)
downloadblackbird-op-linux-e9ef9431a347185a8a6a88b072506047d329e480.tar.gz
blackbird-op-linux-e9ef9431a347185a8a6a88b072506047d329e480.zip
NFC: nci: Update nci_disable_se to run proprietary commands to disable a secure element
Some NFC controller using NCI protocols may need a proprietary commands flow to disable a secure element 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')
-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 db2d12790112..dd97dd7176e5 100644
--- a/include/net/nfc/nci_core.h
+++ b/include/net/nfc/nci_core.h
@@ -73,6 +73,7 @@ struct nci_ops {
int (*setup)(struct nci_dev *ndev);
__u32 (*get_rfprotocol)(struct nci_dev *ndev, __u8 rf_protocol);
int (*discover_se)(struct nci_dev *ndev);
+ int (*disable_se)(struct nci_dev *ndev, u32 se_idx);
int (*enable_se)(struct nci_dev *ndev, u32 se_idx);
};
OpenPOWER on IntegriCloud