diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2014-11-12 23:30:36 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-12-02 01:01:21 (GMT) |
commit | 93bca2bfa4b79b689603b56feeea0ebed2842cbe (patch) | |
tree | d0479cb079628f90d563d039b7e4ea253e3a479b /include/net/nfc | |
parent | ba4db551bb48943bcebdacc30219d35a1248de11 (diff) | |
download | linux-93bca2bfa4b79b689603b56feeea0ebed2842cbe.tar.xz |
NFC: nci: Update nci_enable_se to run proprietary commands to enable a secure element
Some NFC controller using NCI protocols may need a proprietary commands
flow to enable 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h index 8399a79..db2d127 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 (*enable_se)(struct nci_dev *ndev, u32 se_idx); }; #define NCI_MAX_SUPPORTED_RF_INTERFACES 4 |