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/
H A 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
[all...]
H A Dwpa_ft.c73 * @ies_len: Length of ies buffer in octets
76 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()
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()
841 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, const u8 *src_addr) wpa_ft_validate_reassoc_resp() argument
H A Dwpa_i.h275 const u8 *ies, size_t ies_len) in wpa_sm_update_ft_ies()
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()
288 ies, ies_len); in wpa_sm_send_ft_action()
274 wpa_sm_update_ft_ies(struct wpa_sm *sm, const u8 *md, const u8 *ies, size_t ies_len) wpa_sm_update_ft_ies() argument
282 wpa_sm_send_ft_action(struct wpa_sm *sm, u8 action, const u8 *target_ap, const u8 *ies, size_t ies_len) wpa_sm_send_ft_action() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
H A Dwpa.h59 size_t ies_len);
61 const u8 *ies, size_t ies_len);
480 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len);
482 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len,
485 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len,
491 size_t ies_len, const u8 *src_addr);
505 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument
516 static inline int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, in wpa_ft_add_mdie() argument
523 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument
539 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_validate_reassoc_resp() argument
[all...]
H A Dwpa_ft.c93 * @ies_len: Length of ies buffer in octets
96 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument
104 if (!get_ie(ies, ies_len, WLAN_EID_MOBILITY_DOMAIN)) { in wpa_sm_set_ft_params()
116 if (wpa_ft_parse_ies(ies, ies_len, &ft, use_sha384) < 0) in wpa_sm_set_ft_params()
545 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len,
561 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len);
585 if (wpa_ft_parse_ies(ies, ies_len, &parse, use_sha384) < 0) {
997 size_t ies_len, const u8 *src_addr)
1010 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len);
1023 if (wpa_ft_parse_ies(ies, ies_len,
[all...]
H A Dwpa_i.h340 const u8 *ies, size_t ies_len) in wpa_sm_update_ft_ies()
343 return sm->ctx->update_ft_ies(sm->ctx->ctx, md, ies, ies_len); in wpa_sm_update_ft_ies()
349 const u8 *ies, size_t ies_len) in wpa_sm_send_ft_action()
353 ies, ies_len); in wpa_sm_send_ft_action()
339 wpa_sm_update_ft_ies(struct wpa_sm *sm, const u8 *md, const u8 *ies, size_t ies_len) wpa_sm_update_ft_ies() argument
347 wpa_sm_send_ft_action(struct wpa_sm *sm, u8 action, const u8 *target_ap, const u8 *ies, size_t ies_len) wpa_sm_send_ft_action() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A 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, in wpas_add_beacon_rep()
[all...]
H A Dsme.h20 const u8 *ies, size_t ies_len);
61 const u8 *ies, size_t ies_len) in sme_update_ft_ies()
60 sme_update_ft_ies(struct wpa_supplicant *wpa_s, const u8 *md, const u8 *ies, size_t ies_len) sme_update_ft_ies() argument
H A Dwmm_ac.c419 size_t ies_len) in wmm_ac_process_param_elem()
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()
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()
531 if (wmm_ac_init(wpa_s, ies, ies_len, wmm_params)) in wmm_ac_notify_assoc()
418 wmm_ac_process_param_elem(struct wpa_supplicant *wpa_s, const u8 *ies, size_t ies_len) wmm_ac_process_param_elem() argument
463 wmm_ac_init(struct wpa_supplicant *wpa_s, const u8 *ies, size_t ies_len, const struct wmm_params *wmm_params) wmm_ac_init() argument
528 wmm_ac_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *ies, size_t ies_len, const struct wmm_params *wmm_params) wmm_ac_notify_assoc() argument
H A Dmesh.h17 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
H A 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()
H A Dwmm_ac.h164 size_t ies_len, const struct wmm_params *wmm_params);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Drrm.c710 int wpas_get_op_chan_phy(int freq, const u8 *ies, size_t ies_len, in wpas_get_op_chan_phy() argument
719 ie = get_ie(ies, ies_len, WLAN_EID_HT_OPERATION); in wpas_get_op_chan_phy()
733 ie = get_ie(ies, ies_len, WLAN_EID_VHT_OPERATION); in wpas_get_op_chan_phy()
785 size_t ies_len = *ie_len; in wpas_beacon_rep_add_frame_body() local
833 while (ies_len > 2 && 2U + ies[1] <= ies_len && rem_len > 0) { in wpas_beacon_rep_add_frame_body()
849 ies_len -= 2 + ies[1]; in wpas_beacon_rep_add_frame_body()
853 *ie_len = ies_len; in wpas_beacon_rep_add_frame_body()
935 size_t ies_len = bss->ie_len ? bss->ie_len : bss->beacon_ie_len; in wpas_add_beacon_rep() local
948 if (wpas_get_op_chan_phy(bss->freq, ies, ies_len, in wpas_add_beacon_rep()
[all...]
H A Dsme.h20 const u8 *ies, size_t ies_len);
61 const u8 *ies, size_t ies_len) in sme_update_ft_ies()
60 sme_update_ft_ies(struct wpa_supplicant *wpa_s, const u8 *md, const u8 *ies, size_t ies_len) sme_update_ft_ies() argument
H A Dwmm_ac.c419 size_t ies_len) in wmm_ac_process_param_elem()
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()
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()
531 if (wmm_ac_init(wpa_s, ies, ies_len, wmm_params)) in wmm_ac_notify_assoc()
418 wmm_ac_process_param_elem(struct wpa_supplicant *wpa_s, const u8 *ies, size_t ies_len) wmm_ac_process_param_elem() argument
463 wmm_ac_init(struct wpa_supplicant *wpa_s, const u8 *ies, size_t ies_len, const struct wmm_params *wmm_params) wmm_ac_init() argument
528 wmm_ac_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *ies, size_t ies_len, const struct wmm_params *wmm_params) wmm_ac_notify_assoc() argument
H A Dmesh.h19 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
H A Dwmm_ac.h164 size_t ies_len, const struct wmm_params *wmm_params);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A 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/src/common/
H A 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()
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()
1501 mb_ies_info_by_ies(struct mb_ies_info *info, const u8 *ies_buf, size_t ies_len) mb_ies_info_by_ies() argument
[all...]
H A 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_standard/src/ap/
H A Dwpa_auth.h462 u16 auth_transaction, const u8 *ies, size_t ies_len,
465 const u8 *ies, size_t ies_len),
468 size_t ies_len);
521 const u8 *ies, size_t ies_len,
524 size_t ies_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A 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/
H A 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dieee802_11_common.c759 int ieee802_11_ie_count(const u8 *ies, size_t ies_len) in ieee802_11_ie_count() argument
767 for_each_element(elem, ies, ies_len) in ieee802_11_ie_count()
774 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len, in ieee802_11_vendor_ie_concat() argument
780 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat()
791 buf = wpabuf_alloc(ies_len); in ieee802_11_vendor_ie_concat()
799 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat()
1958 size_t ies_len) in mb_ies_info_by_ies()
1967 for_each_element_id(elem, WLAN_EID_MULTI_BAND, ies_buf, ies_len) { in mb_ies_info_by_ies()
1978 if (!for_each_element_completed(elem, ies_buf, ies_len)) { in mb_ies_info_by_ies()
1979 wpa_hexdump(MSG_DEBUG, "Truncated IEs", ies_buf, ies_len); in mb_ies_info_by_ies()
1957 mb_ies_info_by_ies(struct mb_ies_info *info, const u8 *ies_buf, size_t ies_len) mb_ies_info_by_ies() argument
[all...]
H A Dieee802_11_common.h234 int ieee802_11_ie_count(const u8 *ies, size_t ies_len);
235 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len,
276 size_t ies_len);

Completed in 24 milliseconds

1234