diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-02-01 16:26:17 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-02-02 15:50:41 -0500 |
commit | a41bb8448ebaebe1d0d9a268d340fad73c247e09 (patch) | |
tree | 9ea105409bddae8ecc33313fd2da6df9db356aba /include/net/nfc | |
parent | 447b27c4f29b510b98e99395120d635f009ed563 (diff) |
NFC: nci: Add RF NFCEE action notification support
The NFCC sends an NCI_OP_RF_NFCEE_ACTION_NTF notification
to the host (DH) to let it know that for example an RF
transaction with a payment reader is done.
For now the notification handler is empty.
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.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/nfc/nci.h b/include/net/nfc/nci.h index deac78b9a53c..6c1beb2704b1 100644 --- a/include/net/nfc/nci.h +++ b/include/net/nfc/nci.h | |||
@@ -499,6 +499,14 @@ struct nci_rf_deactivate_ntf { | |||
499 | __u8 reason; | 499 | __u8 reason; |
500 | } __packed; | 500 | } __packed; |
501 | 501 | ||
502 | #define NCI_OP_RF_NFCEE_ACTION_NTF nci_opcode_pack(NCI_GID_RF_MGMT, 0x09) | ||
503 | struct nci_rf_nfcee_action_ntf { | ||
504 | __u8 nfcee_id; | ||
505 | __u8 trigger; | ||
506 | __u8 supported_data_length; | ||
507 | __u8 supported_data[0]; | ||
508 | } __packed; | ||
509 | |||
502 | #define NCI_OP_NFCEE_DISCOVER_NTF nci_opcode_pack(NCI_GID_NFCEE_MGMT, 0x00) | 510 | #define NCI_OP_NFCEE_DISCOVER_NTF nci_opcode_pack(NCI_GID_NFCEE_MGMT, 0x00) |
503 | struct nci_nfcee_supported_protocol { | 511 | struct nci_nfcee_supported_protocol { |
504 | __u8 num_protocol; | 512 | __u8 num_protocol; |