HomeSort by relevance Sort by last modified time
    Searched refs:op_code (Results 1 - 25 of 42) sorted by null

1 2

  /external/libnfc-nci/src/nfc/nci/
nci_hrcv.c 49 UINT8 *pp, len, op_code; local
56 NCI_MSG_PRS_HDR1 (pp, op_code);
57 NFC_TRACE_DEBUG1 ("nci_proc_core_rsp opcode:0x%x", op_code);
61 switch (op_code)
89 NFC_TRACE_ERROR1 ("unknown opcode:0x%x", op_code);
108 UINT8 *pp, len, op_code; local
114 NCI_MSG_PRS_HDR1 (pp, op_code);
115 NFC_TRACE_DEBUG1 ("nci_proc_core_ntf opcode:0x%x", op_code);
119 switch (op_code)
142 NFC_TRACE_ERROR1 ("unknown opcode:0x%x", op_code);
160 UINT8 *pp, len, op_code; local
226 UINT8 *pp, len, op_code; local
294 UINT8 *pp, len, op_code; local
354 UINT8 *pp, len, op_code; local
437 UINT8 *pp, len, op_code; local
464 UINT8 *pp, len, op_code; local
    [all...]
  /external/bluetooth/bluedroid/stack/gatt/
gatt_sr.c 43 UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle)
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 == 0)
    [all...]
att_protocol.c 46 BT_HDR *attp_build_mtu_cmd(UINT8 op_code, UINT16 rx_mtu)
55 UINT8_TO_STREAM (p, op_code);
72 BT_HDR *attp_build_exec_write_cmd (UINT8 op_code, UINT8 flag)
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)
148 UINT8_TO_STREAM (p, op_code);
234 BT_HDR *attp_build_handle_cmd(UINT8 op_code, UINT16 handle, UINT16 offset)
245 UINT8_TO_STREAM (p, op_code);
251 if (op_code == GATT_REQ_READ_BLOB
    [all...]
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 == 0 |
207 UINT8 rt = GATT_SUCCESS, op_code; local
    [all...]
gatt_int.h 253 UINT8 op_code; member in struct:__anon3117
274 UINT8 op_code; member in struct:__anon3118
547 extern tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MSG *p_msg);
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 handle, BOOLEAN deq);
608 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);
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...]
gatt_db.c 45 static tGATT_STATUS gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code,
317 UINT8 op_code,
365 status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, 0, trans_id);
602 UINT8 op_code,
623 (BOOLEAN)(op_code == GATT_REQ_READ_BLOB),
628 status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, offset, trans_id);
693 ** op_code:op code of this write.
704 tGATT_STATUS gatts_write_attr_perm_check (tGATT_SVC_DB *p_db, UINT8 op_code,
714 GATT_TRACE_DEBUG6( "gatts_write_attr_perm_check op_code=0x%0x handle=0x%04x offset=%d len=%d sec_flag=0x%0x key_size=%d",
715 op_code, handle, offset, len, sec_flag, key_size)
    [all...]
gatt_main.c 877 UINT8 op_code, pseudo_op_code; local
884 STREAM_TO_UINT8(op_code, p);
887 pseudo_op_code = op_code & (~GATT_WRITE_CMD_MASK);
891 if (op_code == GATT_SIGN_CMD_WRITE)
899 if ((op_code % 2) == 0)
900 gatt_server_handle_client_req (p_tcb, op_code, msg_len, p);
902 gatt_client_handle_server_rsp (p_tcb, op_code, msg_len, p);
907 GATT_TRACE_ERROR1 ("ATT - Rcvd L2CAP data, unknown cmd: 0x%x", op_code);
    [all...]
gatt_auth.c 101 UINT8 op_code; local
111 STREAM_TO_UINT8(op_code, p_orig);
112 gatt_server_handle_client_req (p_tcb, op_code, (UINT16)(p_buf->len - 1), p_orig);
  /external/bluetooth/bluedroid/stack/mcap/
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+1
    [all...]
mca_api.c 471 p_evt_data->op_code = MCA_OP_MDL_CREATE_REQ;
520 && (p_ccb->p_rx_msg->mdl_id == mdl_id) && (p_ccb->p_rx_msg->op_code == MCA_OP_MDL_CREATE_REQ))
545 evt_data.op_code = MCA_OP_MDL_CREATE_RSP;
642 p_evt_data->op_code = MCA_OP_MDL_RECONNECT_REQ;
686 (p_ccb->p_rx_msg->op_code == MCA_OP_MDL_RECONNECT_REQ))
709 evt_data.op_code = MCA_OP_MDL_RECONNECT_RSP;
811 p_evt_data->op_code = MCA_OP_MDL_ABORT_REQ;
855 p_evt_data->op_code = MCA_OP_MDL_DELETE_REQ;
    [all...]
  /external/wpa_supplicant_8/src/eap_server/
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);
    [all...]
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 != MSCHAPV2_OP_FAILURE)
    [all...]
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 != EAP_PAX_OP_ACK)
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap_wsc.c 343 const u8 *buf, size_t len, u8 op_code)
346 if (op_code != data->in_op_code) {
349 op_code, data->in_op_code);
370 u8 id, u8 flags, u8 op_code,
391 data->in_op_code = op_code;
410 u8 op_code, flags, id; local
428 op_code = *pos++;
449 op_code, flags, message_length);
452 if (op_code != WSC_FRAG_ACK) {
454 "in WAIT_FRAG_ACK state", op_code);
    [all...]
