/hal_espressif-latest/components/wpa_supplicant/src/common/ |
D | rrm.c | 791 const struct rrm_measurement_beacon_request *req, in wpas_rm_handle_beacon_req() argument 804 if (len < sizeof(*req)) in wpas_rm_handle_beacon_req() 807 if (req->mode != BEACON_REPORT_MODE_PASSIVE && in wpas_rm_handle_beacon_req() 808 req->mode != BEACON_REPORT_MODE_ACTIVE && in wpas_rm_handle_beacon_req() 809 req->mode != BEACON_REPORT_MODE_TABLE) in wpas_rm_handle_beacon_req() 812 subelems = req->variable; in wpas_rm_handle_beacon_req() 813 elems_len = len - sizeof(*req); in wpas_rm_handle_beacon_req() 814 rand_interval = le_to_host16(req->rand_interval); in wpas_rm_handle_beacon_req() 823 os_memcpy(data->bssid, req->bssid, ETH_ALEN); in wpas_rm_handle_beacon_req() 847 if (req->mode == BEACON_REPORT_MODE_TABLE) { in wpas_rm_handle_beacon_req() [all …]
|
/hal_espressif-latest/components/wpa_supplicant/src/eap_server/ |
D | eap_server_wsc.c | 119 struct wpabuf *req; in eap_wsc_build_start() local 121 req = eap_msg_alloc(EAP_VENDOR_WFA, EAP_VENDOR_TYPE_WSC, 2, in eap_wsc_build_start() 123 if (req == NULL) { in eap_wsc_build_start() 130 wpabuf_put_u8(req, WSC_Start); /* Op-Code */ in eap_wsc_build_start() 131 wpabuf_put_u8(req, 0); /* Flags */ in eap_wsc_build_start() 133 return req; in eap_wsc_build_start() 139 struct wpabuf *req; in eap_wsc_build_msg() local 156 req = eap_msg_alloc(EAP_VENDOR_WFA, EAP_VENDOR_TYPE_WSC, plen, in eap_wsc_build_msg() 158 if (req == NULL) { in eap_wsc_build_msg() 164 wpabuf_put_u8(req, data->out_op_code); /* Op-Code */ in eap_wsc_build_msg() [all …]
|
D | eap_server_identity.c | 56 struct wpabuf *req; in eap_identity_buildReq() local 67 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, req_data_len, in eap_identity_buildReq() 69 if (req == NULL) { in eap_identity_buildReq() 76 wpabuf_put_data(req, req_data, req_data_len); in eap_identity_buildReq() 78 return req; in eap_identity_buildReq()
|
/hal_espressif-latest/components/esp_common/ |
D | CMakeLists.txt | 40 foreach(req ${optional_reqs}) 41 if(req IN_LIST build_components) 42 idf_component_get_property(req_lib ${req} COMPONENT_LIB)
|
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/ |
D | esp_wpa3.c | 681 wifi_mgmt_frm_req_t *req = os_zalloc(sizeof(*req) + ies_len); in esp_send_sae_auth_reply() local 682 if (!req) { in esp_send_sae_auth_reply() 686 ((uint16_t *)req->data)[0] = htole16(auth_alg); in esp_send_sae_auth_reply() 687 ((uint16_t *)req->data)[1] = htole16(auth_transaction); in esp_send_sae_auth_reply() 688 ((uint16_t *)req->data)[2] = htole16(resp); in esp_send_sae_auth_reply() 689 os_memcpy(&((uint16_t *)req->data)[3], ies, ies_len - 3 * sizeof(uint16_t)); in esp_send_sae_auth_reply() 691 req->ifx = WIFI_IF_AP; in esp_send_sae_auth_reply() 692 req->subtype = (WLAN_FC_STYPE_AUTH << 4); in esp_send_sae_auth_reply() 693 req->data_len = ies_len; in esp_send_sae_auth_reply() 694 os_memcpy(req->da, bssid, ETH_ALEN); in esp_send_sae_auth_reply() [all …]
|
D | esp_dpp.c | 108 wifi_action_tx_req_t *req = os_zalloc(sizeof(*req) + len);; in esp_dpp_send_action_frame() local 109 if (!req) { in esp_dpp_send_action_frame() 113 req->ifx = WIFI_IF_STA; in esp_dpp_send_action_frame() 114 memcpy(req->dest_mac, dest_mac, ETH_ALEN); in esp_dpp_send_action_frame() 115 req->no_ack = false; in esp_dpp_send_action_frame() 116 req->data_len = len; in esp_dpp_send_action_frame() 117 req->rx_cb = s_action_rx_cb; in esp_dpp_send_action_frame() 118 memcpy(req->data, buf, req->data_len); in esp_dpp_send_action_frame() 124 wait_time_ms, req)) { in esp_dpp_send_action_frame() 127 os_free(req); in esp_dpp_send_action_frame() [all …]
|
D | esp_common.c | 789 wifi_mgmt_frm_req_t *req = os_zalloc(sizeof(*req) + data_len);; in wpa_drv_send_action() local 790 if (!req) in wpa_drv_send_action() 799 req->ifx = WIFI_IF_STA; in wpa_drv_send_action() 800 req->subtype = (WLAN_FC_STYPE_ACTION << 4); in wpa_drv_send_action() 801 req->data_len = data_len; in wpa_drv_send_action() 802 os_memcpy(req->data, data, req->data_len); in wpa_drv_send_action() 804 if (esp_wifi_send_mgmt_frm_internal(req) != 0) { in wpa_drv_send_action() 812 os_free(req); in wpa_drv_send_action()
|
D | esp_wifi_driver.h | 282 esp_err_t esp_wifi_send_mgmt_frm_internal(const wifi_mgmt_frm_req_t *req); 285 uint32_t wait_time_ms, const wifi_action_tx_req_t *req);
|
D | esp_eap_client.c | 527 struct wpabuf *req = NULL; in eap_sm_rx_eapol_internal() local 585 req = wpabuf_alloc_copy((u8 *)ehdr, len - sizeof(*hdr)); in eap_sm_rx_eapol_internal() 586 ret = eap_sm_process_request(sm, req); in eap_sm_rx_eapol_internal() 613 wpabuf_free(req); in eap_sm_rx_eapol_internal()
|
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/ |
D | eap_mschapv2.c | 223 struct eap_method_ret *ret, const struct eap_mschapv2_hdr *req, in eap_mschapv2_challenge() argument 234 if (req_len < sizeof(*req) + 1) { in eap_mschapv2_challenge() 240 pos = (const u8 *)(req + 1); in eap_mschapv2_challenge() 242 len = req_len - sizeof(*req) - 1; in eap_mschapv2_challenge() 274 return eap_mschapv2_challenge_reply(sm, data, id, req->mschapv2_id, in eap_mschapv2_challenge() 313 const struct eap_mschapv2_hdr *req, in eap_mschapv2_success() argument 321 len = req_len - sizeof(*req); in eap_mschapv2_success() 322 pos = (const u8 *) (req + 1); in eap_mschapv2_success() 473 struct eap_method_ret *ret, const struct eap_mschapv2_hdr *req, u8 id) in eap_mschapv2_change_password() argument 505 ms->mschapv2_id = req->mschapv2_id + 1; in eap_mschapv2_change_password() [all …]
|
D | eap_peap.c | 498 const struct wpabuf *req, struct wpabuf **resp, in eap_tlv_process() argument 508 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TLV, req, &left); in eap_tlv_process() 542 *resp = eap_tlv_build_nak(eap_get_id(req), in eap_tlv_process() 618 eap_get_id(req), resp_status); in eap_tlv_process() 656 struct wpabuf *req, in eap_peap_phase2_request() argument 659 struct eap_hdr *hdr = wpabuf_mhead(req); in eap_peap_phase2_request() 677 if (eap_tlv_process(sm, data, &iret, req, resp, in eap_peap_phase2_request() 698 req, &eleft); in eap_peap_phase2_request() 774 &iret, req); in eap_peap_phase2_request() 806 const struct eap_hdr *req, in eap_peap_decrypt() argument [all …]
|
D | eap_fast.c | 1516 const struct eap_hdr *req; in eap_fast_process() local 1530 req = wpabuf_head(reqData); in eap_fast_process() 1531 id = req->identifier; in eap_fast_process()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | lpn.c | 194 struct bt_mesh_ctl_friend_clear req = { in send_friend_clear() local 201 return bt_mesh_ctl_send(&tx, TRANS_CTL_OP_FRIEND_CLEAR, &req, in send_friend_clear() 202 sizeof(req), &clear_sent_cb, NULL); in send_friend_clear() 317 struct bt_mesh_ctl_friend_req req = { in send_friend_req() local 328 return bt_mesh_ctl_send(&tx, TRANS_CTL_OP_FRIEND_REQ, &req, in send_friend_req() 329 sizeof(req), &friend_req_sent_cb, NULL); in send_friend_req() 675 struct bt_mesh_ctl_friend_sub req = {0}; in sub_update() local 704 req.addr_list[g++] = sys_cpu_to_be16(lpn->groups[i]); in sub_update() 707 if (g == ARRAY_SIZE(req.addr_list)) { in sub_update() 717 req.xact = lpn->xact_next++; in sub_update() [all …]
|
D | friend.c | 822 struct bt_mesh_ctl_friend_clear req = { in send_friend_clear() local 834 bt_mesh_ctl_send(&tx, TRANS_CTL_OP_FRIEND_CLEAR, &req, in send_friend_clear() 835 sizeof(req), &clear_sent_cb, frnd); in send_friend_clear()
|
/hal_espressif-latest/components/esp_wifi/wifi_apps/include/ |
D | esp_nan.h | 126 uint8_t esp_wifi_nan_datapath_req(wifi_nan_datapath_req_t *req); 151 esp_err_t esp_wifi_nan_datapath_end(wifi_nan_datapath_end_req_t *req);
|
/hal_espressif-latest/components/esp_wifi/wifi_apps/src/ |
D | nan_app.c | 960 uint8_t esp_wifi_nan_datapath_req(wifi_nan_datapath_req_t *req) in esp_wifi_nan_datapath_req() argument 965 struct peer_svc_info *p_peer_svc = nan_find_peer_svc(0, req->pub_id, req->peer_mac); in esp_wifi_nan_datapath_req() 971 if (req->pub_id == 0) in esp_wifi_nan_datapath_req() 972 req->pub_id = p_peer_svc->svc_id; in esp_wifi_nan_datapath_req() 983 if (!MACADDR_EQUAL(req->peer_mac, null_mac)) { in esp_wifi_nan_datapath_req() 984 MACADDR_COPY(req->peer_mac, p_peer_svc->peer_nmi); in esp_wifi_nan_datapath_req() 987 if (esp_nan_internal_datapath_req(req, &ndp_id) != ESP_OK) { in esp_wifi_nan_datapath_req() 992 nan_record_new_ndl(ndp_id, req->pub_id, req->peer_mac, ESP_WIFI_NDP_ROLE_INITIATOR); in esp_wifi_nan_datapath_req() 995 ESP_LOGD(TAG, "Requested NDP with "MACSTR" [NDP ID - %d]", MAC2STR(req->peer_mac), ndp_id); in esp_wifi_nan_datapath_req() 1044 esp_err_t esp_wifi_nan_datapath_end(wifi_nan_datapath_end_req_t *req) in esp_wifi_nan_datapath_end() argument [all …]
|
/hal_espressif-latest/zephyr/port/wifi/ |
D | wifi_stubs.c | 382 esp_err_t esp_wifi_send_mgmt_frm_internal(const wifi_mgmt_frm_req_t *req) in esp_wifi_send_mgmt_frm_internal() argument 384 ARG_UNUSED(req); in esp_wifi_send_mgmt_frm_internal() 394 const wifi_action_tx_req_t *req) in esp_wifi_action_tx_req() argument 399 ARG_UNUSED(req); in esp_wifi_action_tx_req() 794 esp_err_t esp_nan_internal_datapath_req(wifi_nan_datapath_req_t *req, uint8_t *ndp_id) in esp_nan_internal_datapath_req() argument 796 ARG_UNUSED(req); in esp_nan_internal_datapath_req() 807 esp_err_t esp_nan_internal_datapath_end(wifi_nan_datapath_end_req_t *req) in esp_nan_internal_datapath_end() argument 809 ARG_UNUSED(req); in esp_nan_internal_datapath_end()
|
/hal_espressif-latest/components/esp_wifi/include/esp_private/ |
D | wifi.h | 730 esp_err_t esp_nan_internal_datapath_req(wifi_nan_datapath_req_t *req, uint8_t *ndp_id); 756 esp_err_t esp_nan_internal_datapath_end(wifi_nan_datapath_end_req_t *req);
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/ |
D | gatt_main.c | 1035 tGATTS_SRV_CHG_REQ req; in gatt_add_a_bonded_dev_for_srv_chg() local 1041 memcpy(req.srv_chg.bda, bda, BD_ADDR_LEN); in gatt_add_a_bonded_dev_for_srv_chg() 1042 req.srv_chg.srv_changed = FALSE; in gatt_add_a_bonded_dev_for_srv_chg() 1044 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_ADD_CLIENT, &req, NULL); in gatt_add_a_bonded_dev_for_srv_chg() 1119 tGATTS_SRV_CHG_REQ req; in gatt_init_srv_chg() local 1134 req.client_read_index = i; in gatt_init_srv_chg() 1135 …tatus = (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_READ_CLENT, &req, &rsp)) == TRUE) { in gatt_init_srv_chg()
|
D | gatt_utils.c | 169 tGATTS_SRV_CHG_REQ req; in gatt_delete_dev_from_srv_chg_clt_list() local 175 memcpy(req.srv_chg.bda, bd_addr, BD_ADDR_LEN); in gatt_delete_dev_from_srv_chg_clt_list() 176 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_REMOVE_CLIENT, &req, NULL); in gatt_delete_dev_from_srv_chg_clt_list() 210 tGATTS_SRV_CHG_REQ req; in gatt_set_srv_chg() local 211 memcpy(&req.srv_chg, p_buf, sizeof(tGATTS_SRV_CHG)); in gatt_set_srv_chg() 213 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_UPDATE_CLIENT,&req, NULL); in gatt_set_srv_chg()
|
D | gatt_sr.c | 1622 tGATTS_SRV_CHG_REQ req; in gatts_proc_srv_chg_ind_ack() local 1630 memcpy(&req.srv_chg, p_buf, sizeof(tGATTS_SRV_CHG)); in gatts_proc_srv_chg_ind_ack() 1632 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_UPDATE_CLIENT, &req, NULL); in gatts_proc_srv_chg_ind_ack()
|
/hal_espressif-latest/components/wpa_supplicant/src/tls/ |
D | tlsv1_server_read.c | 50 const u8 *req, size_t req_len) in tls_process_status_request_item() argument 55 pos = req; in tls_process_status_request_item() 56 end = req + req_len; in tls_process_status_request_item()
|