Home
last modified time | relevance | path

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

1234

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa.h53 size_t ies_len);
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,
374 size_t ies_len, const u8 *src_addr);
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
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()
842 size_t ies_len, const u8 *src_addr) 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()
Dwpa_i.h275 const u8 *ies, size_t ies_len) in wpa_sm_update_ft_ies() argument
278 return sm->ctx->update_ft_ies(sm->ctx->ctx, md, ies, ies_len); in wpa_sm_update_ft_ies()
284 const u8 *ies, size_t ies_len) in wpa_sm_send_ft_action() argument
288 ies, ies_len); in wpa_sm_send_ft_action()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa.h55 size_t ies_len);
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,
448 size_t ies_len, const u8 *src_addr);
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
Dwpa_ft.c92 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument
100 if (!get_ie(ies, ies_len, WLAN_EID_MOBILITY_DOMAIN)) { in wpa_sm_set_ft_params()
112 if (wpa_ft_parse_ies(ies, ies_len, &ft, use_sha384) < 0) in wpa_sm_set_ft_params()
537 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument
553 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len); in wpa_ft_process_response()
577 if (wpa_ft_parse_ies(ies, ies_len, &parse, use_sha384) < 0) { in wpa_ft_process_response()
977 size_t ies_len, const u8 *src_addr) in wpa_ft_validate_reassoc_resp() argument
990 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len); in wpa_ft_validate_reassoc_resp()
1003 if (wpa_ft_parse_ies(ies, ies_len, &parse, use_sha384) < 0) { in wpa_ft_validate_reassoc_resp()
Dwpa_i.h327 const u8 *ies, size_t ies_len) in wpa_sm_update_ft_ies() argument
330 return sm->ctx->update_ft_ies(sm->ctx->ctx, md, ies, ies_len); in wpa_sm_update_ft_ies()
336 const u8 *ies, size_t ies_len) in wpa_sm_send_ft_action() argument
340 ies, ies_len); in wpa_sm_send_ft_action()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
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()
782 size_t ies_len = *ie_len; 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()
846 ies_len -= 2 + ies[1]; in wpas_beacon_rep_add_frame_body()
850 *ie_len = ies_len; in wpas_beacon_rep_add_frame_body()
932 size_t ies_len = bss->ie_len ? bss->ie_len : bss->beacon_ie_len; in wpas_add_beacon_rep() local
945 if (wpas_get_op_chan_phy(bss->freq, ies, ies_len, &rep.op_class, in wpas_add_beacon_rep()
961 &pos, &ies_len, idx++); in wpas_add_beacon_rep()
[all …]
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.c419 size_t ies_len) 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()
464 size_t ies_len, const struct wmm_params *wmm_params) in wmm_ac_init() argument
483 assoc_data = wmm_ac_process_param_elem(wpa_s, ies, ies_len); in wmm_ac_init()
529 size_t ies_len, const struct wmm_params *wmm_params) in wmm_ac_notify_assoc() argument
531 if (wmm_ac_init(wpa_s, ies, ies_len, wmm_params)) in wmm_ac_notify_assoc()
Dop_classes.c446 size_t ies_len; in wpas_sta_secondary_channel_offset() local
451 ies_len = bss->ie_len ? bss->ie_len : bss->beacon_ie_len; in wpas_sta_secondary_channel_offset()
452 return wpas_get_op_chan_phy(bss->freq, ies, ies_len, current, in wpas_sta_secondary_channel_offset()
Dmesh.h19 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
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()
763 size_t ies_len = *ie_len; 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()
827 ies_len -= 2 + ies[1]; in wpas_beacon_rep_add_frame_body()
831 *ie_len = ies_len; in wpas_beacon_rep_add_frame_body()
913 size_t ies_len = bss->ie_len ? bss->ie_len : bss->beacon_ie_len; in wpas_add_beacon_rep() local
926 if (wpas_get_op_chan_phy(bss->freq, ies, ies_len, &rep.op_class, in wpas_add_beacon_rep()
942 &pos, &ies_len, idx++); in wpas_add_beacon_rep()
[all …]
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.c419 size_t ies_len) 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()
464 size_t ies_len, const struct wmm_params *wmm_params) in wmm_ac_init() argument
483 assoc_data = wmm_ac_process_param_elem(wpa_s, ies, ies_len); in wmm_ac_init()
529 size_t ies_len, const struct wmm_params *wmm_params) in wmm_ac_notify_assoc() argument
531 if (wmm_ac_init(wpa_s, ies, ies_len, wmm_params)) in wmm_ac_notify_assoc()
Dwpas_glue.c606 const u8 *ies, size_t ies_len) in wpa_supplicant_update_ft_ies() argument
610 return sme_update_ft_ies(wpa_s, md, ies, ies_len); in wpa_supplicant_update_ft_ies()
611 return wpa_drv_update_ft_ies(wpa_s, md, ies, ies_len); in wpa_supplicant_update_ft_ies()
617 const u8 *ies, size_t ies_len) in wpa_supplicant_send_ft_action() argument
639 data_len = 2 + 2 * ETH_ALEN + ies_len; in wpa_supplicant_send_ft_action()
650 os_memcpy(pos, ies, ies_len); in wpa_supplicant_send_ft_action()
Dmesh.c549 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()
Dmesh.h17 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dieee802_11_common.c544 int ieee802_11_ie_count(const u8 *ies, size_t ies_len) in ieee802_11_ie_count() argument
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()
576 buf = wpabuf_alloc(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()
1502 size_t ies_len) in mb_ies_info_by_ies() argument
1511 for_each_element_id(elem, WLAN_EID_MULTI_BAND, ies_buf, ies_len) { in mb_ies_info_by_ies()
1522 if (!for_each_element_completed(elem, ies_buf, ies_len)) { in mb_ies_info_by_ies()
1523 wpa_hexdump(MSG_DEBUG, "Truncated IEs", ies_buf, ies_len); in mb_ies_info_by_ies()
Dieee802_11_common.h157 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,
186 size_t ies_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth.h410 u16 auth_transaction, const u8 *ies, size_t ies_len,
413 const u8 *ies, size_t ies_len),
416 size_t ies_len);
460 const u8 *ies, size_t ies_len,
463 size_t ies_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth.h460 u16 auth_transaction, const u8 *ies, size_t ies_len,
463 const u8 *ies, size_t ies_len),
466 size_t ies_len);
519 const u8 *ies, size_t ies_len,
522 size_t ies_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dieee802_11_common.c618 int ieee802_11_ie_count(const u8 *ies, size_t ies_len) in ieee802_11_ie_count() argument
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()
650 buf = wpabuf_alloc(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()
1817 size_t ies_len) in mb_ies_info_by_ies() argument
1826 for_each_element_id(elem, WLAN_EID_MULTI_BAND, ies_buf, ies_len) { in mb_ies_info_by_ies()
1837 if (!for_each_element_completed(elem, ies_buf, ies_len)) { in mb_ies_info_by_ies()
1838 wpa_hexdump(MSG_DEBUG, "Truncated IEs", ies_buf, ies_len); in mb_ies_info_by_ies()
Dieee802_11_common.h184 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,
226 size_t ies_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_privsep.c390 if (len < sizeof(*auth) + auth->ies_len) in wpa_driver_privsep_event_auth()
398 if (auth->ies_len) { in wpa_driver_privsep_event_auth()
400 data.auth.ies_len = auth->ies_len; in wpa_driver_privsep_event_auth()
498 data.ft_ies.ies_len = len - sizeof(int) - ETH_ALEN; in wpa_driver_privsep_event_ft_response()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_privsep.c396 if (len < sizeof(*auth) + auth->ies_len) in wpa_driver_privsep_event_auth()
404 if (auth->ies_len) { in wpa_driver_privsep_event_auth()
406 data.auth.ies_len = auth->ies_len; in wpa_driver_privsep_event_auth()
504 data.ft_ies.ies_len = len - sizeof(int) - ETH_ALEN; in wpa_driver_privsep_event_ft_response()

1234