diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2014-11-12 18:30:34 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-12-01 19:49:58 -0500 |
commit | 9b8d32b7acdcd237d3e58154d59551c71556fec1 (patch) | |
tree | f7e2377ecb268b5913e4e7eb25017fadc7bffe99 /include/net/nfc | |
parent | a80d0cb6f6addc5a1f3852466fe8d37ca4fe1350 (diff) |
NFC: hci: Add se_io HCI operand
se_io allows to send apdu over the CLF to the embedded 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/hci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/nfc/hci.h b/include/net/nfc/hci.h index 7ee8f4cc610b..50bc66f0121f 100644 --- a/include/net/nfc/hci.h +++ b/include/net/nfc/hci.h | |||
@@ -57,6 +57,9 @@ struct nfc_hci_ops { | |||
57 | int (*discover_se)(struct nfc_hci_dev *dev); | 57 | int (*discover_se)(struct nfc_hci_dev *dev); |
58 | int (*enable_se)(struct nfc_hci_dev *dev, u32 se_idx); | 58 | int (*enable_se)(struct nfc_hci_dev *dev, u32 se_idx); |
59 | int (*disable_se)(struct nfc_hci_dev *dev, u32 se_idx); | 59 | int (*disable_se)(struct nfc_hci_dev *dev, u32 se_idx); |
60 | int (*se_io)(struct nfc_hci_dev *dev, u32 se_idx, | ||
61 | u8 *apdu, size_t apdu_length, | ||
62 | se_io_cb_t cb, void *cb_context); | ||
60 | }; | 63 | }; |
61 | 64 | ||
62 | /* Pipes */ | 65 | /* Pipes */ |