Home
last modified time | relevance | path

Searched refs:op_code (Results 1 – 25 of 44) sorted by relevance

12

/external/libnfc-nci/src/nfc/nci/
Dnci_hrcv.c49 UINT8 *pp, len, op_code; in nci_proc_core_rsp() local
56 NCI_MSG_PRS_HDR1 (pp, op_code); in nci_proc_core_rsp()
57 NFC_TRACE_DEBUG1 ("nci_proc_core_rsp opcode:0x%x", op_code); in nci_proc_core_rsp()
61 switch (op_code) in nci_proc_core_rsp()
89 NFC_TRACE_ERROR1 ("unknown opcode:0x%x", op_code); in nci_proc_core_rsp()
108 UINT8 *pp, len, op_code; in nci_proc_core_ntf() local
114 NCI_MSG_PRS_HDR1 (pp, op_code); in nci_proc_core_ntf()
115 NFC_TRACE_DEBUG1 ("nci_proc_core_ntf opcode:0x%x", op_code); in nci_proc_core_ntf()
119 switch (op_code) in nci_proc_core_ntf()
142 NFC_TRACE_ERROR1 ("unknown opcode:0x%x", op_code); in nci_proc_core_ntf()
[all …]
/external/bluetooth/bluedroid/stack/gatt/
Dgatt_sr.c43 UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle) in gatt_sr_enqueue_cmd() argument
48 if ( (p_cmd->op_code == 0) || in gatt_sr_enqueue_cmd()
49 (op_code == GATT_HANDLE_VALUE_CONF)) /* no pending request */ in gatt_sr_enqueue_cmd()
51 if (op_code == GATT_CMD_WRITE || in gatt_sr_enqueue_cmd()
52 op_code == GATT_SIGN_CMD_WRITE || in gatt_sr_enqueue_cmd()
53 op_code == GATT_REQ_MTU || in gatt_sr_enqueue_cmd()
54 op_code == GATT_HANDLE_VALUE_CONF) in gatt_sr_enqueue_cmd()
61 p_cmd->op_code = op_code; in gatt_sr_enqueue_cmd()
83 return(p_tcb->sr_cmd.op_code == 0); in gatt_sr_cmd_empty()
259 UINT32 trans_id, UINT8 op_code, in gatt_sr_process_app_rsp() argument
[all …]
Datt_protocol.c46 BT_HDR *attp_build_mtu_cmd(UINT8 op_code, UINT16 rx_mtu) in attp_build_mtu_cmd() argument
55 UINT8_TO_STREAM (p, op_code); in attp_build_mtu_cmd()
72 BT_HDR *attp_build_exec_write_cmd (UINT8 op_code, UINT8 flag) in attp_build_exec_write_cmd() argument
84 UINT8_TO_STREAM (p, op_code); in attp_build_exec_write_cmd()
86 if (op_code == GATT_REQ_EXEC_WRITE) in attp_build_exec_write_cmd()
136 BT_HDR *attp_build_browse_cmd(UINT8 op_code, UINT16 s_hdl, UINT16 e_hdl, tBT_UUID uuid) in attp_build_browse_cmd() argument
148 UINT8_TO_STREAM (p, op_code); in attp_build_browse_cmd()
234 BT_HDR *attp_build_handle_cmd(UINT8 op_code, UINT16 handle, UINT16 offset) in attp_build_handle_cmd() argument
245 UINT8_TO_STREAM (p, op_code); in attp_build_handle_cmd()
251 if (op_code == GATT_REQ_READ_BLOB) in attp_build_handle_cmd()
[all …]
Dgatt_cl.c74 UINT8 op_code = disc_type_to_att_opcode[p_clcb->op_subtype]; in gatt_act_discovery() local
100 if (attp_send_cl_msg(p_clcb->p_tcb, p_clcb->clcb_idx, op_code, &cl_req) != GATT_SUCCESS) in gatt_act_discovery()
123 UINT8 op_code = 0; in gatt_act_read() local
131 op_code = GATT_REQ_READ_BY_TYPE; in gatt_act_read()
147 op_code = GATT_REQ_READ; in gatt_act_read()
159 op_code = GATT_REQ_READ_BLOB; in gatt_act_read()
167 op_code = GATT_REQ_READ_BLOB; in gatt_act_read()
173 op_code = GATT_REQ_READ_MULTI; in gatt_act_read()
178 op_code = GATT_REQ_READ; in gatt_act_read()
188 if ( op_code == 0 || in gatt_act_read()
[all …]
Dgatt_int.h253 UINT8 op_code; member
274 UINT8 op_code; member
547 extern tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MS…
548 extern BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg);
553 extern UINT8 * gatt_dbg_op_name(UINT8 op_code);
564 extern tGATT_STATUS gatt_send_error_rsp(tGATT_TCB *p_tcb, UINT8 err_code, UINT8 op_code, UINT16 han…
608 …cess_app_rsp (tGATT_TCB *p_tcb, tGATT_IF gatt_if, UINT32 trans_id, UINT8 op_code, tGATT_STATUS sta…
609 extern void gatt_server_handle_client_req (tGATT_TCB *p_tcb, UINT8 op_code,
612 UINT8 op_code, tGATTS_DATA *p_req_data);
613 extern UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle);
[all …]
Dgatt_db.c45 static tGATT_STATUS gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code,
317 UINT8 op_code, in gatts_db_read_attr_value_by_type() argument
365 … status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, 0, trans_id); in gatts_db_read_attr_value_by_type()
602 UINT8 op_code, in gatts_read_attr_value_by_handle() argument
623 (BOOLEAN)(op_code == GATT_REQ_READ_BLOB), in gatts_read_attr_value_by_handle()
628 … status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, offset, trans_id); in gatts_read_attr_value_by_handle()
704 tGATT_STATUS gatts_write_attr_perm_check (tGATT_SVC_DB *p_db, UINT8 op_code, in gatts_write_attr_perm_check() argument
715 op_code, handle, offset, len, sec_flag, key_size); in gatts_write_attr_perm_check()
735 if ((op_code == GATT_CMD_WRITE || op_code == GATT_REQ_WRITE) in gatts_write_attr_perm_check()
755 if ((op_code == GATT_SIGN_CMD_WRITE) && !(perm & GATT_WRITE_SIGNED_PERM)) in gatts_write_attr_perm_check()
[all …]
Dgatt_main.c877 UINT8 op_code, pseudo_op_code; in gatt_data_process() local
884 STREAM_TO_UINT8(op_code, p); in gatt_data_process()
887 pseudo_op_code = op_code & (~GATT_WRITE_CMD_MASK); in gatt_data_process()
891 if (op_code == GATT_SIGN_CMD_WRITE) in gatt_data_process()
899 if ((op_code % 2) == 0) in gatt_data_process()
900 gatt_server_handle_client_req (p_tcb, op_code, msg_len, p); in gatt_data_process()
902 gatt_client_handle_server_rsp (p_tcb, op_code, msg_len, p); in gatt_data_process()
907 GATT_TRACE_ERROR1 ("ATT - Rcvd L2CAP data, unknown cmd: 0x%x", op_code); in gatt_data_process()
Dgatt_auth.c101 UINT8 op_code; in gatt_verify_signature() local
111 STREAM_TO_UINT8(op_code, p_orig); in gatt_verify_signature()
112 gatt_server_handle_client_req (p_tcb, op_code, (UINT16)(p_buf->len - 1), p_orig); in gatt_verify_signature()
/external/bluetooth/bluedroid/stack/mcap/
Dmca_cact.c99 MCA_TRACE_DEBUG2 ("mca_ccb_snd_req cong=%d req=%d", p_ccb->cong, p_msg->op_code); in mca_ccb_snd_req()
101 if ((p_ccb->status == MCA_CCB_STAT_PENDING) && (p_msg->op_code == MCA_OP_MDL_ABORT_REQ)) in mca_ccb_snd_req()
124 *p++ = p_msg->op_code; in mca_ccb_snd_req()
126 if (p_msg->op_code == MCA_OP_MDL_CREATE_REQ) in mca_ccb_snd_req()
165 MCA_TRACE_DEBUG2 ("mca_ccb_snd_rsp cong=%d req=%d", p_ccb->cong, p_msg->op_code); in mca_ccb_snd_rsp()
172 *p++ = p_msg->op_code; in mca_ccb_snd_rsp()
175 if (p_msg->op_code == MCA_OP_MDL_CREATE_RSP) in mca_ccb_snd_rsp()
180 else if (p_msg->op_code == MCA_OP_MDL_RECONNECT_RSP) in mca_ccb_snd_rsp()
269 evt_data.hdr.op_code = *p++; in mca_ccb_hdl_req()
271 reject_opcode = evt_data.hdr.op_code+1; in mca_ccb_hdl_req()
[all …]
Dmca_api.c471 p_evt_data->op_code = MCA_OP_MDL_CREATE_REQ; in MCA_CreateMdl()
520 … && (p_ccb->p_rx_msg->mdl_id == mdl_id) && (p_ccb->p_rx_msg->op_code == MCA_OP_MDL_CREATE_REQ)) in MCA_CreateMdlRsp()
545 evt_data.op_code = MCA_OP_MDL_CREATE_RSP; in MCA_CreateMdlRsp()
642 p_evt_data->op_code = MCA_OP_MDL_RECONNECT_REQ; in MCA_ReconnectMdl()
686 (p_ccb->p_rx_msg->op_code == MCA_OP_MDL_RECONNECT_REQ)) in MCA_ReconnectMdlRsp()
709 evt_data.op_code = MCA_OP_MDL_RECONNECT_RSP; in MCA_ReconnectMdlRsp()
811 p_evt_data->op_code = MCA_OP_MDL_ABORT_REQ; in MCA_Abort()
855 p_evt_data->op_code = MCA_OP_MDL_DELETE_REQ; in MCA_Delete()
/external/wpa_supplicant_8/src/eap_peer/
Deap_wsc.c343 const u8 *buf, size_t len, u8 op_code) in eap_wsc_process_cont() argument
346 if (op_code != data->in_op_code) { in eap_wsc_process_cont()
349 op_code, data->in_op_code); in eap_wsc_process_cont()
370 u8 id, u8 flags, u8 op_code, in eap_wsc_process_fragment() argument
391 data->in_op_code = op_code; in eap_wsc_process_fragment()
410 u8 op_code, flags, id; in eap_wsc_process() local
428 op_code = *pos++; in eap_wsc_process()
449 op_code, flags, message_length); in eap_wsc_process()
452 if (op_code != WSC_FRAG_ACK) { in eap_wsc_process()
454 "in WAIT_FRAG_ACK state", op_code); in eap_wsc_process()
[all …]
Deap_pax.c94 u8 id, u8 op_code, size_t plen) in eap_pax_alloc_resp() argument
105 pax->op_code = op_code; in eap_pax_alloc_resp()
347 req->op_code, req->flags, req->mac_id, req->dh_group_id, in eap_pax_process()
409 if (req->op_code == EAP_PAX_OP_STD_1) { in eap_pax_process()
432 switch (req->op_code) { in eap_pax_process()
441 "op_code %d", req->op_code); in eap_pax_process()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_wsc.c291 const u8 *buf, size_t len, u8 op_code) in eap_wsc_process_cont() argument
294 if (op_code != data->in_op_code) { in eap_wsc_process_cont()
297 op_code, data->in_op_code); in eap_wsc_process_cont()
318 u8 flags, u8 op_code, u16 message_length, in eap_wsc_process_fragment() argument
336 data->in_op_code = op_code; in eap_wsc_process_fragment()
354 u8 op_code, flags; in eap_wsc_process() local
373 op_code = *pos++; in eap_wsc_process()
392 op_code, flags, message_length); in eap_wsc_process()
395 if (op_code != WSC_FRAG_ACK) { in eap_wsc_process()
397 "in WAIT_FRAG_ACK state", op_code); in eap_wsc_process()
[all …]
Deap_server_mschapv2.c18 u8 op_code; /* MSCHAPV2_OP_* */ member
125 ms->op_code = MSCHAPV2_OP_CHALLENGE; in eap_mschapv2_build_challenge()
163 ms->op_code = MSCHAPV2_OP_SUCCESS; in eap_mschapv2_build_success_req()
206 ms->op_code = MSCHAPV2_OP_FAILURE; in eap_mschapv2_build_failure_req()
257 resp->op_code != MSCHAPV2_OP_RESPONSE) { in eap_mschapv2_check()
259 "ignore op %d", resp->op_code); in eap_mschapv2_check()
264 resp->op_code != MSCHAPV2_OP_SUCCESS && in eap_mschapv2_check()
265 resp->op_code != MSCHAPV2_OP_FAILURE) { in eap_mschapv2_check()
267 "Failure - ignore op %d", resp->op_code); in eap_mschapv2_check()
272 resp->op_code != MSCHAPV2_OP_FAILURE) { in eap_mschapv2_check()
[all …]
Deap_server_pax.c97 pax->op_code = EAP_PAX_OP_STD_1; in eap_pax_build_std_1()
138 pax->op_code = EAP_PAX_OP_STD_3; in eap_pax_build_std_3()
204 resp->op_code, resp->flags, resp->mac_id, resp->dh_group_id, in eap_pax_check()
210 resp->op_code != EAP_PAX_OP_STD_2) { in eap_pax_check()
212 "ignore op %d", resp->op_code); in eap_pax_check()
217 resp->op_code != EAP_PAX_OP_ACK) { in eap_pax_check()
219 "ignore op %d", resp->op_code); in eap_pax_check()
223 if (resp->op_code != EAP_PAX_OP_STD_2 && in eap_pax_check()
224 resp->op_code != EAP_PAX_OP_ACK) { in eap_pax_check()
226 resp->op_code); in eap_pax_check()
[all …]
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
Dnfc_hal_dm.c459 UINT8 mt, pbf, gid, op_code; in nfc_hal_dm_proc_msg_during_init() local
472 NCI_MSG_PRS_HDR1 (p, op_code); in nfc_hal_dm_proc_msg_during_init()
484 if ((old_gid == gid) && (old_oid == op_code)) in nfc_hal_dm_proc_msg_during_init()
496 if (op_code == NCI_MSG_CORE_RESET) in nfc_hal_dm_proc_msg_during_init()
524 (*p_cback) ((tNFC_HAL_NCI_EVT) (op_code), in nfc_hal_dm_proc_msg_during_init()
532 op_code |= NCI_NTF_BIT; in nfc_hal_dm_proc_msg_during_init()
534 op_code |= NCI_RSP_BIT; in nfc_hal_dm_proc_msg_during_init()
538 if (op_code == (NCI_RSP_BIT|NCI_MSG_GET_XTAL_INDEX_FROM_DH)) in nfc_hal_dm_proc_msg_during_init()
547 else if ( (op_code == NFC_VS_GET_BUILD_INFO_EVT) in nfc_hal_dm_proc_msg_during_init()
593 else if ( (op_code == NFC_VS_GET_PATCH_VERSION_EVT) in nfc_hal_dm_proc_msg_during_init()
[all …]
Dnfc_hal_nci.c527 UINT8 mt, pbf, gid, op_code; in nfc_hal_nci_preproc_rx_nci_msg() local
545 NCI_MSG_PRS_HDR1 (p, op_code); in nfc_hal_nci_preproc_rx_nci_msg()
565 if (op_code == NCI_MSG_HCI_NETWK) in nfc_hal_nci_preproc_rx_nci_msg()
575 if (op_code == NCI_MSG_RF_INTF_ACTIVATED) in nfc_hal_nci_preproc_rx_nci_msg()
594 if (op_code == NCI_MSG_CORE_CONN_CREATE) in nfc_hal_nci_preproc_rx_nci_msg()
664 UINT8 mt, pbf, gid, op_code; in nci_brcm_check_cmd_create_hcp_connection() local
673 NCI_MSG_PRS_HDR1 (p, op_code); in nci_brcm_check_cmd_create_hcp_connection()
679 if (op_code == NCI_MSG_CORE_CONN_CREATE) in nci_brcm_check_cmd_create_hcp_connection()
/external/wpa_supplicant_8/src/wps/
Dwps_enrollee.c413 enum wsc_op_code *op_code) in wps_enrollee_get_msg() argument
420 *op_code = WSC_MSG; in wps_enrollee_get_msg()
424 *op_code = WSC_MSG; in wps_enrollee_get_msg()
428 *op_code = WSC_MSG; in wps_enrollee_get_msg()
432 *op_code = WSC_MSG; in wps_enrollee_get_msg()
437 *op_code = WSC_NACK; in wps_enrollee_get_msg()
441 *op_code = WSC_ACK; in wps_enrollee_get_msg()
449 *op_code = WSC_NACK; in wps_enrollee_get_msg()
453 *op_code = WSC_Done; in wps_enrollee_get_msg()
462 if (*op_code == WSC_MSG && msg) { in wps_enrollee_get_msg()
[all …]
Dwps_i.h185 enum wsc_op_code *op_code);
187 enum wsc_op_code op_code,
192 enum wsc_op_code *op_code);
194 enum wsc_op_code op_code,
Dwps.c189 enum wsc_op_code op_code, in wps_process_msg() argument
193 return wps_registrar_process_msg(wps, op_code, msg); in wps_process_msg()
195 return wps_enrollee_process_msg(wps, op_code, msg); in wps_process_msg()
208 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) in wps_get_msg() argument
211 return wps_registrar_get_msg(wps, op_code); in wps_get_msg()
213 return wps_enrollee_get_msg(wps, op_code); in wps_get_msg()
Dwps_er.c1031 enum wsc_op_code op_code) in wps_er_sta_process() argument
1035 res = wps_process_msg(sta->wps, op_code, msg); in wps_er_sta_process()
1037 struct wpabuf *next = wps_get_msg(sta->wps, &op_code); in wps_er_sta_process()
1113 enum wsc_op_code op_code = WSC_MSG; in wps_er_process_wlanevent_eap() local
1117 op_code = WSC_ACK; in wps_er_process_wlanevent_eap()
1120 op_code = WSC_NACK; in wps_er_process_wlanevent_eap()
1123 op_code = WSC_Done; in wps_er_process_wlanevent_eap()
1127 wps_er_sta_process(sta, msg, op_code); in wps_er_process_wlanevent_eap()
1734 enum wsc_op_code op_code; in wps_er_ap_process() local
1736 op_code = WSC_MSG; in wps_er_ap_process()
[all …]
/external/bluetooth/bluedroid/stack/include/
Dmca_api.h130 UINT8 op_code; /* The op (request/response) code */ member
136 UINT8 op_code; /* The op (request/response) code */ member
143 UINT8 op_code; /* The op (request/response) code */ member
151 UINT8 op_code; /* The op (request/response) code */ member
Duipc_msg.h127 UINT8 op_code; member
170 UINT8 op_code; /* L2C_SYNC_TO_LITE_REQ */ member
190 UINT8 op_code; /* L2C_SYNC_TO_LITE_RESP */ member
198 UINT8 op_code; /* L2C_REMOVE_TO_LITE_REQ */ member
209 UINT8 op_code; member
270 UINT8 op_code; member
279 UINT8 op_code; member
/external/libvorbis/lib/
Dinfo.c571 ogg_packet *op_code){ in vorbis_analysis_headerout() argument
621 op_code->packet=b->header2; in vorbis_analysis_headerout()
622 op_code->bytes=oggpack_bytes(&opb); in vorbis_analysis_headerout()
623 op_code->b_o_s=0; in vorbis_analysis_headerout()
624 op_code->e_o_s=0; in vorbis_analysis_headerout()
625 op_code->granulepos=0; in vorbis_analysis_headerout()
626 op_code->packetno=2; in vorbis_analysis_headerout()
633 memset(op_code,0,sizeof(*op_code)); in vorbis_analysis_headerout()
/external/libnfc-nci/src/nfc/tags/
Drw_t1t.c94 …&&((p_t1t->prev_cmd_rsp_info.op_code == T1T_CMD_RID) || (p_t1t->prev_cmd_rsp_info.op_code == T1T_C… in rw_t1t_data_cback()
97 …ommand=0x%02x, Remaining max retx rsp:0x%02x ", p_t1t->prev_cmd_rsp_info.op_code, p_t1t->prev_cmd_… in rw_t1t_data_cback()
126 …&&((p_t1t->prev_cmd_rsp_info.op_code == T1T_CMD_RID) || (p_t1t->prev_cmd_rsp_info.op_code == T1T_C… in rw_t1t_data_cback()
128 …command=0x%02x, Remaining max retx rsp:0x%02x", p_t1t->prev_cmd_rsp_info.op_code, p_t1t->prev_cmd_… in rw_t1t_data_cback()
165 p_t1t->prev_cmd_rsp_info.op_code = p_cmd_rsp_info->opcode; in rw_t1t_data_cback()
624 p_t1t->prev_cmd_rsp_info.op_code = p_cmd_rsp_info->opcode; in rw_t1t_process_error()

12