| /freebsd/contrib/wpa/src/rsn_supp/ |
| H A D | wpa.h | 57 size_t ies_len); 59 const u8 *ies, size_t ies_len); 569 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len); 571 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, 574 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, 580 size_t ies_len, const u8 *src_addr); 594 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument 605 static inline int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, in wpa_ft_add_mdie() argument 612 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument 628 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 D | wpa_ft.c | 112 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument 119 if (!get_ie(ies, ies_len, WLAN_EID_MOBILITY_DOMAIN)) { in wpa_sm_set_ft_params() 130 if (wpa_ft_parse_ies(ies, ies_len, &ft, sm->key_mgmt, false) < 0) in wpa_sm_set_ft_params() 584 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument 600 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len); in wpa_ft_process_response() 624 if (wpa_ft_parse_ies(ies, ies_len, &parse, sm->key_mgmt, in wpa_ft_process_response() 1028 size_t ies_len, const u8 *src_addr) in wpa_ft_validate_reassoc_resp() argument 1042 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len); in wpa_ft_validate_reassoc_resp() 1055 if (wpa_ft_parse_ies(ies, ies_len, &parse, sm->key_mgmt, true) < 0) { in wpa_ft_validate_reassoc_resp()
|
| H A D | wpa_i.h | 368 const u8 *ies, size_t ies_len) in wpa_sm_update_ft_ies() argument 371 return sm->ctx->update_ft_ies(sm->ctx->ctx, md, ies, ies_len); in wpa_sm_update_ft_ies() 377 const u8 *ies, size_t ies_len) in wpa_sm_send_ft_action() argument 381 ies, ies_len); in wpa_sm_send_ft_action()
|
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | scan.h | 95 const u8 *ies, size_t ies_len, int rate, 103 int wpas_channel_width_rssi_bump(const u8 *ies, size_t ies_len, 105 int wpas_adjust_snr_by_chanwidth(const u8 *ies, size_t ies_len,
|
| H A D | scan.c | 2270 static int wpas_channel_width_tx_pwr(const u8 *ies, size_t ies_len, in wpas_channel_width_tx_pwr() argument 2278 ies_len) { in wpas_channel_width_tx_pwr() 2355 int wpas_channel_width_rssi_bump(const u8 *ies, size_t ies_len, in wpas_channel_width_rssi_bump() argument 2358 int max_20mhz_tx_pwr = wpas_channel_width_tx_pwr(ies, ies_len, in wpas_channel_width_rssi_bump() 2360 int max_cw_tx_pwr = wpas_channel_width_tx_pwr(ies, ies_len, cw); in wpas_channel_width_rssi_bump() 2368 int wpas_adjust_snr_by_chanwidth(const u8 *ies, size_t ies_len, in wpas_adjust_snr_by_chanwidth() argument 2371 int rssi_bump = wpas_channel_width_rssi_bump(ies, ies_len, max_cw); in wpas_adjust_snr_by_chanwidth() 2395 size_t ies_len; in wpa_scan_result_compar() local 2425 ies_len = wa->ie_len ? wa->ie_len : wa->beacon_ie_len; in wpa_scan_result_compar() 2427 ies_len, wa->max_cw, in wpa_scan_result_compar() [all …]
|
| H A D | rrm.c | 751 int wpas_get_op_chan_phy(int freq, const u8 *ies, size_t ies_len, in wpas_get_op_chan_phy() argument 758 if (ieee802_11_parse_elems(ies, ies_len, &elems, 1) == ParseFailed) in wpas_get_op_chan_phy() 805 size_t ies_len = *ie_len; in wpas_beacon_rep_add_frame_body() local 853 while (ies_len > 2 && 2U + ies[1] <= ies_len && rem_len > 0) { in wpas_beacon_rep_add_frame_body() 871 ies_len -= 2 + ies[1]; in wpas_beacon_rep_add_frame_body() 875 *ie_len = ies_len; in wpas_beacon_rep_add_frame_body() 958 size_t ies_len = bss->ie_len ? bss->ie_len : bss->beacon_ie_len; in wpas_add_beacon_rep() local 971 if (wpas_get_op_chan_phy(bss->freq, ies, ies_len, &rep.op_class, in wpas_add_beacon_rep() 987 &pos, &ies_len, idx++); in wpas_add_beacon_rep() 991 ies_len >= 2); in wpas_add_beacon_rep()
|
| H A D | sme.h | 20 const u8 *ies, size_t ies_len); 63 const u8 *ies, size_t ies_len) in sme_update_ft_ies() argument
|
| H A 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()
|
| H A D | mesh.h | 19 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
|
| H A D | wmm_ac.h | 164 size_t ies_len, const struct wmm_params *wmm_params);
|
| H A D | op_classes.c | 514 size_t ies_len; in wpas_sta_secondary_channel_offset() local 519 ies_len = bss->ie_len ? bss->ie_len : bss->beacon_ie_len; in wpas_sta_secondary_channel_offset() 520 return wpas_get_op_chan_phy(bss->freq, ies, ies_len, current, in wpas_sta_secondary_channel_offset()
|
| H A D | wpa_priv.c | 897 size_t buflen = sizeof(struct privsep_event_auth) + data->auth.ies_len; in wpa_priv_send_auth() 914 os_memcpy(pos, data->auth.ies, data->auth.ies_len); in wpa_priv_send_auth() 915 auth->ies_len = data->auth.ies_len; in wpa_priv_send_auth() 1026 len = sizeof(int) + ETH_ALEN + data->ft_ies.ies_len; in wpa_priv_send_ft_response() 1036 os_memcpy(pos, data->ft_ies.ies, data->ft_ies.ies_len); in wpa_priv_send_ft_response()
|
| H A D | mesh.c | 739 static int mesh_attr_text(const u8 *ies, size_t ies_len, char *buf, char *end) in mesh_attr_text() argument 746 if (ieee802_11_parse_elems(ies, ies_len, &elems, 0) == ParseFailed) in mesh_attr_text() 827 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf, in wpas_mesh_scan_result_text() argument 830 return mesh_attr_text(ies, ies_len, buf, end); in wpas_mesh_scan_result_text()
|
| H A D | wpas_glue.c | 697 const u8 *ies, size_t ies_len) in wpa_supplicant_update_ft_ies() argument 701 return sme_update_ft_ies(wpa_s, md, ies, ies_len); in wpa_supplicant_update_ft_ies() 702 return wpa_drv_update_ft_ies(wpa_s, md, ies, ies_len); in wpa_supplicant_update_ft_ies() 708 const u8 *ies, size_t ies_len) in wpa_supplicant_send_ft_action() argument 730 data_len = 2 + 2 * ETH_ALEN + ies_len; in wpa_supplicant_send_ft_action() 741 os_memcpy(pos, ies, ies_len); in wpa_supplicant_send_ft_action()
|
| H A D | robust_av.c | 951 const u8 *ies, size_t ies_len) in wpas_handle_assoc_resp_mscs() argument 958 if (!ies || ies_len == 0 || !wpa_s->robust_av.valid_config) in wpas_handle_assoc_resp_mscs() 961 mscs_desc_ie = get_ie_ext(ies, ies_len, WLAN_EID_EXT_MSCS_DESCRIPTOR); in wpas_handle_assoc_resp_mscs() 991 const u8 *ies, size_t ies_len) in wpas_handle_assoc_resp_qos_mgmt() argument 999 if (!ies || ies_len == 0 || !wpa_s->enable_dscp_policy_capa) in wpas_handle_assoc_resp_qos_mgmt() 1002 wfa_capa = get_vendor_ie(ies, ies_len, WFA_CAPA_IE_VENDOR_TYPE); in wpas_handle_assoc_resp_qos_mgmt()
|
| H A D | sme.c | 863 data->auth.ies_len - ie_offset, in wpas_sme_ml_auth() 3192 auth.ies_len = len - auth_length; in sme_external_auth_mgmt_rx() 3505 const u8 *ies, size_t ies_len, in sme_parse_802_1x_auth_frame() argument 3509 const u8 *pos = ies, *end = ies + ies_len; in sme_parse_802_1x_auth_frame() 3603 if (sme_parse_802_1x_auth_frame(wpa_s, auth->ies, auth->ies_len, &elems, in sme_process_802_1x_auth_response() 3841 data->auth.ies, data->auth.ies_len); in sme_event_auth() 3874 data->auth.ies, data->auth.ies_len, in sme_event_auth() 3965 data->auth.ies_len, 0, data->auth.peer, in sme_event_auth() 3998 if (data->auth.ies && data->auth.ies_len) { in sme_event_auth() 3999 size_t buflen = 2 * data->auth.ies_len + 1; in sme_event_auth() [all …]
|
| /freebsd/contrib/wpa/src/ap/ |
| H A D | wpa_auth.h | 583 u16 auth_transaction, const u8 *ies, size_t ies_len, 586 const u8 *ies, size_t ies_len), 589 size_t ies_len); 642 const u8 *ies, size_t ies_len, 645 size_t ies_len);
|
| H A D | wpa_auth_ft.c | 1952 const u8 *ies, size_t ies_len, in wpa_ft_pull_pmk_r1() argument 2052 ft_pending_req_ies = wpabuf_alloc_copy(ies, ies_len); in wpa_ft_pull_pmk_r1() 2409 const u8 *ies, size_t ies_len) in wpa_ft_process_rdie() argument 2417 ies, ies_len); in wpa_ft_process_rdie() 2432 if (ieee802_11_parse_elems((u8 *) ies, ies_len, &parse, 1) == in wpa_ft_process_rdie() 3132 const u8 *ies, size_t ies_len, in wpa_ft_process_auth_req() argument 3157 ies, ies_len); in wpa_ft_process_auth_req() 3159 if (wpa_ft_parse_ies(ies, ies_len, &parse, 0, false)) { in wpa_ft_process_auth_req() 3263 if (wpa_ft_pull_pmk_r1(sm, ies, ies_len, parse.rsn_pmkid) < 0) { in wpa_ft_process_auth_req() 3428 u16 auth_transaction, const u8 *ies, size_t ies_len, in wpa_ft_process_auth() argument [all …]
|
| H A D | ieee802_11.c | 358 const u8 *ies, size_t ies_len, const char *dbg) in send_auth_reply() argument 380 rlen = IEEE80211_HDRLEN + sizeof(reply->u.auth) + ies_len + ml_resp_len; in send_auth_reply() 413 if (ies && ies_len) in send_auth_reply() 414 os_memcpy(reply->u.auth.variable, ies, ies_len); in send_auth_reply() 418 os_memcpy(reply->u.auth.variable + ies_len, in send_auth_reply() 427 resp, (unsigned long) ies_len, dbg); in send_auth_reply() 469 u8 *ptr = reply->u.auth.variable + ies_len + ml_resp_len; in send_auth_reply() 547 const u8 *ies, size_t ies_len) in handle_auth_ft_finish() argument 554 auth_transaction, status, ies, ies_len, in handle_auth_ft_finish() 5317 const u8 *ies, size_t ies_len) in hapd_is_known_sta() argument [all …]
|
| /freebsd/contrib/wpa/src/drivers/ |
| H A D | driver_privsep.c | 399 if (len < sizeof(*auth) + auth->ies_len) in wpa_driver_privsep_event_auth() 407 if (auth->ies_len) { in wpa_driver_privsep_event_auth() 409 data.auth.ies_len = auth->ies_len; in wpa_driver_privsep_event_auth() 507 data.ft_ies.ies_len = len - sizeof(int) - ETH_ALEN; in wpa_driver_privsep_event_ft_response()
|
| /freebsd/contrib/wpa/src/common/ |
| H A D | ieee802_11_common.h | 237 int ieee802_11_ie_count(const u8 *ies, size_t ies_len); 238 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len, 281 size_t ies_len);
|
| H A D | privsep_commands.h | 108 size_t ies_len; member
|
| H A D | sae_pk.c | 777 int sae_check_confirm_pk(struct sae_data *sae, const u8 *ies, size_t ies_len) in sae_check_confirm_pk() argument 809 wpa_hexdump(MSG_DEBUG, "SAE-PK: Received confirm IEs", ies, ies_len); in sae_check_confirm_pk() 810 if (ieee802_11_parse_elems(ies, ies_len, &elems, 1) == ParseFailed) { in sae_check_confirm_pk()
|
| H A D | ieee802_11_common.c | 1237 int ieee802_11_ie_count(const u8 *ies, size_t ies_len) in ieee802_11_ie_count() argument 1245 for_each_element(elem, ies, ies_len) in ieee802_11_ie_count() 1252 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len, in ieee802_11_vendor_ie_concat() argument 1258 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat() 1269 buf = wpabuf_alloc(ies_len); in ieee802_11_vendor_ie_concat() 1277 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat() 2461 size_t ies_len) in mb_ies_info_by_ies() argument 2470 for_each_element_id(elem, WLAN_EID_MULTI_BAND, ies_buf, ies_len) { in mb_ies_info_by_ies() 2481 if (!for_each_element_completed(elem, ies_buf, ies_len)) { in mb_ies_info_by_ies() 2482 wpa_hexdump(MSG_DEBUG, "Truncated IEs", ies_buf, ies_len); in mb_ies_info_by_ies()
|
| /freebsd/contrib/wpa/src/p2p/ |
| H A D | p2p.h | 1959 size_t ies_len); 2232 int p2p_scan_result_text(const u8 *ies, size_t ies_len, char *buf, char *end); 2250 int p2p_parse_dev_addr(const u8 *ies, size_t ies_len, u8 *dev_addr); 2791 void p2p_process_usd_elems(struct p2p_data *p2p, const u8 *ies, u16 ies_len,
|