diff options
| author | Christophe Ricard <christophe.ricard@gmail.com> | 2014-11-12 18:30:38 -0500 |
|---|---|---|
| committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-12-01 20:01:21 -0500 |
| commit | a688bf55c5908d2206307a9f76d31172ee2b2d92 (patch) | |
| tree | 10383ae4956bbcea0affd6893a9d224aca954c88 /include/net/nfc | |
| parent | e9ef9431a347185a8a6a88b072506047d329e480 (diff) | |
NFC: nci: Add se_io NCI 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/nci_core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h index dd97dd7176e5..9e51bb4d841e 100644 --- a/include/net/nfc/nci_core.h +++ b/include/net/nfc/nci_core.h | |||
| @@ -75,6 +75,9 @@ struct nci_ops { | |||
| 75 | int (*discover_se)(struct nci_dev *ndev); | 75 | int (*discover_se)(struct nci_dev *ndev); |
| 76 | int (*disable_se)(struct nci_dev *ndev, u32 se_idx); | 76 | int (*disable_se)(struct nci_dev *ndev, u32 se_idx); |
| 77 | int (*enable_se)(struct nci_dev *ndev, u32 se_idx); | 77 | int (*enable_se)(struct nci_dev *ndev, u32 se_idx); |
| 78 | int (*se_io)(struct nci_dev *ndev, u32 se_idx, | ||
| 79 | u8 *apdu, size_t apdu_length, | ||
| 80 | se_io_cb_t cb, void *cb_context); | ||
| 78 | }; | 81 | }; |
| 79 | 82 | ||
| 80 | #define NCI_MAX_SUPPORTED_RF_INTERFACES 4 | 83 | #define NCI_MAX_SUPPORTED_RF_INTERFACES 4 |
