aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/nfc/nci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/nfc/nci.h')
-rw-r--r--include/net/nfc/nci.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/nfc/nci.h b/include/net/nfc/nci.h
index 75d2e1880059..707e3ab816c2 100644
--- a/include/net/nfc/nci.h
+++ b/include/net/nfc/nci.h
@@ -35,6 +35,7 @@
35#define NCI_MAX_NUM_RF_CONFIGS 10 35#define NCI_MAX_NUM_RF_CONFIGS 10
36#define NCI_MAX_NUM_CONN 10 36#define NCI_MAX_NUM_CONN 10
37#define NCI_MAX_PARAM_LEN 251 37#define NCI_MAX_PARAM_LEN 251
38#define NCI_MAX_PAYLOAD_SIZE 255
38#define NCI_MAX_PACKET_SIZE 258 39#define NCI_MAX_PACKET_SIZE 258
39 40
40/* NCI Status Codes */ 41/* NCI Status Codes */
@@ -315,6 +316,8 @@ struct nci_nfcee_mode_set_cmd {
315 __u8 nfcee_mode; 316 __u8 nfcee_mode;
316} __packed; 317} __packed;
317 318
319#define NCI_OP_CORE_GET_CONFIG_CMD nci_opcode_pack(NCI_GID_CORE, 0x03)
320
318/* ----------------------- */ 321/* ----------------------- */
319/* ---- NCI Responses ---- */ 322/* ---- NCI Responses ---- */
320/* ----------------------- */ 323/* ----------------------- */
@@ -375,6 +378,9 @@ struct nci_nfcee_discover_rsp {
375} __packed; 378} __packed;
376 379
377#define NCI_OP_NFCEE_MODE_SET_RSP nci_opcode_pack(NCI_GID_NFCEE_MGMT, 0x01) 380#define NCI_OP_NFCEE_MODE_SET_RSP nci_opcode_pack(NCI_GID_NFCEE_MGMT, 0x01)
381
382#define NCI_OP_CORE_GET_CONFIG_RSP nci_opcode_pack(NCI_GID_CORE, 0x03)
383
378/* --------------------------- */ 384/* --------------------------- */
379/* ---- NCI Notifications ---- */ 385/* ---- NCI Notifications ---- */
380/* --------------------------- */ 386/* --------------------------- */
@@ -528,4 +534,6 @@ struct nci_nfcee_discover_ntf {
528 struct nci_nfcee_information_tlv information_tlv; 534 struct nci_nfcee_information_tlv information_tlv;
529} __packed; 535} __packed;
530 536
537#define NCI_OP_CORE_RESET_NTF nci_opcode_pack(NCI_GID_CORE, 0x00)
538
531#endif /* __NCI_H */ 539#endif /* __NCI_H */