eap_pax.c 94 u8 id, u8 op_code, size_t plen)
105 pax->op_code = op_code;
344 wpa_printf(MSG_DEBUG, "EAP-PAX: received frame: op_code 0x%x "
347 req->op_code, req->flags, req->mac_id, req->dh_group_id,
409 if (req->op_code == EAP_PAX_OP_STD_1) {
432 switch (req->op_code) {
441 "op_code %d", req->op_code);
  /external/libnfc-nci/halimpl/bcm2079x/hal/hal/
nfc_hal_dm.c 459 UINT8 mt, pbf, gid, op_code; local
472 NCI_MSG_PRS_HDR1 (p, op_code);
484 if ((old_gid == gid) && (old_oid == op_code))
496 if (op_code == NCI_MSG_CORE_RESET)
524 (*p_cback) ((tNFC_HAL_NCI_EVT) (op_code),
532 op_code |= NCI_NTF_BIT;
534 op_code |= NCI_RSP_BIT;
538 if (op_code == (NCI_RSP_BIT|NCI_MSG_GET_XTAL_INDEX_FROM_DH))
547 else if ( (op_code == NFC_VS_GET_BUILD_INFO_EVT)
593 else if ( (op_code == NFC_VS_GET_PATCH_VERSION_EVT
    [all...]
nfc_hal_nci.c 527 UINT8 mt, pbf, gid, op_code; local
545 NCI_MSG_PRS_HDR1 (p, op_code);
565 if (op_code == NCI_MSG_HCI_NETWK)
575 if (op_code == NCI_MSG_RF_INTF_ACTIVATED)
594 if (op_code == NCI_MSG_CORE_CONN_CREATE)
664 UINT8 mt, pbf, gid, op_code; local
673 NCI_MSG_PRS_HDR1 (p, op_code);
679 if (op_code == NCI_MSG_CORE_CONN_CREATE)
  /external/bluetooth/bluedroid/stack/include/
mca_api.h 130 UINT8 op_code; /* The op (request/response) code */ member in struct:__anon3377
136 UINT8 op_code; /* The op (request/response) code */ member in struct:__anon3378
143 UINT8 op_code; /* The op (request/response) code */ member in struct:__anon3379
151 UINT8 op_code; /* The op (request/response) code */ member in struct:__anon3380
uipc_msg.h 51 /* op_code */
114 /* op_code */
127 UINT8 op_code; member in struct:__anon3424
147 /* op_code */
170 UINT8 op_code; /* L2C_SYNC_TO_LITE_REQ */ member in struct:t_l2c_sync_to_lite_req
190 UINT8 op_code; /* L2C_SYNC_TO_LITE_RESP */ member in struct:t_l2c_sync_to_lite_resp
198 UINT8 op_code; /* L2C_REMOVE_TO_LITE_REQ */ member in struct:t_l2c_remove_to_lite_req
209 UINT8 op_code; member in union:t_l2c_sync_msg
223 /* op_code */
270 UINT8 op_code; member in struct:t_avdt_sync_info
279 UINT8 op_code; member in union:t_avdt_sync_msg
    [all...]
  /external/wpa_supplicant_8/src/eap_common/
eap_pax_common.h 17 u8 op_code; member in struct:eap_pax_hdr
30 /* op_code: */
  /external/wpa_supplicant_8/src/wps/
wps_i.h 185 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,
wps.c 179 * @op_code: Message OP Code
189 enum wsc_op_code op_code,
193 return wps_registrar_process_msg(wps, op_code, msg);
195 return wps_enrollee_process_msg(wps, op_code, msg);
202 * @op_code: Buffer for returning message OP Code
208 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code)
211 return wps_registrar_get_msg(wps, op_code);
213 return wps_enrollee_get_msg(wps, op_code);
wps_enrollee.c 413 enum wsc_op_code *op_code)
420 *op_code = WSC_MSG;
424 *op_code = WSC_MSG;
428 *op_code = WSC_MSG;
432 *op_code = WSC_MSG;
437 *op_code = WSC_NACK;
441 *op_code = WSC_ACK;
449 *op_code = WSC_NACK;
453 *op_code = WSC_Done;
462 if (*op_code == WSC_MSG && msg)
    [all...]
wps_er.c 1031 enum wsc_op_code op_code)
1035 res = wps_process_msg(sta->wps, op_code, msg);
1037 struct wpabuf *next = wps_get_msg(sta->wps, &op_code);
1113 enum wsc_op_code op_code = WSC_MSG; local
1117 op_code = WSC_ACK;
1120 op_code = WSC_NACK;
1123 op_code = WSC_Done;
1127 wps_er_sta_process(sta, msg, op_code);
1734 enum wsc_op_code op_code; local
    [all...]
  /external/libvorbis/lib/
info.c 571 ogg_packet *op_code){
621 op_code->packet=b->header2;
622 op_code->bytes=oggpack_bytes(&opb);
623 op_code->b_o_s=0;
624 op_code->e_o_s=0;
625 op_code->granulepos=0;
626 op_code->packetno=2;
633 memset(op_code,0,sizeof(*op_code));

Completed in 499 milliseconds

1 2