/external/libnfc-nci/src/nfc/nci/ |
H A D | nci_hrcv.c | 48 UINT8 *pp, len, op_code; local 55 NCI_MSG_PRS_HDR1 (pp, op_code); 56 NFC_TRACE_DEBUG1 ("nci_proc_core_rsp opcode:0x%x", op_code); 60 switch (op_code) 88 NFC_TRACE_ERROR1 ("unknown opcode:0x%x", op_code); 107 UINT8 *pp, len, op_code; local 113 NCI_MSG_PRS_HDR1 (pp, op_code); 114 NFC_TRACE_DEBUG1 ("nci_proc_core_ntf opcode:0x%x", op_code); 118 switch (op_code) 141 NFC_TRACE_ERROR1 ("unknown opcode:0x%x", op_code); 159 UINT8 *pp, len, op_code; local 225 UINT8 *pp, len, op_code; local 293 UINT8 *pp, len, op_code; local 353 UINT8 *pp, len, op_code; local 436 UINT8 *pp, len, op_code; local 463 UINT8 *pp, len, op_code; local [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
H A D | gatt_sr.c | 43 UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle) argument 48 if ( (p_cmd->op_code == 0) || 49 (op_code == GATT_HANDLE_VALUE_CONF)) /* no pending request */ 51 if (op_code == GATT_CMD_WRITE || 52 op_code == GATT_SIGN_CMD_WRITE || 53 op_code == GATT_REQ_MTU || 54 op_code == GATT_HANDLE_VALUE_CONF) 61 p_cmd->op_code = op_code; 83 return(p_tcb->sr_cmd.op_code 258 gatt_sr_process_app_rsp(tGATT_TCB *p_tcb, tGATT_IF gatt_if, UINT32 trans_id, UINT8 op_code, tGATT_STATUS status, tGATTS_RSP *p_msg) argument 327 gatt_process_exec_write_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument 383 gatt_process_read_multi_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument 512 gatt_build_primary_service_rsp(BT_HDR *p_msg, tGATT_TCB *p_tcb, UINT8 op_code, UINT16 s_hdl, UINT16 e_hdl, UINT8 *p_data, tBT_UUID value) argument 678 gatts_validate_packet_format(UINT8 op_code, UINT16 *p_len, UINT8 **p_data, tBT_UUID *p_uuid_filter, UINT16 *p_s_hdl, UINT16 *p_e_hdl) argument 740 gatts_process_primary_service_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument 810 gatts_process_find_info(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument 943 gatts_process_read_by_type_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument 1059 gatts_process_write_req(tGATT_TCB *p_tcb, UINT8 i_rcb, UINT16 handle, UINT8 op_code, UINT16 len, UINT8 *p_data) argument 1148 gatts_process_read_req(tGATT_TCB *p_tcb, tGATT_SR_REG *p_rcb, UINT8 op_code, UINT16 handle, UINT16 len, UINT8 *p_data) argument 1217 gatts_process_attribute_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument 1369 gatts_process_value_conf(tGATT_TCB *p_tcb, UINT8 op_code) argument 1415 gatt_server_handle_client_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument [all...] |
H A D | att_protocol.c | 46 BT_HDR *attp_build_mtu_cmd(UINT8 op_code, UINT16 rx_mtu) argument 55 UINT8_TO_STREAM (p, op_code); 72 BT_HDR *attp_build_exec_write_cmd (UINT8 op_code, UINT8 flag) argument 84 UINT8_TO_STREAM (p, op_code); 86 if (op_code == GATT_REQ_EXEC_WRITE) 136 BT_HDR *attp_build_browse_cmd(UINT8 op_code, UINT16 s_hdl, UINT16 e_hdl, tBT_UUID uuid) argument 148 UINT8_TO_STREAM (p, op_code); 234 BT_HDR *attp_build_handle_cmd(UINT8 op_code, UINT16 handle, UINT16 offset) argument 245 UINT8_TO_STREAM (p, op_code); 251 if (op_code 270 attp_build_opcode_cmd(UINT8 op_code) argument 295 attp_build_value_cmd(UINT16 payload_size, UINT8 op_code, UINT16 handle, UINT16 offset, UINT16 len, UINT8 *p_data) argument 385 attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg) argument 529 attp_send_cl_msg(tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MSG *p_msg) argument [all...] |
H A D | gatt_cl.c | 74 UINT8 op_code = disc_type_to_att_opcode[p_clcb->op_subtype]; local 100 if (attp_send_cl_msg(p_clcb->p_tcb, p_clcb->clcb_idx, op_code, &cl_req) != GATT_SUCCESS) 123 UINT8 op_code = 0; local 131 op_code = GATT_REQ_READ_BY_TYPE; 147 op_code = GATT_REQ_READ; 159 op_code = GATT_REQ_READ_BLOB; 167 op_code = GATT_REQ_READ_BLOB; 173 op_code = GATT_REQ_READ_MULTI; 178 op_code = GATT_REQ_READ; 188 if ( op_code 207 UINT8 rt = GATT_SUCCESS, op_code; local 489 gatt_process_read_info_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument 576 gatt_process_error_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument 626 gatt_process_prep_write_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument 667 gatt_process_notification(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument 747 gatt_process_read_by_type_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument 937 gatt_process_read_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument 1025 gatt_process_handle_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument 1127 gatt_client_handle_server_rsp(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument [all...] |
H A D | gatt_int.h | 250 UINT8 op_code; member in struct:__anon1049 271 UINT8 op_code; member in struct:__anon1050 535 extern tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MSG *p_msg); 536 extern BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg); 541 extern UINT8 * gatt_dbg_op_name(UINT8 op_code); 552 extern tGATT_STATUS gatt_send_error_rsp(tGATT_TCB *p_tcb, UINT8 err_code, UINT8 op_code, UINT16 handle, BOOLEAN deq); 596 extern tGATT_STATUS gatt_sr_process_app_rsp (tGATT_TCB *p_tcb, tGATT_IF gatt_if, UINT32 trans_id, UINT8 op_code, tGATT_STATUS status, tGATTS_RSP *p_msg); 597 extern void gatt_server_handle_client_req (tGATT_TCB *p_tcb, UINT8 op_code, 600 UINT8 op_code, tGATTS_DATA *p_req_data); 601 extern UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT1 [all...] |
/external/bluetooth/bluedroid/stack/mcap/ |
H A D | mca_cact.c | 99 MCA_TRACE_DEBUG2 ("mca_ccb_snd_req cong=%d req=%d", p_ccb->cong, p_msg->op_code); 101 if ((p_ccb->status == MCA_CCB_STAT_PENDING) && (p_msg->op_code == MCA_OP_MDL_ABORT_REQ)) 124 *p++ = p_msg->op_code; 126 if (p_msg->op_code == MCA_OP_MDL_CREATE_REQ) 165 MCA_TRACE_DEBUG2 ("mca_ccb_snd_rsp cong=%d req=%d", p_ccb->cong, p_msg->op_code); 172 *p++ = p_msg->op_code; 175 if (p_msg->op_code == MCA_OP_MDL_CREATE_RSP) 180 else if (p_msg->op_code == MCA_OP_MDL_RECONNECT_RSP) 269 evt_data.hdr.op_code = *p++; 271 reject_opcode = evt_data.hdr.op_code [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
H A D | eap_wsc.c | 234 const u8 *buf, size_t len, u8 op_code) 237 if (op_code != data->in_op_code) { 240 op_code, data->in_op_code); 261 u8 id, u8 flags, u8 op_code, 282 data->in_op_code = op_code; 301 u8 op_code, flags, id; local 318 op_code = *pos++; 339 op_code, flags, message_length); 342 if (op_code != WSC_FRAG_ACK) { 344 "in WAIT_FRAG_ACK state", op_code); 233 eap_wsc_process_cont(struct eap_wsc_data *data, const u8 *buf, size_t len, u8 op_code) argument 259 eap_wsc_process_fragment(struct eap_wsc_data *data, struct eap_method_ret *ret, u8 id, u8 flags, u8 op_code, u16 message_length, const u8 *buf, size_t len) argument [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
H A D | eap_wsc.c | 277 const u8 *buf, size_t len, u8 op_code) 280 if (op_code != data->in_op_code) { 283 op_code, data->in_op_code); 304 u8 flags, u8 op_code, u16 message_length, 322 data->in_op_code = op_code; 340 u8 op_code, flags; local 359 op_code = *pos++; 378 op_code, flags, message_length); 381 if (op_code != WSC_FRAG_ACK) { 383 "in WAIT_FRAG_ACK state", op_code); 276 eap_wsc_process_cont(struct eap_wsc_data *data, const u8 *buf, size_t len, u8 op_code) argument 303 eap_wsc_process_fragment(struct eap_wsc_data *data, u8 flags, u8 op_code, u16 message_length, const u8 *buf, size_t len) argument [all...] |
H A D | eap_mschapv2.c | 23 u8 op_code; /* MSCHAPV2_OP_* */ member in struct:eap_mschapv2_hdr 130 ms->op_code = MSCHAPV2_OP_CHALLENGE; 168 ms->op_code = MSCHAPV2_OP_SUCCESS; 211 ms->op_code = MSCHAPV2_OP_FAILURE; 262 resp->op_code != MSCHAPV2_OP_RESPONSE) { 264 "ignore op %d", resp->op_code); 269 resp->op_code != MSCHAPV2_OP_SUCCESS && 270 resp->op_code != MSCHAPV2_OP_FAILURE) { 272 "Failure - ignore op %d", resp->op_code); 277 resp->op_code ! [all...] |
H A D | eap_pax.c | 102 pax->op_code = EAP_PAX_OP_STD_1; 143 pax->op_code = EAP_PAX_OP_STD_3; 206 wpa_printf(MSG_DEBUG, "EAP-PAX: received frame: op_code 0x%x " 209 resp->op_code, resp->flags, resp->mac_id, resp->dh_group_id, 215 resp->op_code != EAP_PAX_OP_STD_2) { 217 "ignore op %d", resp->op_code); 222 resp->op_code != EAP_PAX_OP_ACK) { 224 "ignore op %d", resp->op_code); 228 if (resp->op_code != EAP_PAX_OP_STD_2 && 229 resp->op_code ! [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_server/ |
H A D | eap_server_wsc.c | 291 const u8 *buf, size_t len, u8 op_code) 294 if (op_code != data->in_op_code) { 297 op_code, data->in_op_code); 318 u8 flags, u8 op_code, u16 message_length, 336 data->in_op_code = op_code; 354 u8 op_code, flags; local 373 op_code = *pos++; 392 op_code, flags, message_length); 395 if (op_code != WSC_FRAG_ACK) { 397 "in WAIT_FRAG_ACK state", op_code); 290 eap_wsc_process_cont(struct eap_wsc_data *data, const u8 *buf, size_t len, u8 op_code) argument 317 eap_wsc_process_fragment(struct eap_wsc_data *data, u8 flags, u8 op_code, u16 message_length, const u8 *buf, size_t len) argument [all...] |
H A D | eap_server_mschapv2.c | 18 u8 op_code; /* MSCHAPV2_OP_* */ member in struct:eap_mschapv2_hdr 125 ms->op_code = MSCHAPV2_OP_CHALLENGE; 163 ms->op_code = MSCHAPV2_OP_SUCCESS; 206 ms->op_code = MSCHAPV2_OP_FAILURE; 257 resp->op_code != MSCHAPV2_OP_RESPONSE) { 259 "ignore op %d", resp->op_code); 264 resp->op_code != MSCHAPV2_OP_SUCCESS && 265 resp->op_code != MSCHAPV2_OP_FAILURE) { 267 "Failure - ignore op %d", resp->op_code); 272 resp->op_code ! [all...] |
H A D | eap_server_pax.c | 97 pax->op_code = EAP_PAX_OP_STD_1; 138 pax->op_code = EAP_PAX_OP_STD_3; 201 wpa_printf(MSG_DEBUG, "EAP-PAX: received frame: op_code 0x%x " 204 resp->op_code, resp->flags, resp->mac_id, resp->dh_group_id, 210 resp->op_code != EAP_PAX_OP_STD_2) { 212 "ignore op %d", resp->op_code); 217 resp->op_code != EAP_PAX_OP_ACK) { 219 "ignore op %d", resp->op_code); 223 if (resp->op_code != EAP_PAX_OP_STD_2 && 224 resp->op_code ! [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
H A D | eap_server_wsc.c | 291 const u8 *buf, size_t len, u8 op_code) 294 if (op_code != data->in_op_code) { 297 op_code, data->in_op_code); 318 u8 flags, u8 op_code, u16 message_length, 336 data->in_op_code = op_code; 354 u8 op_code, flags; local 373 op_code = *pos++; 392 op_code, flags, message_length); 395 if (op_code != WSC_FRAG_ACK) { 397 "in WAIT_FRAG_ACK state", op_code); 290 eap_wsc_process_cont(struct eap_wsc_data *data, const u8 *buf, size_t len, u8 op_code) argument 317 eap_wsc_process_fragment(struct eap_wsc_data *data, u8 flags, u8 op_code, u16 message_length, const u8 *buf, size_t len) argument [all...] |
H A D | eap_server_mschapv2.c | 18 u8 op_code; /* MSCHAPV2_OP_* */ member in struct:eap_mschapv2_hdr 125 ms->op_code = MSCHAPV2_OP_CHALLENGE; 163 ms->op_code = MSCHAPV2_OP_SUCCESS; 206 ms->op_code = MSCHAPV2_OP_FAILURE; 257 resp->op_code != MSCHAPV2_OP_RESPONSE) { 259 "ignore op %d", resp->op_code); 264 resp->op_code != MSCHAPV2_OP_SUCCESS && 265 resp->op_code != MSCHAPV2_OP_FAILURE) { 267 "Failure - ignore op %d", resp->op_code); 272 resp->op_code ! [all...] |
H A D | eap_server_pax.c | 97 pax->op_code = EAP_PAX_OP_STD_1; 138 pax->op_code = EAP_PAX_OP_STD_3; 201 wpa_printf(MSG_DEBUG, "EAP-PAX: received frame: op_code 0x%x " 204 resp->op_code, resp->flags, resp->mac_id, resp->dh_group_id, 210 resp->op_code != EAP_PAX_OP_STD_2) { 212 "ignore op %d", resp->op_code); 217 resp->op_code != EAP_PAX_OP_ACK) { 219 "ignore op %d", resp->op_code); 223 if (resp->op_code != EAP_PAX_OP_STD_2 && 224 resp->op_code ! [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/ |
H A D | eap_server_wsc.c | 291 const u8 *buf, size_t len, u8 op_code) 294 if (op_code != data->in_op_code) { 297 op_code, data->in_op_code); 318 u8 flags, u8 op_code, u16 message_length, 336 data->in_op_code = op_code; 354 u8 op_code, flags; local 373 op_code = *pos++; 392 op_code, flags, message_length); 395 if (op_code != WSC_FRAG_ACK) { 397 "in WAIT_FRAG_ACK state", op_code); 290 eap_wsc_process_cont(struct eap_wsc_data *data, const u8 *buf, size_t len, u8 op_code) argument 317 eap_wsc_process_fragment(struct eap_wsc_data *data, u8 flags, u8 op_code, u16 message_length, const u8 *buf, size_t len) argument [all...] |
H A D | eap_server_mschapv2.c | 18 u8 op_code; /* MSCHAPV2_OP_* */ member in struct:eap_mschapv2_hdr 125 ms->op_code = MSCHAPV2_OP_CHALLENGE; 163 ms->op_code = MSCHAPV2_OP_SUCCESS; 206 ms->op_code = MSCHAPV2_OP_FAILURE; 257 resp->op_code != MSCHAPV2_OP_RESPONSE) { 259 "ignore op %d", resp->op_code); 264 resp->op_code != MSCHAPV2_OP_SUCCESS && 265 resp->op_code != MSCHAPV2_OP_FAILURE) { 267 "Failure - ignore op %d", resp->op_code); 272 resp->op_code ! [all...] |
H A D | eap_server_pax.c | 97 pax->op_code = EAP_PAX_OP_STD_1; 138 pax->op_code = EAP_PAX_OP_STD_3; 201 wpa_printf(MSG_DEBUG, "EAP-PAX: received frame: op_code 0x%x " 204 resp->op_code, resp->flags, resp->mac_id, resp->dh_group_id, 210 resp->op_code != EAP_PAX_OP_STD_2) { 212 "ignore op %d", resp->op_code); 217 resp->op_code != EAP_PAX_OP_ACK) { 219 "ignore op %d", resp->op_code); 223 if (resp->op_code != EAP_PAX_OP_STD_2 && 224 resp->op_code ! [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | eap_wsc.c | 336 const u8 *buf, size_t len, u8 op_code) 339 if (op_code != data->in_op_code) { 342 op_code, data->in_op_code); 363 u8 id, u8 flags, u8 op_code, 384 data->in_op_code = op_code; 403 u8 op_code, flags, id; local 421 op_code = *pos++; 442 op_code, flags, message_length); 445 if (op_code != WSC_FRAG_ACK) { 447 "in WAIT_FRAG_ACK state", op_code); 335 eap_wsc_process_cont(struct eap_wsc_data *data, const u8 *buf, size_t len, u8 op_code) argument 361 eap_wsc_process_fragment(struct eap_wsc_data *data, struct eap_method_ret *ret, u8 id, u8 flags, u8 op_code, u16 message_length, const u8 *buf, size_t len) argument [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
H A D | eap_wsc.c | 336 const u8 *buf, size_t len, u8 op_code) 339 if (op_code != data->in_op_code) { 342 op_code, data->in_op_code); 363 u8 id, u8 flags, u8 op_code, 384 data->in_op_code = op_code; 403 u8 op_code, flags, id; local 421 op_code = *pos++; 442 op_code, flags, message_length); 445 if (op_code != WSC_FRAG_ACK) { 447 "in WAIT_FRAG_ACK state", op_code); 335 eap_wsc_process_cont(struct eap_wsc_data *data, const u8 *buf, size_t len, u8 op_code) argument 361 eap_wsc_process_fragment(struct eap_wsc_data *data, struct eap_method_ret *ret, u8 id, u8 flags, u8 op_code, u16 message_length, const u8 *buf, size_t len) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | eap_wsc.c | 336 const u8 *buf, size_t len, u8 op_code) 339 if (op_code != data->in_op_code) { 342 op_code, data->in_op_code); 363 u8 id, u8 flags, u8 op_code, 384 data->in_op_code = op_code; 403 u8 op_code, flags, id; local 421 op_code = *pos++; 442 op_code, flags, message_length); 445 if (op_code != WSC_FRAG_ACK) { 447 "in WAIT_FRAG_ACK state", op_code); 335 eap_wsc_process_cont(struct eap_wsc_data *data, const u8 *buf, size_t len, u8 op_code) argument 361 eap_wsc_process_fragment(struct eap_wsc_data *data, struct eap_method_ret *ret, u8 id, u8 flags, u8 op_code, u16 message_length, const u8 *buf, size_t len) argument [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
H A D | wps.c | 124 * @op_code: Message OP Code 134 enum wsc_op_code op_code, 138 return wps_registrar_process_msg(wps, op_code, msg); 140 return wps_enrollee_process_msg(wps, op_code, msg); 147 * @op_code: Buffer for returning message OP Code 153 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) argument 156 return wps_registrar_get_msg(wps, op_code); 158 return wps_enrollee_get_msg(wps, op_code); 133 wps_process_msg(struct wps_data *wps, enum wsc_op_code op_code, const struct wpabuf *msg) argument
|
H A D | wps_enrollee.c | 403 enum wsc_op_code *op_code) 410 *op_code = WSC_MSG; 414 *op_code = WSC_MSG; 418 *op_code = WSC_MSG; 422 *op_code = WSC_MSG; 427 *op_code = WSC_NACK; 431 *op_code = WSC_ACK; 439 *op_code = WSC_NACK; 443 *op_code = WSC_Done; 452 if (*op_code 402 wps_enrollee_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) argument 1179 wps_enrollee_process_msg(struct wps_data *wps, enum wsc_op_code op_code, const struct wpabuf *msg) argument [all...] |
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
H A D | nfc_hal_dm.c | 481 UINT8 mt, pbf, gid, op_code; local 490 NCI_MSG_PRS_HDR1 (p, op_code); 502 if ((old_gid == gid) && (old_oid == op_code)) 514 if (op_code == NCI_MSG_CORE_RESET) 542 (*p_cback) ((tNFC_HAL_NCI_EVT) (op_code), 550 op_code |= NCI_NTF_BIT; 552 op_code |= NCI_RSP_BIT; 556 if (op_code == (NCI_RSP_BIT|NCI_MSG_GET_XTAL_INDEX_FROM_DH)) 565 else if ( (op_code == NFC_VS_GET_BUILD_INFO_EVT) 576 else if ( (op_code [all...] |