Home
last modified time | relevance | path

Searched refs:ies (Results 1 – 25 of 81) sorted by relevance

1234

/freebsd/contrib/wpa/wpa_supplicant/
H A Dmesh.h19 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 Drrm.c716 ie = get_ie(ies, ies_len, WLAN_EID_HT_OPERATION); in wpas_get_op_chan_phy()
781 const u8 *ies = *ies_buf; in wpas_beacon_rep_add_frame_body() local
832 (eids && bitfield_is_set(eids, ies[0]))) { in wpas_beacon_rep_add_frame_body()
833 u8 elen = ies[1]; in wpas_beacon_rep_add_frame_body()
839 *pos++ = ies[0]; in wpas_beacon_rep_add_frame_body()
841 os_memcpy(pos, ies + 2, elen); in wpas_beacon_rep_add_frame_body()
846 ies_len -= 2 + ies[1]; in wpas_beacon_rep_add_frame_body()
847 ies += 2 + ies[1]; in wpas_beacon_rep_add_frame_body()
851 *ies_buf = ies; in wpas_beacon_rep_add_frame_body()
930 const u8 *ies = wpa_bss_ie_ptr(bss); in wpas_add_beacon_rep() local
[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() argument
H A Dbss.c455 os_memcpy(bss->ies, res + 1, res->ie_len + res->beacon_ie_len); in wpa_bss_add()
682 os_memcpy(bss->ies, res + 1, res->ie_len + res->beacon_ie_len); in wpa_bss_update()
703 os_memcpy(bss->ies, res + 1, in wpa_bss_update()
1159 const u8 *ies; in wpa_bss_get_vendor_ie() local
1162 ies = wpa_bss_ie_ptr(bss); in wpa_bss_get_vendor_ie()
1164 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, bss->ie_len) { in wpa_bss_get_vendor_ie()
1189 const u8 *ies; in wpa_bss_get_vendor_ie_beacon() local
1195 ies = wpa_bss_ie_ptr(bss); in wpa_bss_get_vendor_ie_beacon()
1196 ies += bss->ie_len; in wpa_bss_get_vendor_ie_beacon()
1198 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, in wpa_bss_get_vendor_ie_beacon()
H A Dwmm_ac.c418 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 Dmesh.c281 params->ies = ifmsh->mconf->rsn_ie; in wpas_mesh_complete()
582 const u8 *ies, size_t ie_len) in wpa_mesh_notify_peer() argument
589 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) { in wpa_mesh_notify_peer()
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()
H A Dbss.h125 u8 ies[]; member
130 return bss->ies; in wpa_bss_ie_ptr()
H A Dmesh_mpm.c1134 const u8 *ies; in mesh_mpm_action_rx() local
1148 ies = mgmt->u.action.u.slf_prot_action.variable; in mesh_mpm_action_rx()
1163 WPA_GET_LE16(ies)); in mesh_mpm_action_rx()
1164 ies += 2; /* capability */ in mesh_mpm_action_rx()
1168 aid = WPA_GET_LE16(ies); in mesh_mpm_action_rx()
1170 ies += 2; /* aid */ in mesh_mpm_action_rx()
1175 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) { in mesh_mpm_action_rx()
1250 ies, ie_len); in mesh_mpm_action_rx()
H A Dscan.c1954 const u8 *ies; in wpa_scan_get_vendor_ie() local
1957 ies = (const u8 *) (res + 1); in wpa_scan_get_vendor_ie()
1984 const u8 *ies; in wpa_scan_get_vendor_ie_beacon() local
1990 ies = (const u8 *) (res + 1); in wpa_scan_get_vendor_ie_beacon()
1991 ies += res->ie_len; in wpa_scan_get_vendor_ie_beacon()
2493 const u8 *ies, size_t ies_len, int rate, in wpas_get_est_tpt() argument
2545 ie = get_ie(ies, ies_len, WLAN_EID_HT_CAP); in wpas_get_est_tpt()
2555 ie = get_ie(ies, ies_len, WLAN_EID_HT_OPERATION); in wpas_get_est_tpt()
2566 ie = get_ie(ies, ies_len, WLAN_EID_VHT_CAP); in wpas_get_est_tpt()
2574 ie = get_ie(ies, ies_len, WLAN_EID_HT_OPERATION); in wpas_get_est_tpt()
[all …]
H A Dop_classes.c444 const u8 *ies; in wpas_sta_secondary_channel_offset() local
450 ies = wpa_bss_ie_ptr(bss); 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()
H A Dwmm_ac.h163 void wmm_ac_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *ies,
H A Ddriver_i.h333 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()
1040 const u8 *ies, size_t len) in wpa_drv_set_default_scan_ies() argument
1044 return wpa_s->driver->set_default_scan_ies(wpa_s->drv_priv, ies, len); in wpa_drv_set_default_scan_ies()
H A Drobust_av.c525 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()
/freebsd/contrib/wpa/src/rsn_supp/
H A Dwpa.h54 int (*update_ft_ies)(void *ctx, const u8 *md, const u8 *ies,
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,
447 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies,
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
516 void wpa_tdls_ap_ies(struct wpa_sm *sm, const u8 *ies, size_t len);
[all …]
H A 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()
976 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, 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()
H A 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()
/freebsd/sys/net80211/
H A Dieee80211_node.c1125 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/contrib/wpa/src/common/
H A Dieee802_11_common.c623 if (ies == NULL) in ieee802_11_ie_count()
626 for_each_element(elem, ies, ies_len) in ieee802_11_ie_count()
1832 info->ies[info->nof_ies].ie = elem->data; in mb_ies_info_by_ies()
1857 mb_ies_size += 2 + info->ies[i].ie_len; in mb_ies_by_info()
1863 wpabuf_put_u8(mb_ies, info->ies[i].ie_len); in mb_ies_by_info()
1865 info->ies[i].ie, in mb_ies_by_info()
1866 info->ies[i].ie_len); in mb_ies_by_info()
1984 if (!ies) in get_ie()
1987 for_each_element_id(elem, eid, ies, len) in get_ie()
2008 if (!ies) in get_ie_ext()
[all …]
H A Dieee802_11_common.h30 } ies[MAX_NOF_MB_IES_SUPPORTED]; member
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,
247 const u8 * get_ie(const u8 *ies, size_t len, u8 eid);
248 const u8 * get_ie_ext(const u8 *ies, size_t len, u8 ext);
249 const u8 * get_vendor_ie(const u8 *ies, size_t len, u32 vendor_type);
/freebsd/contrib/wpa/src/p2p/
H A Dp2p_dev_disc.c313 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 Dp2p.c257 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()
304 wpabuf_free(ies); in p2p_listen_in_find()
311 struct wpabuf *ies; in p2p_listen() local
341 if (ies == NULL) in p2p_listen()
349 wpabuf_free(ies); in p2p_listen()
352 wpabuf_free(ies); in p2p_listen()
2481 if (ies == NULL) in p2p_reply_probe()
2496 wpabuf_free(ies); in p2p_reply_probe()
[all …]
/freebsd/contrib/wpa/src/ap/
H A Dtaxonomy.c85 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 Dwpa_auth.h460 u16 auth_transaction, const u8 *ies, size_t ies_len,
463 const u8 *ies, size_t ies_len),
465 int wpa_ft_validate_reassoc(struct wpa_state_machine *sm, const u8 *ies,
519 const u8 *ies, size_t ies_len,
521 int wpa_fils_validate_key_confirm(struct wpa_state_machine *sm, const u8 *ies,
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dscan.c708 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/contrib/wpa/src/drivers/
H A Ddriver.h1611 const u8 *ies; member
2883 int (*update_ft_ies)(void *priv, const u8 *md, const u8 *ies,
4442 const u8 *ies, size_t ies_len);
4465 int (*set_default_scan_ies)(void *priv, const u8 *ies, size_t ies_len);
5519 const u8 *ies; member
5545 const u8 *ies; member
5923 const u8 *ies; member

1234