Home
last modified time | relevance | path

Searched refs:ies_len (Results 1 – 19 of 19) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/
Dwpa.h65 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len);
67 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len,
70 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len,
76 size_t ies_len, const u8 *src_addr);
83 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument
94 static inline int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, in wpa_ft_add_mdie() argument
101 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument
117 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_validate_reassoc_resp() argument
Dwpa_ft.c63 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument
70 if (!get_ie(ies, ies_len, WLAN_EID_MOBILITY_DOMAIN)) { in wpa_sm_set_ft_params()
82 if (wpa_ft_parse_ies(ies, ies_len, &ft) < 0) in wpa_sm_set_ft_params()
414 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument
427 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len); in wpa_ft_process_response()
451 if (wpa_ft_parse_ies(ies, ies_len, &parse) < 0) { in wpa_ft_process_response()
715 size_t ies_len, const u8 *src_addr) argument
723 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len);
736 if (wpa_ft_parse_ies(ies, ies_len, &parse) < 0) {
Dwpa_i.h170 const u8 *ies, size_t ies_len, bool auth_ie);
174 const u8 *ies, size_t ies_len) in wpa_sm_send_ft_action() argument
/hal_espressif-latest/components/wpa_supplicant/src/common/
Dieee802_11_common.c40 int ieee802_11_ie_count(const u8 *ies, size_t ies_len) in ieee802_11_ie_count() argument
48 for_each_element(elem, ies, ies_len) in ieee802_11_ie_count()
314 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len, in ieee802_11_vendor_ie_concat() argument
320 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat()
331 buf = wpabuf_alloc(ies_len); in ieee802_11_vendor_ie_concat()
339 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat()
Dieee802_11_common.h45 int ieee802_11_ie_count(const u8 *ies, size_t ies_len);
46 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len,
Drrm.c384 static int wpas_get_op_chan_phy(int channel, const u8 *ies, size_t ies_len, in wpas_get_op_chan_phy() argument
391 ie = get_ie(ies, ies_len, WLAN_EID_HT_OPERATION); in wpas_get_op_chan_phy()
417 size_t ies_len = *ie_len; in wpas_beacon_rep_add_frame_body() local
465 while (ies_len > 2 && 2U + ies[1] <= ies_len && rem_len > 0) { in wpas_beacon_rep_add_frame_body()
481 ies_len -= 2 + ies[1]; in wpas_beacon_rep_add_frame_body()
485 *ie_len = ies_len; in wpas_beacon_rep_add_frame_body()
567 size_t ies_len = bss->ie_len ? bss->ie_len : bss->beacon_ie_len; in wpas_add_beacon_rep() local
580 if (wpas_get_op_chan_phy(bss->channel, ies, ies_len, &rep.op_class, in wpas_add_beacon_rep()
597 &pos, &ies_len, idx++); in wpas_add_beacon_rep()
601 ies_len >= 2); in wpas_add_beacon_rep()
Dsae_pk.c610 int sae_check_confirm_pk(struct sae_data *sae, const u8 *ies, size_t ies_len) in sae_check_confirm_pk() argument
645 wpa_hexdump(MSG_DEBUG, "SAE-PK: Received confirm IEs", ies, ies_len); in sae_check_confirm_pk()
646 ieee802_11_parse_elems(wpa_s, ies, ies_len); in sae_check_confirm_pk()
Dwpa_supplicant_i.h165 const u8 * mbo_get_attr_from_ies(const u8 *ies, size_t ies_len,
Dwpa_common.h406 int wpa_insert_pmkid(u8 *ies, size_t *ies_len, const u8 *pmkid);
429 int wpa_ft_parse_ies(const u8 *ies, size_t ies_len, struct wpa_ft_ies *parse);
Dwpa_common.c138 int wpa_ft_parse_ies(const u8 *ies, size_t ies_len, in wpa_ft_parse_ies() argument
152 end = ies + ies_len; in wpa_ft_parse_ies()
1251 int wpa_insert_pmkid(u8 *ies, size_t *ies_len, const u8 *pmkid) in wpa_insert_pmkid() argument
1257 end = ies + *ies_len; in wpa_insert_pmkid()
1344 *ies_len += added; in wpa_insert_pmkid()
Dsae.h173 int sae_check_confirm_pk(struct sae_data *sae, const u8 *ies, size_t ies_len);
Dmbo.c61 const u8 * mbo_get_attr_from_ies(const u8 *ies, size_t ies_len, in mbo_get_attr_from_ies() argument
66 mbo_ie = get_vendor_ie(ies, ies_len, MBO_IE_VENDOR_TYPE); in mbo_get_attr_from_ies()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_common.c749 const u8 *ies, size_t ies_len, bool auth_ie) in wpa_sm_update_ft_ies() argument
751 wpa_printf(MSG_INFO, "Updating FT IEs (len=%d)", ies_len); in wpa_sm_update_ft_ies()
757 esp_wifi_set_appie_internal(WIFI_APPIE_RAM_STA_AUTH, (u8 *)ies, ies_len, 0); in wpa_sm_update_ft_ies()
759 esp_set_assoc_ie(sm->bssid, ies, ies_len, false); in wpa_sm_update_ft_ies()
761 wpa_printf(MSG_INFO, "Updated FT IEs (len=%d) auth_ie=%d", ies_len, auth_ie); in wpa_sm_update_ft_ies()
867 void esp_set_assoc_ie(uint8_t *bssid, const u8 *ies, size_t ies_len, bool mdie) in esp_set_assoc_ie() argument
875 ie = os_malloc(ASSOC_IE_LEN + ies_len); in esp_set_assoc_ie()
901 if (ies_len) { in esp_set_assoc_ie()
902 os_memcpy(pos, ies, ies_len); in esp_set_assoc_ie()
903 pos += ies_len; in esp_set_assoc_ie()
[all …]
Desp_common_i.h47 void esp_set_assoc_ie(uint8_t *bssid, const u8 *ies, size_t ies_len, bool add_mdie);
Desp_wpa3_i.h63 const u8 *ies, size_t ies_len);
Desp_wpa3.c676 const u8 *ies, size_t ies_len) in esp_send_sae_auth_reply() argument
679 ies_len += 3 * sizeof(uint16_t); in esp_send_sae_auth_reply()
681 wifi_mgmt_frm_req_t *req = os_zalloc(sizeof(*req) + ies_len); 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()
693 req->data_len = ies_len; in esp_send_sae_auth_reply()
Desp_wpa_main.c290 …ps_sta(struct hostapd_data *hapd, struct sta_info *sta_info, u8 *ies, u8 ies_len, bool *pmf_enable… in check_n_add_wps_sta() argument
292 struct wpabuf *wps_ie = ieee802_11_vendor_ie_concat(ies, ies_len, WPS_DEV_OUI_WFA); in check_n_add_wps_sta()
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dwpa_auth.h278 u16 auth_transaction, const u8 *ies, size_t ies_len,
281 const u8 *ies, size_t ies_len),
284 size_t ies_len);
Dwpa_auth_i.h129 const u8 *ies, size_t ies_len);