aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/nfc
diff options
context:
space:
mode:
authorIlan Elias <ilane@ti.com>2011-11-13 03:14:30 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-11-17 15:43:55 -0500
commitccb290fccc9c3a88ed8ddc7d4f980574b450cbc4 (patch)
tree04d1c4041296c95eb7537281fa4d108860d3079d /include/net/nfc
parent8227bf455469a153d5fa2a810653a669a2595ebd (diff)
NFC: Fix indentation in nci.h file
Fix indentation in nci.h file. Signed-off-by: Ilan Elias <ilane@ti.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/nfc')
-rw-r--r--include/net/nfc/nci.h84
1 files changed, 42 insertions, 42 deletions
diff --git a/include/net/nfc/nci.h b/include/net/nfc/nci.h
index cdbe67139343..b61eb6c9df14 100644
--- a/include/net/nfc/nci.h
+++ b/include/net/nfc/nci.h
@@ -34,30 +34,30 @@
34#define NCI_MAX_NUM_CONN 10 34#define NCI_MAX_NUM_CONN 10
35 35
36/* NCI Status Codes */ 36/* NCI Status Codes */
37#define NCI_STATUS_OK 0x00 37#define NCI_STATUS_OK 0x00
38#define NCI_STATUS_REJECTED 0x01 38#define NCI_STATUS_REJECTED 0x01
39#define NCI_STATUS_RF_FRAME_CORRUPTED 0x02 39#define NCI_STATUS_RF_FRAME_CORRUPTED 0x02
40#define NCI_STATUS_FAILED 0x03 40#define NCI_STATUS_FAILED 0x03
41#define NCI_STATUS_NOT_INITIALIZED 0x04 41#define NCI_STATUS_NOT_INITIALIZED 0x04
42#define NCI_STATUS_SYNTAX_ERROR 0x05 42#define NCI_STATUS_SYNTAX_ERROR 0x05
43#define NCI_STATUS_SEMANTIC_ERROR 0x06 43#define NCI_STATUS_SEMANTIC_ERROR 0x06
44#define NCI_STATUS_UNKNOWN_GID 0x07 44#define NCI_STATUS_UNKNOWN_GID 0x07
45#define NCI_STATUS_UNKNOWN_OID 0x08 45#define NCI_STATUS_UNKNOWN_OID 0x08
46#define NCI_STATUS_INVALID_PARAM 0x09 46#define NCI_STATUS_INVALID_PARAM 0x09
47#define NCI_STATUS_MESSAGE_SIZE_EXCEEDED 0x0a 47#define NCI_STATUS_MESSAGE_SIZE_EXCEEDED 0x0a
48/* Discovery Specific Status Codes */ 48/* Discovery Specific Status Codes */
49#define NCI_STATUS_DISCOVERY_ALREADY_STARTED 0xa0 49#define NCI_STATUS_DISCOVERY_ALREADY_STARTED 0xa0
50#define NCI_STATUS_DISCOVERY_TARGET_ACTIVATION_FAILED 0xa1 50#define NCI_STATUS_DISCOVERY_TARGET_ACTIVATION_FAILED 0xa1
51#define NCI_STATUS_DISCOVERY_TEAR_DOWN 0xa2 51#define NCI_STATUS_DISCOVERY_TEAR_DOWN 0xa2
52/* RF Interface Specific Status Codes */ 52/* RF Interface Specific Status Codes */
53#define NCI_STATUS_RF_TRANSMISSION_ERROR 0xb0 53#define NCI_STATUS_RF_TRANSMISSION_ERROR 0xb0
54#define NCI_STATUS_RF_PROTOCOL_ERROR 0xb1 54#define NCI_STATUS_RF_PROTOCOL_ERROR 0xb1
55#define NCI_STATUS_RF_TIMEOUT_ERROR 0xb2 55#define NCI_STATUS_RF_TIMEOUT_ERROR 0xb2
56/* NFCEE Interface Specific Status Codes */ 56/* NFCEE Interface Specific Status Codes */
57#define NCI_STATUS_MAX_ACTIVE_NFCEE_INTERFACES_REACHED 0xc0 57#define NCI_STATUS_MAX_ACTIVE_NFCEE_INTERFACES_REACHED 0xc0
58#define NCI_STATUS_NFCEE_INTERFACE_ACTIVATION_FAILED 0xc1 58#define NCI_STATUS_NFCEE_INTERFACE_ACTIVATION_FAILED 0xc1
59#define NCI_STATUS_NFCEE_TRANSMISSION_ERROR 0xc2 59#define NCI_STATUS_NFCEE_TRANSMISSION_ERROR 0xc2
60#define NCI_STATUS_NFCEE_PROTOCOL_ERROR 0xc3 60#define NCI_STATUS_NFCEE_PROTOCOL_ERROR 0xc3
61#define NCI_STATUS_NFCEE_TIMEOUT_ERROR 0xc4 61#define NCI_STATUS_NFCEE_TIMEOUT_ERROR 0xc4
62 62
63/* NCI RF Technology and Mode */ 63/* NCI RF Technology and Mode */
@@ -97,9 +97,9 @@
97 97
98/* NCI RF Interfaces */ 98/* NCI RF Interfaces */
99#define NCI_RF_INTERFACE_NFCEE_DIRECT 0x00 99#define NCI_RF_INTERFACE_NFCEE_DIRECT 0x00
100#define NCI_RF_INTERFACE_FRAME 0x01 100#define NCI_RF_INTERFACE_FRAME 0x01
101#define NCI_RF_INTERFACE_ISO_DEP 0x02 101#define NCI_RF_INTERFACE_ISO_DEP 0x02
102#define NCI_RF_INTERFACE_NFC_DEP 0x03 102#define NCI_RF_INTERFACE_NFC_DEP 0x03
103 103
104/* NCI Reset types */ 104/* NCI Reset types */
105#define NCI_RESET_TYPE_KEEP_CONFIG 0x00 105#define NCI_RESET_TYPE_KEEP_CONFIG 0x00
@@ -118,22 +118,22 @@
118 118
119/* NCI Discovery Types */ 119/* NCI Discovery Types */
120#define NCI_DISCOVERY_TYPE_POLL_A_PASSIVE 0x00 120#define NCI_DISCOVERY_TYPE_POLL_A_PASSIVE 0x00
121#define NCI_DISCOVERY_TYPE_POLL_B_PASSIVE 0x01 121#define NCI_DISCOVERY_TYPE_POLL_B_PASSIVE 0x01
122#define NCI_DISCOVERY_TYPE_POLL_F_PASSIVE 0x02 122#define NCI_DISCOVERY_TYPE_POLL_F_PASSIVE 0x02
123#define NCI_DISCOVERY_TYPE_POLL_A_ACTIVE 0x03 123#define NCI_DISCOVERY_TYPE_POLL_A_ACTIVE 0x03
124#define NCI_DISCOVERY_TYPE_POLL_F_ACTIVE 0x05 124#define NCI_DISCOVERY_TYPE_POLL_F_ACTIVE 0x05
125#define NCI_DISCOVERY_TYPE_WAKEUP_A_ACTIVE 0x09 125#define NCI_DISCOVERY_TYPE_WAKEUP_A_ACTIVE 0x09
126#define NCI_DISCOVERY_TYPE_LISTEN_A_PASSIVE 0x80 126#define NCI_DISCOVERY_TYPE_LISTEN_A_PASSIVE 0x80
127#define NCI_DISCOVERY_TYPE_LISTEN_B_PASSIVE 0x81 127#define NCI_DISCOVERY_TYPE_LISTEN_B_PASSIVE 0x81
128#define NCI_DISCOVERY_TYPE_LISTEN_F_PASSIVE 0x82 128#define NCI_DISCOVERY_TYPE_LISTEN_F_PASSIVE 0x82
129#define NCI_DISCOVERY_TYPE_LISTEN_A_ACTIVE 0x83 129#define NCI_DISCOVERY_TYPE_LISTEN_A_ACTIVE 0x83
130#define NCI_DISCOVERY_TYPE_LISTEN_F_ACTIVE 0x85 130#define NCI_DISCOVERY_TYPE_LISTEN_F_ACTIVE 0x85
131 131
132/* NCI Deactivation Type */ 132/* NCI Deactivation Type */
133#define NCI_DEACTIVATE_TYPE_IDLE_MODE 0x00 133#define NCI_DEACTIVATE_TYPE_IDLE_MODE 0x00
134#define NCI_DEACTIVATE_TYPE_SLEEP_MODE 0x01 134#define NCI_DEACTIVATE_TYPE_SLEEP_MODE 0x01
135#define NCI_DEACTIVATE_TYPE_SLEEP_AF_MODE 0x02 135#define NCI_DEACTIVATE_TYPE_SLEEP_AF_MODE 0x02
136#define NCI_DEACTIVATE_TYPE_DISCOVERY 0x03 136#define NCI_DEACTIVATE_TYPE_DISCOVERY 0x03
137 137
138/* Message Type (MT) */ 138/* Message Type (MT) */
139#define NCI_MT_DATA_PKT 0x00 139#define NCI_MT_DATA_PKT 0x00
@@ -165,10 +165,10 @@
165#define nci_conn_id(hdr) (__u8)(((hdr)[0])&0x0f) 165#define nci_conn_id(hdr) (__u8)(((hdr)[0])&0x0f)
166 166
167/* GID values */ 167/* GID values */
168#define NCI_GID_CORE 0x0 168#define NCI_GID_CORE 0x0
169#define NCI_GID_RF_MGMT 0x1 169#define NCI_GID_RF_MGMT 0x1
170#define NCI_GID_NFCEE_MGMT 0x2 170#define NCI_GID_NFCEE_MGMT 0x2
171#define NCI_GID_PROPRIETARY 0xf 171#define NCI_GID_PROPRIETARY 0xf
172 172
173/* ---- NCI Packet structures ---- */ 173/* ---- NCI Packet structures ---- */
174#define NCI_CTRL_HDR_SIZE 3 174#define NCI_CTRL_HDR_SIZE 3