Commit a9433c11 authored by Robert Dolca's avatar Robert Dolca Committed by Samuel Ortiz

NFC: nci: Introduce new core opcodes

Add NCI_OP_CORE_GET_CONFIG_CMD, NCI_OP_CORE_GET_CONFIG_RSP
and NCI_OP_CORE_RESET_NTF.
Signed-off-by: default avatarRobert Dolca <robert.dolca@intel.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 2663589c
...@@ -315,6 +315,8 @@ struct nci_nfcee_mode_set_cmd { ...@@ -315,6 +315,8 @@ struct nci_nfcee_mode_set_cmd {
__u8 nfcee_mode; __u8 nfcee_mode;
} __packed; } __packed;
#define NCI_OP_CORE_GET_CONFIG_CMD nci_opcode_pack(NCI_GID_CORE, 0x03)
/* ----------------------- */ /* ----------------------- */
/* ---- NCI Responses ---- */ /* ---- NCI Responses ---- */
/* ----------------------- */ /* ----------------------- */
...@@ -375,6 +377,9 @@ struct nci_nfcee_discover_rsp { ...@@ -375,6 +377,9 @@ struct nci_nfcee_discover_rsp {
} __packed; } __packed;
#define NCI_OP_NFCEE_MODE_SET_RSP nci_opcode_pack(NCI_GID_NFCEE_MGMT, 0x01) #define NCI_OP_NFCEE_MODE_SET_RSP nci_opcode_pack(NCI_GID_NFCEE_MGMT, 0x01)
#define NCI_OP_CORE_GET_CONFIG_RSP nci_opcode_pack(NCI_GID_CORE, 0x03)
/* --------------------------- */ /* --------------------------- */
/* ---- NCI Notifications ---- */ /* ---- NCI Notifications ---- */
/* --------------------------- */ /* --------------------------- */
...@@ -528,4 +533,6 @@ struct nci_nfcee_discover_ntf { ...@@ -528,4 +533,6 @@ struct nci_nfcee_discover_ntf {
struct nci_nfcee_information_tlv information_tlv; struct nci_nfcee_information_tlv information_tlv;
} __packed; } __packed;
#define NCI_OP_CORE_RESET_NTF nci_opcode_pack(NCI_GID_CORE, 0x00)
#endif /* __NCI_H */ #endif /* __NCI_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment