Home
last modified time | relevance | path

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

123

/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Datt_protocol.c47 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
83 UINT8_TO_STREAM (p, op_code); in attp_build_exec_write_cmd()
85 if (op_code == GATT_REQ_EXEC_WRITE) { in attp_build_exec_write_cmd()
133 BT_HDR *attp_build_browse_cmd(UINT8 op_code, UINT16 s_hdl, UINT16 e_hdl, tBT_UUID uuid) in attp_build_browse_cmd() argument
146 UINT8_TO_STREAM (p, op_code); in attp_build_browse_cmd()
200 BT_HDR *attp_build_read_multi_cmd(UINT8 op_code, UINT16 payload_size, UINT16 num_handle, UINT16 *p_… in attp_build_read_multi_cmd() argument
211 UINT8_TO_STREAM (p, op_code); in attp_build_read_multi_cmd()
230 BT_HDR *attp_build_handle_cmd(UINT8 op_code, UINT16 handle, UINT16 offset) in attp_build_handle_cmd() argument
[all …]
Dgatt_sr.c82 UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle) in gatt_sr_enqueue_cmd() argument
87 if ( (p_cmd->op_code == 0) || in gatt_sr_enqueue_cmd()
88 (op_code == GATT_HANDLE_VALUE_CONF)) { /* no pending request */ in gatt_sr_enqueue_cmd()
89 if (op_code == GATT_CMD_WRITE || in gatt_sr_enqueue_cmd()
90 op_code == GATT_SIGN_CMD_WRITE || in gatt_sr_enqueue_cmd()
91 op_code == GATT_REQ_MTU || in gatt_sr_enqueue_cmd()
92 op_code == GATT_HANDLE_VALUE_CONF) { in gatt_sr_enqueue_cmd()
96 p_cmd->op_code = op_code; in gatt_sr_enqueue_cmd()
118 return (p_tcb->sr_cmd.op_code == 0); in gatt_sr_cmd_empty()
402 UINT32 trans_id, UINT8 op_code, in gatt_sr_process_app_rsp() argument
[all …]
Dgatt_cl.c83 UINT8 op_code = disc_type_to_att_opcode[p_clcb->op_subtype]; in gatt_act_discovery() local
117 st = attp_send_cl_msg(p_clcb->p_tcb, p_clcb->clcb_idx, op_code, &cl_req); in gatt_act_discovery()
141 UINT8 op_code = 0; in gatt_act_read() local
148 op_code = GATT_REQ_READ_BY_TYPE; in gatt_act_read()
162 op_code = GATT_REQ_READ; in gatt_act_read()
173 op_code = GATT_REQ_READ_BLOB; in gatt_act_read()
181 op_code = GATT_REQ_READ_BLOB; in gatt_act_read()
187 op_code = GATT_REQ_READ_MULTI; in gatt_act_read()
192 op_code = GATT_REQ_READ_MULTI_VAR; in gatt_act_read()
197 op_code = GATT_REQ_READ; in gatt_act_read()
[all …]
Dgatt_db.c50 static tGATT_STATUS gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code,
327 UINT8 op_code, in gatts_db_read_attr_value_by_type() argument
377 … status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, 0, trans_id, need_rsp); in gatts_db_read_attr_value_by_type()
384 … status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, 0, trans_id, need_rsp); in gatts_db_read_attr_value_by_type()
991 UINT8 op_code, in gatts_read_attr_value_by_handle() argument
1009 (BOOLEAN)(op_code == GATT_REQ_READ_BLOB), in gatts_read_attr_value_by_handle()
1014 … status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, offset, trans_id, need_rsp); in gatts_read_attr_value_by_handle()
1130 tGATT_STATUS gatts_write_attr_perm_check (tGATT_SVC_DB *p_db, UINT8 op_code, in gatts_write_attr_perm_check() argument
1141 op_code, handle, offset, len, sec_flag, key_size); in gatts_write_attr_perm_check()
1157 if ((op_code == GATT_CMD_WRITE || op_code == GATT_REQ_WRITE) in gatts_write_attr_perm_check()
[all …]
Dgatt_main.c977 UINT8 op_code, pseudo_op_code; in gatt_data_process() local
987 STREAM_TO_UINT8(op_code, p); in gatt_data_process()
990 pseudo_op_code = op_code & (~GATT_WRITE_CMD_MASK); in gatt_data_process()
993 if (op_code == GATT_SIGN_CMD_WRITE) { in gatt_data_process()
999 if ((op_code % 2) == 0) { in gatt_data_process()
1001 gatt_server_handle_client_req (p_tcb, op_code, msg_len, p); in gatt_data_process()
1005 gatt_client_handle_server_rsp (p_tcb, op_code, msg_len, p); in gatt_data_process()
1010 if (op_code & GATT_COMMAND_FLAG) { in gatt_data_process()
1011 GATT_TRACE_ERROR ("ATT - Rcvd L2CAP data, unknown cmd: 0x%x\n", op_code); in gatt_data_process()
1013 GATT_TRACE_ERROR ("ATT - Rcvd L2CAP data, unknown req: 0x%x\n", op_code); in gatt_data_process()
[all …]
Dgatt_auth.c104 UINT8 op_code; in gatt_verify_signature() local
120 STREAM_TO_UINT8(op_code, p_orig); in gatt_verify_signature()
121 gatt_server_handle_client_req (p_tcb, op_code, (UINT16)(p_buf->len - 1), p_orig); in gatt_verify_signature()
Dgatt_utils.c1551 tGATT_STATUS gatt_send_error_rsp (tGATT_TCB *p_tcb, UINT8 err_code, UINT8 op_code, in gatt_send_error_rsp() argument
1558 error.cmd_code = op_code; in gatt_send_error_rsp()
2161 BOOLEAN gatt_cmd_enq(tGATT_TCB *p_tcb, UINT16 clcb_idx, BOOLEAN to_send, UINT8 op_code, BT_HDR *p_b… in gatt_cmd_enq() argument
2166 p_cmd->op_code = op_code; in gatt_cmd_enq()
2197 *p_op_code = p_cmd->op_code; in gatt_cmd_dequeue()
2215 UINT8 gatt_send_write_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, in gatt_send_write_msg() argument
2228 return attp_send_cl_msg(p_tcb, clcb_idx, op_code, &msg); in gatt_send_write_msg()
2407 UINT8 *gatt_dbg_op_name(UINT8 op_code) in gatt_dbg_op_name() argument
2409 UINT8 pseduo_op_code_idx = op_code & (~GATT_WRITE_CMD_MASK); in gatt_dbg_op_name()
2411 if (op_code == GATT_CMD_WRITE ) { in gatt_dbg_op_name()
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/eap_server/
Deap_server_wsc.c242 const u8 *buf, size_t len, u8 op_code) in eap_wsc_process_cont() argument
245 if (op_code != data->in_op_code) { in eap_wsc_process_cont()
248 op_code, data->in_op_code); in eap_wsc_process_cont()
269 u8 flags, u8 op_code, u16 message_length, in eap_wsc_process_fragment() argument
287 data->in_op_code = op_code; in eap_wsc_process_fragment()
305 u8 op_code, flags; in eap_wsc_process() local
323 op_code = *pos++; in eap_wsc_process()
342 op_code, flags, message_length); in eap_wsc_process()
345 if (op_code != WSC_FRAG_ACK) { in eap_wsc_process()
347 "in WAIT_FRAG_ACK state", op_code); in eap_wsc_process()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/include/
Dgatt_int.h142 UINT8 op_code; member
147 UINT8 op_code; member
274 UINT8 op_code; member
294 UINT8 op_code; member
354 UINT8 op_code; member
616 extern tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MS…
617 extern BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg);
622 extern UINT8 *gatt_dbg_op_name(UINT8 op_code);
637 extern tGATT_STATUS gatt_send_error_rsp(tGATT_TCB *p_tcb, UINT8 err_code, UINT8 op_code, UINT16 han…
684 …cess_app_rsp (tGATT_TCB *p_tcb, tGATT_IF gatt_if, UINT32 trans_id, UINT8 op_code, tGATT_STATUS sta…
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/wps/
Dwps_i.h199 enum wsc_op_code *op_code);
201 enum wsc_op_code op_code,
206 enum wsc_op_code *op_code);
208 enum wsc_op_code op_code,
Dwps_enrollee.c464 enum wsc_op_code *op_code) in wps_enrollee_get_msg() argument
471 *op_code = WSC_MSG; in wps_enrollee_get_msg()
475 *op_code = WSC_MSG; in wps_enrollee_get_msg()
479 *op_code = WSC_MSG; in wps_enrollee_get_msg()
483 *op_code = WSC_MSG; in wps_enrollee_get_msg()
488 *op_code = WSC_NACK; in wps_enrollee_get_msg()
492 *op_code = WSC_ACK; in wps_enrollee_get_msg()
500 *op_code = WSC_NACK; in wps_enrollee_get_msg()
504 *op_code = WSC_Done; in wps_enrollee_get_msg()
513 if (*op_code == WSC_MSG && msg) { in wps_enrollee_get_msg()
[all …]
Dwps.c208 enum wsc_op_code op_code, in wps_process_msg() argument
212 return wps_registrar_process_msg(wps, op_code, msg); in wps_process_msg()
214 return wps_enrollee_process_msg(wps, op_code, msg); in wps_process_msg()
227 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) in wps_get_msg() argument
229 return wps_registrar_get_msg(wps, op_code); in wps_get_msg()
Dwps_registrar.c2125 enum wsc_op_code *op_code) in wps_registrar_get_msg() argument
2150 *op_code = WSC_ACK; in wps_registrar_get_msg()
2153 *op_code = WSC_NACK; in wps_registrar_get_msg()
2156 *op_code = WSC_MSG; in wps_registrar_get_msg()
2178 *op_code = WSC_MSG; in wps_registrar_get_msg()
2182 *op_code = WSC_MSG; in wps_registrar_get_msg()
2186 *op_code = WSC_MSG; in wps_registrar_get_msg()
2190 *op_code = WSC_MSG; in wps_registrar_get_msg()
2194 *op_code = WSC_MSG; in wps_registrar_get_msg()
2198 *op_code = WSC_ACK; in wps_registrar_get_msg()
[all …]
Dwps.h234 enum wsc_op_code op_code,
237 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code);
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Defuse_ll.h148 EFUSE.conf.op_code = EFUSE_READ_OP_CODE; in efuse_ll_set_conf_read_op_code()
153 EFUSE.conf.op_code = EFUSE_WRITE_OP_CODE; in efuse_ll_set_conf_write_op_code()
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Defuse_ll.h151 EFUSE.conf.op_code = EFUSE_READ_OP_CODE; in efuse_ll_set_conf_read_op_code()
156 EFUSE.conf.op_code = EFUSE_WRITE_OP_CODE; in efuse_ll_set_conf_write_op_code()
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Defuse_ll.h140 EFUSE.conf.op_code = EFUSE_READ_OP_CODE; in efuse_ll_set_conf_read_op_code()
145 EFUSE.conf.op_code = EFUSE_WRITE_OP_CODE; in efuse_ll_set_conf_write_op_code()
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Defuse_ll.h151 EFUSE.conf.op_code = EFUSE_READ_OP_CODE; in efuse_ll_set_conf_read_op_code()
156 EFUSE.conf.op_code = EFUSE_WRITE_OP_CODE; in efuse_ll_set_conf_write_op_code()
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Defuse_ll.h159 EFUSE.conf.op_code = EFUSE_READ_OP_CODE; in efuse_ll_set_conf_read_op_code()
164 EFUSE.conf.op_code = EFUSE_WRITE_OP_CODE; in efuse_ll_set_conf_write_op_code()
/hal_espressif-latest/components/hal/esp32c2/include/hal/
Defuse_ll.h176 EFUSE.conf.op_code = EFUSE_READ_OP_CODE; in efuse_ll_set_conf_read_op_code()
181 EFUSE.conf.op_code = EFUSE_WRITE_OP_CODE; in efuse_ll_set_conf_write_op_code()
/hal_espressif-latest/components/hal/esp32/include/hal/
Defuse_ll.h205 EFUSE.conf.op_code = EFUSE_READ_OP_CODE; in efuse_ll_set_conf_read_op_code()
210 EFUSE.conf.op_code = EFUSE_WRITE_OP_CODE; in efuse_ll_set_conf_write_op_code()
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/
Deap_mschapv2.c41 u8 op_code; member
157 ms->op_code = MSCHAPV2_OP_RESPONSE; in eap_mschapv2_challenge_reply()
504 ms->op_code = MSCHAPV2_OP_CHANGE_PASSWORD; in eap_mschapv2_change_password()
779 switch (ms->op_code) { in eap_mschapv2_process()
790 ms->op_code); in eap_mschapv2_process()
/hal_espressif-latest/components/soc/esp32s2/include/soc/
Drtc_i2c_struct.h173 uint32_t op_code: 3; member
/hal_espressif-latest/components/soc/esp32c3/include/soc/
Drtc_i2c_struct.h172 uint32_t op_code: 3; member
/hal_espressif-latest/components/soc/esp32/include/soc/
Di2c_struct.h260 …uint32_t op_code: 3; /*op_code is the command 0:RSTART 1:WRITE 2:READ 3:ST… member

123