Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1216913

[PATCH v2 3/9] nfc: nci: Introduce new core opcodes

From Robert Dolca <robert.dolca@intel.com>
Newsgroups linux.kernel
Subject [PATCH v2 3/9] nfc: nci: Introduce new core opcodes
Date 2015-09-01 17:00 +0200
Message-ID <q3Vcv-1fz-59@gated-at.bofh.it> (permalink)
References <q3Vct-1fz-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add NCI_OP_CORE_GET_CONFIG_CMD, NCI_OP_CORE_GET_CONFIG_RSP
and NCI_OP_CORE_RESET_NTF.

Signed-off-by: Robert Dolca <robert.dolca@intel.com>
---
 include/net/nfc/nci.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/net/nfc/nci.h b/include/net/nfc/nci.h
index 75d2e18..b495825 100644
--- a/include/net/nfc/nci.h
+++ b/include/net/nfc/nci.h
@@ -315,6 +315,8 @@ struct nci_nfcee_mode_set_cmd {
 	__u8	nfcee_mode;
 } __packed;
 
+#define NCI_OP_CORE_GET_CONFIG_CMD	nci_opcode_pack(NCI_GID_CORE, 0x03)
+
 /* ----------------------- */
 /* ---- NCI Responses ---- */
 /* ----------------------- */
@@ -375,6 +377,9 @@ struct nci_nfcee_discover_rsp {
 } __packed;
 
 #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 ---- */
 /* --------------------------- */
@@ -528,4 +533,6 @@ struct nci_nfcee_discover_ntf {
 	struct nci_nfcee_information_tlv	information_tlv;
 } __packed;
 
+#define NCI_OP_CORE_RESET_NTF		nci_opcode_pack(NCI_GID_CORE, 0x00)
+
 #endif /* __NCI_H */
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/9] Adds Intel FieldsPeak NFC solution driver Robert Dolca <robert.dolca@intel.com> - 2015-09-01 17:00 +0200
  [PATCH v2 4/9] nfc: nci: Allow the driver to set handler for core nci ops Robert Dolca <robert.dolca@intel.com> - 2015-09-01 17:00 +0200
  [PATCH v2 2/9] nfc: nci: Add function to get max packet size for conn Robert Dolca <robert.dolca@intel.com> - 2015-09-01 17:00 +0200
  [PATCH v2 3/9] nfc: nci: Introduce new core opcodes Robert Dolca <robert.dolca@intel.com> - 2015-09-01 17:00 +0200

csiph-web