| /freebsd-12-stable/contrib/wpa/src/rsn_supp/ |
| D | wpa.h | 55 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
|
| D | wpa_ft.c | 92 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()
|
| D | wpa_i.h | 327 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()
|
| /freebsd-12-stable/contrib/wpa/wpa_supplicant/ |
| D | rrm.c | 707 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 …]
|
| D | sme.h | 20 const u8 *ies, size_t ies_len); 61 const u8 *ies, size_t ies_len) in sme_update_ft_ies() argument
|
| D | wmm_ac.c | 419 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()
|
| D | op_classes.c | 446 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()
|
| D | mesh.h | 19 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
|
| D | wmm_ac.h | 164 size_t ies_len, const struct wmm_params *wmm_params);
|
| D | robust_av.c | 525 const u8 *ies, size_t ies_len) in wpas_handle_assoc_resp_mscs() argument 532 if (!ies || ies_len == 0 || !wpa_s->robust_av.valid_config) in wpas_handle_assoc_resp_mscs() 535 mscs_desc_ie = get_ie_ext(ies, ies_len, WLAN_EID_EXT_MSCS_DESCRIPTOR); in wpas_handle_assoc_resp_mscs() 567 const u8 *ies, size_t ies_len) in wpas_handle_assoc_resp_qos_mgmt() argument 575 if (!ies || ies_len == 0 || !wpa_s->enable_dscp_policy_capa) in wpas_handle_assoc_resp_qos_mgmt() 578 wfa_capa = get_vendor_ie(ies, ies_len, WFA_CAPA_IE_VENDOR_TYPE); in wpas_handle_assoc_resp_qos_mgmt()
|
| D | wpas_glue.c | 651 const u8 *ies, size_t ies_len) in wpa_supplicant_update_ft_ies() argument 655 return sme_update_ft_ies(wpa_s, md, ies, ies_len); in wpa_supplicant_update_ft_ies() 656 return wpa_drv_update_ft_ies(wpa_s, md, ies, ies_len); in wpa_supplicant_update_ft_ies() 662 const u8 *ies, size_t ies_len) in wpa_supplicant_send_ft_action() argument 684 data_len = 2 + 2 * ETH_ALEN + ies_len; in wpa_supplicant_send_ft_action() 695 os_memcpy(pos, ies, ies_len); in wpa_supplicant_send_ft_action()
|
| D | wpa_priv.c | 893 size_t buflen = sizeof(struct privsep_event_auth) + data->auth.ies_len; in wpa_priv_send_auth() 910 os_memcpy(pos, data->auth.ies, data->auth.ies_len); in wpa_priv_send_auth() 911 auth->ies_len = data->auth.ies_len; in wpa_priv_send_auth() 1022 len = sizeof(int) + ETH_ALEN + data->ft_ies.ies_len; in wpa_priv_send_ft_response() 1032 os_memcpy(pos, data->ft_ies.ies, data->ft_ies.ies_len); in wpa_priv_send_ft_response()
|
| D | mesh.c | 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()
|
| D | scan.h | 88 const u8 *ies, size_t ies_len, int rate,
|
| D | sme.c | 1558 data->auth.ies, data->auth.ies_len); in sme_event_auth() 1567 data->auth.ies_len, 0, data->auth.peer); in sme_event_auth() 1584 if (data->auth.ies && data->auth.ies_len) { in sme_event_auth() 1585 size_t buflen = 2 * data->auth.ies_len + 1; in sme_event_auth() 1589 data->auth.ies_len); in sme_event_auth() 1649 data->auth.ies_len, 0, in sme_event_auth() 1689 data->auth.ies, data->auth.ies_len) < 0) { in sme_event_auth() 2144 const u8 *ies, size_t ies_len) in sme_update_ft_ies() argument 2156 wpa_hexdump(MSG_DEBUG, "SME: FT IEs", ies, ies_len); in sme_update_ft_ies() 2158 wpa_s->sme.ft_ies = os_memdup(ies, ies_len); in sme_update_ft_ies() [all …]
|
| D | wps_supplicant.h | 48 int wpas_wps_scan_result_text(const u8 *ies, size_t ies_len, char *pos,
|
| D | driver_i.h | 333 const u8 *ies, size_t ies_len) in wpa_drv_update_ft_ies() argument 337 ies, ies_len); in wpa_drv_update_ft_ies() 1023 const u8 *ies, size_t ies_len) in wpa_drv_p2p_lo_start() argument 1029 dev_types_len, ies, ies_len); in wpa_drv_p2p_lo_start()
|
| /freebsd-12-stable/contrib/wpa/src/ap/ |
| D | wpa_auth.h | 460 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);
|
| D | wpa_auth_ft.c | 1931 const u8 *ies, size_t ies_len, in wpa_ft_pull_pmk_r1() argument 2031 ft_pending_req_ies = wpabuf_alloc_copy(ies, ies_len); in wpa_ft_pull_pmk_r1() 2376 const u8 *ies, size_t ies_len) in wpa_ft_process_rdie() argument 2384 ies, ies_len); in wpa_ft_process_rdie() 2399 if (ieee802_11_parse_elems((u8 *) ies, ies_len, &parse, 1) == in wpa_ft_process_rdie() 3053 const u8 *ies, size_t ies_len, in wpa_ft_process_auth_req() argument 3078 ies, ies_len); in wpa_ft_process_auth_req() 3080 if (wpa_ft_parse_ies(ies, ies_len, &parse, -1)) { in wpa_ft_process_auth_req() 3170 if (wpa_ft_pull_pmk_r1(sm, ies, ies_len, parse.rsn_pmkid) < 0) { in wpa_ft_process_auth_req() 3267 u16 auth_transaction, const u8 *ies, size_t ies_len, in wpa_ft_process_auth() argument [all …]
|
| /freebsd-12-stable/contrib/wpa/src/common/ |
| D | ieee802_11_common.c | 618 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()
|
| D | ieee802_11_common.h | 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, 226 size_t ies_len);
|
| D | privsep_commands.h | 108 size_t ies_len; member
|
| D | sae_pk.c | 771 int sae_check_confirm_pk(struct sae_data *sae, const u8 *ies, size_t ies_len) in sae_check_confirm_pk() argument 803 wpa_hexdump(MSG_DEBUG, "SAE-PK: Received confirm IEs", ies, ies_len); in sae_check_confirm_pk() 804 if (ieee802_11_parse_elems(ies, ies_len, &elems, 1) == ParseFailed) { in sae_check_confirm_pk()
|
| /freebsd-12-stable/contrib/wpa/src/drivers/ |
| D | driver_privsep.c | 396 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()
|
| /freebsd-12-stable/contrib/wpa/src/p2p/ |
| D | p2p.h | 1627 size_t ies_len); 1893 int p2p_scan_result_text(const u8 *ies, size_t ies_len, char *buf, char *end); 1911 int p2p_parse_dev_addr(const u8 *ies, size_t ies_len, u8 *dev_addr);
|