| /freebsd-14.2/contrib/wpa/wpa_supplicant/ |
| H A D | mesh.h | 19 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
|
| H A D | rrm.c | 787 const u8 *ies = *ies_buf; in wpas_beacon_rep_add_frame_body() local 839 (ext_eids && ies[0] == WLAN_EID_EXTENSION && ies[1] && in wpas_beacon_rep_add_frame_body() 840 bitfield_is_set(ext_eids, ies[2]))) { in wpas_beacon_rep_add_frame_body() 841 u8 elen = ies[1]; in wpas_beacon_rep_add_frame_body() 847 *pos++ = ies[0]; in wpas_beacon_rep_add_frame_body() 849 os_memcpy(pos, ies + 2, elen); in wpas_beacon_rep_add_frame_body() 854 ies_len -= 2 + ies[1]; in wpas_beacon_rep_add_frame_body() 855 ies += 2 + ies[1]; in wpas_beacon_rep_add_frame_body() 859 *ies_buf = ies; in wpas_beacon_rep_add_frame_body() 939 const u8 *ies = wpa_bss_ie_ptr(bss); in wpas_add_beacon_rep() local [all …]
|
| 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 | 298 struct wpabuf *ies = NULL; in wpa_supplicant_trigger_scan() local 312 if (ies) { in wpa_supplicant_trigger_scan() 318 if (ies) { in wpa_supplicant_trigger_scan() 319 wpabuf_free(ies); in wpa_supplicant_trigger_scan() 2125 const u8 *ies; in wpa_scan_get_vendor_ie() local 2128 ies = (const u8 *) (res + 1); in wpa_scan_get_vendor_ie() 2155 const u8 *ies; in wpa_scan_get_vendor_ie_beacon() local 2161 ies = (const u8 *) (res + 1); in wpa_scan_get_vendor_ie_beacon() 2162 ies += res->ie_len; in wpa_scan_get_vendor_ie_beacon() 3088 ies, ies_len, CHAN_WIDTH_40); in wpas_get_est_tpt() [all …]
|
| H A D | bss.c | 775 os_memcpy(bss->ies, res + 1, in wpa_bss_update() 1242 const u8 *ies; in wpa_bss_get_ie_beacon() local 1247 ies = wpa_bss_ie_ptr(bss); in wpa_bss_get_ie_beacon() 1248 ies += bss->ie_len; in wpa_bss_get_ie_beacon() 1249 return get_ie(ies, bss->beacon_ie_len, ie); in wpa_bss_get_ie_beacon() 1279 const u8 *ies; in wpa_bss_get_vendor_ie() local 1282 ies = wpa_bss_ie_ptr(bss); in wpa_bss_get_vendor_ie() 1309 const u8 *ies; in wpa_bss_get_vendor_ie_beacon() local 1315 ies = wpa_bss_ie_ptr(bss); in wpa_bss_get_vendor_ie_beacon() 1316 ies += bss->ie_len; in wpa_bss_get_vendor_ie_beacon() [all …]
|
| H A D | sme.h | 20 const u8 *ies, size_t ies_len); 60 const u8 *ies, size_t ies_len) in sme_update_ft_ies() argument
|
| H A D | wmm_ac.c | 418 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()
|
| H A D | mesh.c | 282 params->ies = ifmsh->mconf->rsn_ie; in wpas_mesh_complete() 583 const u8 *ies, size_t ie_len) in wpa_mesh_notify_peer() argument 590 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) { in wpa_mesh_notify_peer() 735 static int mesh_attr_text(const u8 *ies, size_t ies_len, char *buf, char *end) in mesh_attr_text() argument 742 if (ieee802_11_parse_elems(ies, ies_len, &elems, 0) == ParseFailed) in mesh_attr_text() 823 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf, in wpas_mesh_scan_result_text() argument 826 return mesh_attr_text(ies, ies_len, buf, end); in wpas_mesh_scan_result_text()
|
| H A D | bss.h | 144 u8 ies[]; member 149 return bss->ies; in wpa_bss_ie_ptr()
|
| H A D | mesh_mpm.c | 1165 const u8 *ies; in mesh_mpm_action_rx() local 1179 ies = mgmt->u.action.u.slf_prot_action.variable; in mesh_mpm_action_rx() 1194 WPA_GET_LE16(ies)); in mesh_mpm_action_rx() 1195 ies += 2; /* capability */ in mesh_mpm_action_rx() 1199 aid = WPA_GET_LE16(ies); in mesh_mpm_action_rx() 1201 ies += 2; /* aid */ in mesh_mpm_action_rx() 1206 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) { in mesh_mpm_action_rx() 1281 ies, ie_len); in mesh_mpm_action_rx()
|
| H A D | wmm_ac.h | 163 void wmm_ac_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *ies,
|
| H A D | driver_i.h | 337 const u8 *ies, size_t ies_len) in wpa_drv_update_ft_ies() argument 341 ies, ies_len); in wpa_drv_update_ft_ies() 1030 const u8 *ies, size_t ies_len) in wpa_drv_p2p_lo_start() argument 1036 dev_types_len, ies, ies_len); in wpa_drv_p2p_lo_start() 1047 const u8 *ies, size_t len) in wpa_drv_set_default_scan_ies() argument 1051 return wpa_s->driver->set_default_scan_ies(wpa_s->drv_priv, ies, len); in wpa_drv_set_default_scan_ies()
|
| H A D | op_classes.c | 510 const u8 *ies; in wpas_sta_secondary_channel_offset() local 516 ies = wpa_bss_ie_ptr(bss); in wpas_sta_secondary_channel_offset() 518 return wpas_get_op_chan_phy(bss->freq, ies, ies_len, current, in wpas_sta_secondary_channel_offset()
|
| /freebsd-14.2/contrib/wpa/src/rsn_supp/ |
| H A D | wpa.h | 56 int (*update_ft_ies)(void *ctx, const u8 *md, const u8 *ies, 59 const u8 *ies, size_t ies_len); 488 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len); 490 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, 493 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, 498 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, 513 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument 524 static inline int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, in wpa_ft_add_mdie() argument 531 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument 568 void wpa_tdls_ap_ies(struct wpa_sm *sm, const u8 *ies, size_t len); [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() 1021 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, in wpa_ft_validate_reassoc_resp() argument 1036 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len); in wpa_ft_validate_reassoc_resp() 1049 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 | 340 const u8 *ies, size_t ies_len) in wpa_sm_update_ft_ies() argument 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() argument 353 ies, ies_len); in wpa_sm_send_ft_action()
|
| /freebsd-14.2/contrib/wpa/src/common/ |
| H A D | ieee802_11_common.h | 29 } ies[MAX_NOF_MB_IES_SUPPORTED]; member 207 int ieee802_11_ie_count(const u8 *ies, size_t ies_len); 208 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len, 272 const u8 * get_ie(const u8 *ies, size_t len, u8 eid); 273 const u8 * get_ie_ext(const u8 *ies, size_t len, u8 ext); 274 const u8 * get_vendor_ie(const u8 *ies, size_t len, u32 vendor_type); 370 const u8 * get_ml_ie(const u8 *ies, size_t len, u8 type);
|
| H A D | ieee802_11_common.c | 1115 if (ies == NULL) in ieee802_11_ie_count() 1118 for_each_element(elem, ies, ies_len) in ieee802_11_ie_count() 2345 info->ies[info->nof_ies].ie = elem->data; in mb_ies_info_by_ies() 2370 mb_ies_size += 2 + info->ies[i].ie_len; in mb_ies_by_info() 2378 info->ies[i].ie, in mb_ies_by_info() 2379 info->ies[i].ie_len); in mb_ies_by_info() 2506 if (!ies) in get_ie() 2509 for_each_element_id(elem, eid, ies, len) in get_ie() 2530 if (!ies) in get_ie_ext() 2533 for_each_element_extid(elem, ext, ies, len) in get_ie_ext() [all …]
|
| /freebsd-14.2/sys/net80211/ |
| H A D | ieee80211_node.c | 1125 if (ies->data != NULL && ies->len != len) { in ieee80211_ies_init() 1128 ies->data = NULL; in ieee80211_ies_init() 1134 ies->len = 0; in ieee80211_ies_init() 1140 ies->len = len; in ieee80211_ies_init() 1165 ie = ies->data; in ieee80211_ies_expand() 1166 ielen = ies->len; in ieee80211_ies_expand() 1172 __func__, ies, ies->data, ies->len, in ieee80211_ies_expand() 1179 ies->wpa_ie = ie; in ieee80211_ies_expand() 1181 ies->wme_ie = ie; in ieee80211_ies_expand() 1184 ies->ath_ie = ie; in ieee80211_ies_expand() [all …]
|
| /freebsd-14.2/contrib/wpa/src/p2p/ |
| H A D | p2p_dev_disc.c | 313 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()
|
| H A D | p2p.c | 257 struct wpabuf *ies; in p2p_listen_in_find() local 292 if (ies == NULL) in p2p_listen_in_find() 300 ies) < 0) { in p2p_listen_in_find() 306 wpabuf_free(ies); in p2p_listen_in_find() 313 struct wpabuf *ies; in p2p_listen() local 343 if (ies == NULL) in p2p_listen() 351 wpabuf_free(ies); in p2p_listen() 355 wpabuf_free(ies); in p2p_listen() 2515 if (ies == NULL) in p2p_reply_probe() 2530 wpabuf_free(ies); in p2p_reply_probe() [all …]
|
| /freebsd-14.2/contrib/wpa/src/ap/ |
| H A D | taxonomy.c | 85 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()
|
| H A D | wpa_auth.h | 524 u16 auth_transaction, const u8 *ies, size_t ies_len, 527 const u8 *ies, size_t ies_len), 529 int wpa_ft_validate_reassoc(struct wpa_state_machine *sm, const u8 *ies, 583 const u8 *ies, size_t ies_len, 585 int wpa_fils_validate_key_confirm(struct wpa_state_machine *sm, const u8 *ies,
|
| /freebsd-14.2/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | scan.c | 708 memcpy(newpos, ies, len); in iwl_mvm_copy_and_insert_ds_elem() 717 memcpy(newpos, ies, offs); in iwl_mvm_copy_and_insert_ds_elem() 749 struct ieee80211_scan_ies *ies, in iwl_mvm_build_scan_probe() argument 783 ies->ies[NL80211_BAND_2GHZ], in iwl_mvm_build_scan_probe() 784 ies->len[NL80211_BAND_2GHZ], in iwl_mvm_build_scan_probe() 790 memcpy(pos, ies->ies[NL80211_BAND_5GHZ], in iwl_mvm_build_scan_probe() 797 memcpy(pos, ies->ies[NL80211_BAND_6GHZ], in iwl_mvm_build_scan_probe() 803 memcpy(pos, ies->common_ies, ies->common_ie_len); in iwl_mvm_build_scan_probe() 836 (ies->common_ie_len + in iwl_mvm_scan_fits() 837 ies->len[NL80211_BAND_2GHZ] + in iwl_mvm_scan_fits() [all …]
|
| /freebsd-14.2/contrib/wpa/src/drivers/ |
| H A D | driver.h | 964 const u8 *ies; member 1877 const u8 *ies; member 3390 int (*update_ft_ies)(void *priv, const u8 *md, const u8 *ies, 5015 const u8 *ies, size_t ies_len); 5038 int (*set_default_scan_ies)(void *priv, const u8 *ies, size_t ies_len); 6246 const u8 *ies; member 6272 const u8 *ies; member 6689 const u8 *ies; member
|