diff options
author | Ilan Elias <ilane@ti.com> | 2011-11-09 05:09:15 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-11 12:32:50 -0500 |
commit | ee4c64fb984e652c0d49d41d19d1b8e4576c3203 (patch) | |
tree | 5d5acb2fc248c030130eb298830787c9203b1f98 /include | |
parent | e8c0dacd9836dc2dcb28d236c9cc3cfaa9965a20 (diff) |
NFC: Removal of unused operations for NCI spec 1.0 d18
Remove unused NCI operations, e.g. create static rf connection.
Signed-off-by: Ilan Elias <ilane@ti.com>
Acked-by: Lauro Ramos Venancio <lauro.venancio@openbossa.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/nfc/nci.h | 27 | ||||
-rw-r--r-- | include/net/nfc/nci_core.h | 4 |
2 files changed, 0 insertions, 31 deletions
diff --git a/include/net/nfc/nci.h b/include/net/nfc/nci.h index 0ebf842b5946..0b34fde9b130 100644 --- a/include/net/nfc/nci.h +++ b/include/net/nfc/nci.h | |||
@@ -193,16 +193,6 @@ struct nci_core_reset_cmd { | |||
193 | 193 | ||
194 | #define NCI_OP_CORE_INIT_CMD nci_opcode_pack(NCI_GID_CORE, 0x01) | 194 | #define NCI_OP_CORE_INIT_CMD nci_opcode_pack(NCI_GID_CORE, 0x01) |
195 | 195 | ||
196 | #define NCI_OP_CORE_SET_CONFIG_CMD nci_opcode_pack(NCI_GID_CORE, 0x02) | ||
197 | |||
198 | #define NCI_OP_CORE_CONN_CREATE_CMD nci_opcode_pack(NCI_GID_CORE, 0x04) | ||
199 | struct nci_core_conn_create_cmd { | ||
200 | __u8 target_handle; | ||
201 | __u8 num_target_specific_params; | ||
202 | } __packed; | ||
203 | |||
204 | #define NCI_OP_CORE_CONN_CLOSE_CMD nci_opcode_pack(NCI_GID_CORE, 0x06) | ||
205 | |||
206 | #define NCI_OP_RF_DISCOVER_MAP_CMD nci_opcode_pack(NCI_GID_RF_MGMT, 0x00) | 196 | #define NCI_OP_RF_DISCOVER_MAP_CMD nci_opcode_pack(NCI_GID_RF_MGMT, 0x00) |
207 | struct disc_map_config { | 197 | struct disc_map_config { |
208 | __u8 rf_protocol; | 198 | __u8 rf_protocol; |
@@ -262,18 +252,6 @@ struct nci_core_init_rsp_2 { | |||
262 | __le32 manufact_specific_info; | 252 | __le32 manufact_specific_info; |
263 | } __packed; | 253 | } __packed; |
264 | 254 | ||
265 | #define NCI_OP_CORE_SET_CONFIG_RSP nci_opcode_pack(NCI_GID_CORE, 0x02) | ||
266 | |||
267 | #define NCI_OP_CORE_CONN_CREATE_RSP nci_opcode_pack(NCI_GID_CORE, 0x04) | ||
268 | struct nci_core_conn_create_rsp { | ||
269 | __u8 status; | ||
270 | __u8 max_pkt_payload_size; | ||
271 | __u8 initial_num_credits; | ||
272 | __u8 conn_id; | ||
273 | } __packed; | ||
274 | |||
275 | #define NCI_OP_CORE_CONN_CLOSE_RSP nci_opcode_pack(NCI_GID_CORE, 0x06) | ||
276 | |||
277 | #define NCI_OP_RF_DISCOVER_MAP_RSP nci_opcode_pack(NCI_GID_RF_MGMT, 0x00) | 255 | #define NCI_OP_RF_DISCOVER_MAP_RSP nci_opcode_pack(NCI_GID_RF_MGMT, 0x00) |
278 | 256 | ||
279 | #define NCI_OP_RF_DISCOVER_RSP nci_opcode_pack(NCI_GID_RF_MGMT, 0x03) | 257 | #define NCI_OP_RF_DISCOVER_RSP nci_opcode_pack(NCI_GID_RF_MGMT, 0x03) |
@@ -294,11 +272,6 @@ struct nci_core_conn_credit_ntf { | |||
294 | struct conn_credit_entry conn_entries[NCI_MAX_NUM_CONN]; | 272 | struct conn_credit_entry conn_entries[NCI_MAX_NUM_CONN]; |
295 | } __packed; | 273 | } __packed; |
296 | 274 | ||
297 | #define NCI_OP_RF_FIELD_INFO_NTF nci_opcode_pack(NCI_GID_CORE, 0x08) | ||
298 | struct nci_rf_field_info_ntf { | ||
299 | __u8 rf_field_status; | ||
300 | } __packed; | ||
301 | |||
302 | #define NCI_OP_RF_INTF_ACTIVATED_NTF nci_opcode_pack(NCI_GID_RF_MGMT, 0x05) | 275 | #define NCI_OP_RF_INTF_ACTIVATED_NTF nci_opcode_pack(NCI_GID_RF_MGMT, 0x05) |
303 | struct rf_tech_specific_params_nfca_poll { | 276 | struct rf_tech_specific_params_nfca_poll { |
304 | __u16 sens_res; | 277 | __u16 sens_res; |
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h index 6e6a7be485c1..c92b69d7e0c2 100644 --- a/include/net/nfc/nci_core.h +++ b/include/net/nfc/nci_core.h | |||
@@ -116,10 +116,6 @@ struct nci_dev { | |||
116 | __u8 manufact_id; | 116 | __u8 manufact_id; |
117 | __u32 manufact_specific_info; | 117 | __u32 manufact_specific_info; |
118 | 118 | ||
119 | /* received during NCI_OP_CORE_CONN_CREATE_RSP for static conn 0 */ | ||
120 | __u8 max_pkt_payload_size; | ||
121 | __u8 conn_id; | ||
122 | |||
123 | /* stored during nci_data_exchange */ | 119 | /* stored during nci_data_exchange */ |
124 | data_exchange_cb_t data_exchange_cb; | 120 | data_exchange_cb_t data_exchange_cb; |
125 | void *data_exchange_cb_context; | 121 | void *data_exchange_cb_context; |