Home
last modified time | relevance | path

Searched refs:ies (Results 1 – 25 of 129) sorted by relevance

123456

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa.h52 int (*update_ft_ies)(void *ctx, const u8 *md, const u8 *ies,
55 const u8 *ies, size_t ies_len);
363 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len);
365 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len,
368 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len,
373 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies,
381 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument
392 static inline int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, in wpa_ft_add_mdie() argument
399 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument
415 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_validate_reassoc_resp() argument
[all …]
Dwpa_ft.c76 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument
85 if (wpa_ft_parse_ies(ies, ies_len, &ft, use_sha384) < 0) in wpa_sm_set_ft_params()
485 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument
501 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len); in wpa_ft_process_response()
525 if (wpa_ft_parse_ies(ies, ies_len, &parse, use_sha384) < 0) { in wpa_ft_process_response()
841 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, in wpa_ft_validate_reassoc_resp() argument
854 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len); in wpa_ft_validate_reassoc_resp()
867 if (wpa_ft_parse_ies(ies, ies_len, &parse, use_sha384) < 0) { in wpa_ft_validate_reassoc_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dmesh.h17 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
28 const u8 *ies, size_t ie_len);
36 const u8 *ies, size_t ie_len) in wpa_mesh_notify_peer() argument
Drrm.c688 static int wpas_get_op_chan_phy(int freq, const u8 *ies, size_t ies_len, in wpas_get_op_chan_phy() argument
697 ie = get_ie(ies, ies_len, WLAN_EID_HT_OPERATION); in wpas_get_op_chan_phy()
711 ie = get_ie(ies, ies_len, WLAN_EID_VHT_OPERATION); in wpas_get_op_chan_phy()
762 u8 *ies = *ies_buf; in wpas_beacon_rep_add_frame_body() local
811 while (ies_len > 2 && 2U + ies[1] <= ies_len && rem_len > 0) { in wpas_beacon_rep_add_frame_body()
813 (eids && bitfield_is_set(eids, ies[0]))) { in wpas_beacon_rep_add_frame_body()
814 u8 elen = ies[1]; in wpas_beacon_rep_add_frame_body()
820 *pos++ = ies[0]; in wpas_beacon_rep_add_frame_body()
822 os_memcpy(pos, ies + 2, elen); in wpas_beacon_rep_add_frame_body()
827 ies_len -= 2 + ies[1]; in wpas_beacon_rep_add_frame_body()
[all …]
Dmesh.c221 params->ies = ifmsh->mconf->rsn_ie; in wpas_mesh_complete()
406 const u8 *ies, size_t ie_len) in wpa_mesh_notify_peer() argument
413 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) { in wpa_mesh_notify_peer()
549 static int mesh_attr_text(const u8 *ies, size_t ies_len, char *buf, char *end) in mesh_attr_text() argument
556 if (ieee802_11_parse_elems(ies, ies_len, &elems, 0) == ParseFailed) in mesh_attr_text()
637 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf, in wpas_mesh_scan_result_text() argument
640 return mesh_attr_text(ies, ies_len, buf, end); in wpas_mesh_scan_result_text()
Dsme.h20 const u8 *ies, size_t ies_len);
61 const u8 *ies, size_t ies_len) in sme_update_ft_ies() argument
Dwmm_ac.c418 wmm_ac_process_param_elem(struct wpa_supplicant *wpa_s, const u8 *ies, in wmm_ac_process_param_elem() argument
427 if (ieee802_11_parse_elems(ies, ies_len, &elems, 1) == ParseFailed) { in wmm_ac_process_param_elem()
463 static int wmm_ac_init(struct wpa_supplicant *wpa_s, const u8 *ies, in wmm_ac_init() argument
474 if (!ies || !(wmm_params->info_bitmap & WMM_PARAMS_UAPSD_QUEUES_INFO)) { in wmm_ac_init()
483 assoc_data = wmm_ac_process_param_elem(wpa_s, ies, ies_len); in wmm_ac_init()
528 void wmm_ac_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *ies, in wmm_ac_notify_assoc() argument
531 if (wmm_ac_init(wpa_s, ies, ies_len, wmm_params)) in wmm_ac_notify_assoc()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dmesh.h19 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
30 const u8 *ies, size_t ie_len);
38 const u8 *ies, size_t ie_len) in wpa_mesh_notify_peer() argument
Drrm.c707 int wpas_get_op_chan_phy(int freq, const u8 *ies, size_t ies_len, in wpas_get_op_chan_phy() argument
716 ie = get_ie(ies, ies_len, WLAN_EID_HT_OPERATION); in wpas_get_op_chan_phy()
730 ie = get_ie(ies, ies_len, WLAN_EID_VHT_OPERATION); in wpas_get_op_chan_phy()
781 const u8 *ies = *ies_buf; in wpas_beacon_rep_add_frame_body() local
830 while (ies_len > 2 && 2U + ies[1] <= ies_len && rem_len > 0) { in wpas_beacon_rep_add_frame_body()
832 (eids && bitfield_is_set(eids, ies[0]))) { in wpas_beacon_rep_add_frame_body()
833 u8 elen = ies[1]; in wpas_beacon_rep_add_frame_body()
839 *pos++ = ies[0]; in wpas_beacon_rep_add_frame_body()
841 os_memcpy(pos, ies + 2, elen); in wpas_beacon_rep_add_frame_body()
846 ies_len -= 2 + ies[1]; in wpas_beacon_rep_add_frame_body()
[all …]
Dsme.h20 const u8 *ies, size_t ies_len);
61 const u8 *ies, size_t ies_len) in sme_update_ft_ies() argument
Dbss.c455 os_memcpy(bss->ies, res + 1, res->ie_len + res->beacon_ie_len); in wpa_bss_add()
682 os_memcpy(bss->ies, res + 1, res->ie_len + res->beacon_ie_len); in wpa_bss_update()
703 os_memcpy(bss->ies, res + 1, in wpa_bss_update()
1159 const u8 *ies; in wpa_bss_get_vendor_ie() local
1162 ies = wpa_bss_ie_ptr(bss); in wpa_bss_get_vendor_ie()
1164 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, bss->ie_len) { in wpa_bss_get_vendor_ie()
1189 const u8 *ies; in wpa_bss_get_vendor_ie_beacon() local
1195 ies = wpa_bss_ie_ptr(bss); in wpa_bss_get_vendor_ie_beacon()
1196 ies += bss->ie_len; in wpa_bss_get_vendor_ie_beacon()
1198 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, in wpa_bss_get_vendor_ie_beacon()
Dwmm_ac.c418 wmm_ac_process_param_elem(struct wpa_supplicant *wpa_s, const u8 *ies, in wmm_ac_process_param_elem() argument
427 if (ieee802_11_parse_elems(ies, ies_len, &elems, 1) == ParseFailed) { in wmm_ac_process_param_elem()
463 static int wmm_ac_init(struct wpa_supplicant *wpa_s, const u8 *ies, in wmm_ac_init() argument
474 if (!ies || !(wmm_params->info_bitmap & WMM_PARAMS_UAPSD_QUEUES_INFO)) { in wmm_ac_init()
483 assoc_data = wmm_ac_process_param_elem(wpa_s, ies, ies_len); in wmm_ac_init()
528 void wmm_ac_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *ies, in wmm_ac_notify_assoc() argument
531 if (wmm_ac_init(wpa_s, ies, ies_len, wmm_params)) in wmm_ac_notify_assoc()
Dmesh.c281 params->ies = ifmsh->mconf->rsn_ie; in wpas_mesh_complete()
582 const u8 *ies, size_t ie_len) in wpa_mesh_notify_peer() argument
589 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) { in wpa_mesh_notify_peer()
729 static int mesh_attr_text(const u8 *ies, size_t ies_len, char *buf, char *end) in mesh_attr_text() argument
736 if (ieee802_11_parse_elems(ies, ies_len, &elems, 0) == ParseFailed) in mesh_attr_text()
817 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf, in wpas_mesh_scan_result_text() argument
820 return mesh_attr_text(ies, ies_len, buf, end); in wpas_mesh_scan_result_text()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dieee802_11_common.c477 elems->mb_ies.ies[elems->mb_ies.nof_ies].ie = pos; in ieee802_11_parse_elems()
478 elems->mb_ies.ies[elems->mb_ies.nof_ies].ie_len = elen; in ieee802_11_parse_elems()
544 int ieee802_11_ie_count(const u8 *ies, size_t ies_len) in ieee802_11_ie_count() argument
549 if (ies == NULL) in ieee802_11_ie_count()
552 for_each_element(elem, ies, ies_len) in ieee802_11_ie_count()
559 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len, in ieee802_11_vendor_ie_concat() argument
565 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat()
584 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat()
1517 info->ies[info->nof_ies].ie = elem->data; in mb_ies_info_by_ies()
1518 info->ies[info->nof_ies].ie_len = elem->datalen; in mb_ies_info_by_ies()
[all …]
Dieee802_11_common.h29 } ies[MAX_NOF_MB_IES_SUPPORTED]; member
157 int ieee802_11_ie_count(const u8 *ies, size_t ies_len);
158 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len,
206 const u8 * get_ie(const u8 *ies, size_t len, u8 eid);
207 const u8 * get_ie_ext(const u8 *ies, size_t len, u8 ext);
208 const u8 * get_vendor_ie(const u8 *ies, size_t len, u32 vendor_type);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa.h54 int (*update_ft_ies)(void *ctx, const u8 *md, const u8 *ies,
57 const u8 *ies, size_t ies_len);
437 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len);
439 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len,
442 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len,
447 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies,
462 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument
473 static inline int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, in wpa_ft_add_mdie() argument
480 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument
496 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_validate_reassoc_resp() argument
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dieee802_11_common.c540 elems->mb_ies.ies[elems->mb_ies.nof_ies].ie = pos; in ieee802_11_parse_elems()
541 elems->mb_ies.ies[elems->mb_ies.nof_ies].ie_len = elen; in ieee802_11_parse_elems()
618 int ieee802_11_ie_count(const u8 *ies, size_t ies_len) in ieee802_11_ie_count() argument
623 if (ies == NULL) in ieee802_11_ie_count()
626 for_each_element(elem, ies, ies_len) in ieee802_11_ie_count()
633 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len, in ieee802_11_vendor_ie_concat() argument
639 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat()
658 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat()
1832 info->ies[info->nof_ies].ie = elem->data; in mb_ies_info_by_ies()
1833 info->ies[info->nof_ies].ie_len = elem->datalen; in mb_ies_info_by_ies()
[all …]
Dieee802_11_common.h30 } ies[MAX_NOF_MB_IES_SUPPORTED]; member
184 int ieee802_11_ie_count(const u8 *ies, size_t ies_len);
185 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len,
247 const u8 * get_ie(const u8 *ies, size_t len, u8 eid);
248 const u8 * get_ie_ext(const u8 *ies, size_t len, u8 ext);
249 const u8 * get_vendor_ie(const u8 *ies, size_t len, u32 vendor_type);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_dev_disc.c313 struct wpabuf *ies; in p2p_process_go_disc_req() local
317 ies = p2p_build_probe_resp_ies(p2p, NULL, 0); in p2p_process_go_disc_req()
318 if (ies == NULL) in p2p_process_go_disc_req()
325 ies) < 0) { in p2p_process_go_disc_req()
328 wpabuf_free(ies); in p2p_process_go_disc_req()
Dp2p.c257 struct wpabuf *ies; in p2p_listen_in_find() local
291 ies = p2p_build_probe_resp_ies(p2p, NULL, 0); in p2p_listen_in_find()
292 if (ies == NULL) in p2p_listen_in_find()
300 ies) < 0) { in p2p_listen_in_find()
304 wpabuf_free(ies); in p2p_listen_in_find()
311 struct wpabuf *ies; in p2p_listen() local
340 ies = p2p_build_probe_resp_ies(p2p, NULL, 0); in p2p_listen()
341 if (ies == NULL) in p2p_listen()
346 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, timeout, ies) < 0) { in p2p_listen()
349 wpabuf_free(ies); in p2p_listen()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_dev_disc.c313 struct wpabuf *ies; in p2p_process_go_disc_req() local
317 ies = p2p_build_probe_resp_ies(p2p, NULL, 0); in p2p_process_go_disc_req()
318 if (ies == NULL) in p2p_process_go_disc_req()
325 ies) < 0) { in p2p_process_go_disc_req()
328 wpabuf_free(ies); in p2p_process_go_disc_req()
Dp2p.c257 struct wpabuf *ies; in p2p_listen_in_find() local
291 ies = p2p_build_probe_resp_ies(p2p, NULL, 0); in p2p_listen_in_find()
292 if (ies == NULL) in p2p_listen_in_find()
300 ies) < 0) { in p2p_listen_in_find()
304 wpabuf_free(ies); in p2p_listen_in_find()
311 struct wpabuf *ies; in p2p_listen() local
340 ies = p2p_build_probe_resp_ies(p2p, NULL, 0); in p2p_listen()
341 if (ies == NULL) in p2p_listen()
346 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, timeout, ies) < 0) { in p2p_listen()
349 wpabuf_free(ies); in p2p_listen()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dtaxonomy.c85 static void ie_to_string(char *fstr, size_t fstr_len, const struct wpabuf *ies) in ie_to_string() argument
118 if (!ies) in ie_to_string()
120 ie = wpabuf_head(ies); in ie_to_string()
121 ie_len = wpabuf_len(ies); in ie_to_string()
Dwpa_auth.h410 u16 auth_transaction, const u8 *ies, size_t ies_len,
413 const u8 *ies, size_t ies_len),
415 u16 wpa_ft_validate_reassoc(struct wpa_state_machine *sm, const u8 *ies,
460 const u8 *ies, size_t ies_len,
462 int wpa_fils_validate_key_confirm(struct wpa_state_machine *sm, const u8 *ies,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dtaxonomy.c85 static void ie_to_string(char *fstr, size_t fstr_len, const struct wpabuf *ies) in ie_to_string() argument
118 if (!ies) in ie_to_string()
120 ie = wpabuf_head(ies); in ie_to_string()
121 ie_len = wpabuf_len(ies); in ie_to_string()

123456