Lines Matching refs:ie

231 					    const u8 *ie, size_t ie_len,  in cfg80211_copy_elem_with_frags()  argument
234 if (WARN_ON((u8 *)elem < ie || elem->data > ie + ie_len || in cfg80211_copy_elem_with_frags()
235 elem->data + elem->datalen > ie + ie_len)) in cfg80211_copy_elem_with_frags()
248 ie_len = ie + ie_len - elem->data - elem->datalen; in cfg80211_copy_elem_with_frags()
249 ie = (const u8 *)elem->data + elem->datalen; in cfg80211_copy_elem_with_frags()
251 for_each_element(elem, ie, ie_len) { in cfg80211_copy_elem_with_frags()
269 cfg80211_gen_new_ie(const u8 *ie, size_t ielen, in cfg80211_gen_new_ie() argument
287 for_each_element(parent, ie, ielen) { in cfg80211_gen_new_ie()
311 ie, ielen, in cfg80211_gen_new_ie()
320 if (cfg80211_find_elem_match(id, ie, (u8 *)parent - ie, in cfg80211_gen_new_ie()
368 if (cfg80211_find_elem_match(id, ie, ielen, in cfg80211_gen_new_ie()
912 void *ie = (void *)request + offs_ies; in cfg80211_scan_6ghz() local
914 memcpy(ie, rdev_req->ie, rdev_req->ie_len); in cfg80211_scan_6ghz()
915 request->ie = ie; in cfg80211_scan_6ghz()
1694 const u8 *ie; in cfg80211_combine_bsses() local
1703 ie = cfg80211_find_ie(WLAN_EID_SSID, ies->data, ies->len); in cfg80211_combine_bsses()
1704 if (!ie) { in cfg80211_combine_bsses()
1709 ssidlen = ie[1]; in cfg80211_combine_bsses()
1711 fold |= ie[2 + i]; in cfg80211_combine_bsses()
1736 ie = cfg80211_find_ie(WLAN_EID_SSID, ies->data, ies->len); in cfg80211_combine_bsses()
1737 if (!ie) in cfg80211_combine_bsses()
1739 if (ssidlen && ie[1] != ssidlen) in cfg80211_combine_bsses()
2036 int cfg80211_get_ies_channel_number(const u8 *ie, size_t ielen, in cfg80211_get_ies_channel_number() argument
2044 tmp = cfg80211_find_ext_elem(WLAN_EID_EXT_HE_OPERATION, ie, in cfg80211_get_ies_channel_number()
2059 tmp = cfg80211_find_elem(WLAN_EID_S1G_OPERATION, ie, ielen); in cfg80211_get_ies_channel_number()
2066 tmp = cfg80211_find_elem(WLAN_EID_DS_PARAMS, ie, ielen); in cfg80211_get_ies_channel_number()
2070 tmp = cfg80211_find_elem(WLAN_EID_HT_OPERATION, ie, ielen); in cfg80211_get_ies_channel_number()
2092 cfg80211_get_bss_channel(struct wiphy *wiphy, const u8 *ie, size_t ielen, in cfg80211_get_bss_channel() argument
2099 channel_number = cfg80211_get_ies_channel_number(ie, ielen, in cfg80211_get_bss_channel()
2150 const u8 *ie; member
2239 channel = cfg80211_get_bss_channel(wiphy, data->ie, data->ielen, in cfg80211_inform_single_bss_data()
2245 !cfg80211_6ghz_power_type_valid(data->ie, data->ielen, in cfg80211_inform_single_bss_data()
2311 memcpy(ies->data, data->ie, data->ielen); in cfg80211_inform_single_bss_data()
2361 *cfg80211_get_profile_continuation(const u8 *ie, size_t ielen, in cfg80211_get_profile_continuation() argument
2371 ielen - (mbssid_end - ie)); in cfg80211_get_profile_continuation()
2403 size_t cfg80211_merge_profile(const u8 *ie, size_t ielen, in cfg80211_merge_profile() argument
2416 while ((next_mbssid = cfg80211_get_profile_continuation(ie, ielen, in cfg80211_merge_profile()
2457 tx_data->ie, tx_data->ielen)) in cfg80211_parse_mbssid_data()
2463 tx_data->ie, tx_data->ielen)) in cfg80211_parse_mbssid_data()
2475 tx_data->ie, tx_data->ielen) { in cfg80211_parse_mbssid_data()
2498 profile_len = cfg80211_merge_profile(tx_data->ie, in cfg80211_parse_mbssid_data()
2533 data.ie = new_ie; in cfg80211_parse_mbssid_data()
2534 data.ielen = cfg80211_gen_new_ie(tx_data->ie, in cfg80211_parse_mbssid_data()
2635 cfg80211_defrag_mle(const struct element *mle, const u8 *ie, size_t ielen, in cfg80211_defrag_mle() argument
2661 mle_len = cfg80211_defragment_element(mle, ie, ielen, in cfg80211_defrag_mle()
2671 ie = res->data + common_size; in cfg80211_defrag_mle()
2676 ie, ielen) { in cfg80211_defrag_mle()
2684 if (!for_each_element_completed(elem, ie, ielen)) in cfg80211_defrag_mle()
2700 buf_len = ielen + ie - (u8 *)elem; in cfg80211_defrag_mle()
2777 cfg80211_rnr_info_for_mld_ap(const u8 *ie, size_t ielen, u8 mld_id, u8 link_id, in cfg80211_rnr_info_for_mld_ap() argument
2786 cfg80211_iter_rnr(ie, ielen, cfg802121_mld_ap_rnr_iter, &data); in cfg80211_rnr_info_for_mld_ap()
2946 mle = cfg80211_defrag_mle(elem, tx_data->ie, tx_data->ielen, gfp); in cfg80211_parse_ml_elem_sta_data()
2965 ssid_elem = cfg80211_find_elem(WLAN_EID_SSID, tx_data->ie, in cfg80211_parse_ml_elem_sta_data()
3022 use_for = cfg80211_rnr_info_for_mld_ap(tx_data->ie, in cfg80211_parse_ml_elem_sta_data()
3084 data.ie = new_ie; in cfg80211_parse_ml_elem_sta_data()
3085 data.ielen = cfg80211_gen_new_ie(tx_data->ie, tx_data->ielen, in cfg80211_parse_ml_elem_sta_data()
3158 tx_data->ie, tx_data->ielen) in cfg80211_parse_ml_sta_data()
3168 u16 beacon_interval, const u8 *ie, size_t ielen, in cfg80211_inform_bss_data() argument
3177 .ie = ie, in cfg80211_inform_bss_data()
3216 const u8 *ie; in cfg80211_inform_bss_frame_data() local
3249 ie = mgmt->u.probe_resp.variable; in cfg80211_inform_bss_frame_data()
3255 ie = ext->u.s1g_short_beacon.variable; in cfg80211_inform_bss_frame_data()
3257 ie = ext->u.s1g_beacon.variable; in cfg80211_inform_bss_frame_data()
3259 elem = cfg80211_find_elem(WLAN_EID_S1G_BCN_COMPAT, ie, ielen); in cfg80211_inform_bss_frame_data()
3285 beacon_interval, ie, ielen, in cfg80211_inform_bss_frame_data()
3657 const u8 *ie; in ieee80211_bss() local
3739 ie = ies->data; in ieee80211_bss()
3743 if (ie[1] > rem - 2) in ieee80211_bss()
3746 switch (ie[0]) { in ieee80211_bss()
3750 iwe.u.data.length = ie[1]; in ieee80211_bss()
3755 (u8 *)ie + 2); in ieee80211_bss()
3762 iwe.u.data.length = ie[1]; in ieee80211_bss()
3767 (u8 *)ie + 2); in ieee80211_bss()
3773 if (ie[1] != sizeof(struct ieee80211_meshconf_ie)) in ieee80211_bss()
3775 cfg = (u8 *)ie + 2; in ieee80211_bss()
3852 for (i = 0; i < ie[1]; i++) { in ieee80211_bss()
3854 ((ie[i + 2] & 0x7f) * 500000); in ieee80211_bss()
3867 rem -= ie[1] + 2; in ieee80211_bss()
3868 ie += ie[1] + 2; in ieee80211_bss()