Home
last modified time | relevance | path

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

/net/wireless/
Dscan.c120 struct cfg80211_bss_ies *ies; in bss_free() local
125 ies = (void *)rcu_access_pointer(bss->pub.beacon_ies); in bss_free()
126 if (ies && !bss->pub.hidden_beacon_bss) in bss_free()
127 kfree_rcu(ies, rcu_head); in bss_free()
128 ies = (void *)rcu_access_pointer(bss->pub.proberesp_ies); in bss_free()
129 if (ies) in bss_free()
130 kfree_rcu(ies, rcu_head); in bss_free()
420 const struct cfg80211_bss_ies *ies; in is_bss() local
429 ies = rcu_access_pointer(a->ies); in is_bss()
430 if (!ies) in is_bss()
[all …]
Dutil.c997 const struct cfg80211_bss_ies *ies; in ieee80211_bss_get_elem() local
999 ies = rcu_dereference(bss->ies); in ieee80211_bss_get_elem()
1000 if (!ies) in ieee80211_bss_get_elem()
1003 return cfg80211_find_elem(id, ies->data, ies->len); in ieee80211_bss_get_elem()
1784 int cfg80211_get_p2p_attr(const u8 *ies, unsigned int len, in cfg80211_get_p2p_attr() argument
1800 iedatalen = ies[1]; in cfg80211_get_p2p_attr()
1804 if (ies[0] != WLAN_EID_VENDOR_SPECIFIC) in cfg80211_get_p2p_attr()
1810 iedata = ies + 2; in cfg80211_get_p2p_attr()
1873 len -= ies[1] + 2; in cfg80211_get_p2p_attr()
1874 ies += ies[1] + 2; in cfg80211_get_p2p_attr()
[all …]
Dsme.c510 const u8 *ies, size_t ies_len, in cfg80211_sme_get_conn_ies() argument
518 (ies && cfg80211_find_ie(WLAN_EID_EXT_CAPABILITY, ies, ies_len))) { in cfg80211_sme_get_conn_ies()
519 *out_ies = kmemdup(ies, ies_len, GFP_KERNEL); in cfg80211_sme_get_conn_ies()
542 offs = ieee80211_ie_split(ies, ies_len, before_extcapa, in cfg80211_sme_get_conn_ies()
544 memcpy(buf, ies, offs); in cfg80211_sme_get_conn_ies()
547 ies + offs, ies_len - offs); in cfg80211_sme_get_conn_ies()
Dnl80211.c5804 const u8 *ies = bcn->tail; in nl80211_calculate_ap_params() local
5808 rates = cfg80211_find_elem(WLAN_EID_SUPP_RATES, ies, ies_len); in nl80211_calculate_ap_params()
5811 rates = cfg80211_find_elem(WLAN_EID_EXT_SUPP_RATES, ies, ies_len); in nl80211_calculate_ap_params()
5814 cap = cfg80211_find_elem(WLAN_EID_HT_CAPABILITY, ies, ies_len); in nl80211_calculate_ap_params()
5817 cap = cfg80211_find_elem(WLAN_EID_VHT_CAPABILITY, ies, ies_len); in nl80211_calculate_ap_params()
5820 cap = cfg80211_find_ext_elem(WLAN_EID_EXT_HE_CAPABILITY, ies, ies_len); in nl80211_calculate_ap_params()
5823 cap = cfg80211_find_ext_elem(WLAN_EID_EXT_HE_OPERATION, ies, ies_len); in nl80211_calculate_ap_params()
5826 cap = cfg80211_find_ext_elem(WLAN_EID_EXT_EHT_CAPABILITY, ies, ies_len); in nl80211_calculate_ap_params()
5836 cap = cfg80211_find_ext_elem(WLAN_EID_EXT_EHT_OPERATION, ies, ies_len); in nl80211_calculate_ap_params()
10356 const struct cfg80211_bss_ies *ies; in nl80211_send_bss() local
[all …]
Drdev-ops.h412 const struct cfg80211_bss_ies *ies, in rdev_inform_bss() argument
418 rdev->ops->inform_bss(&rdev->wiphy, bss, ies, drv_data); in rdev_inform_bss()
Dtrace.h3705 __dynamic_array(u8, ies, ft_event->ies_len)
3712 if (ft_event->ies)
3713 memcpy(__get_dynamic_array(ies), ft_event->ies,
/net/mac80211/
Dfils_aead.c221 u8 *capab, *ies, *encr; in fils_encrypt_assoc_req() local
229 ies = mgmt->u.reassoc_req.variable; in fils_encrypt_assoc_req()
232 ies = mgmt->u.assoc_req.variable; in fils_encrypt_assoc_req()
236 ies, skb->data + skb->len - ies); in fils_encrypt_assoc_req()
273 u8 *capab, *ies, *encr; in fils_decrypt_assoc_resp() local
284 ies = mgmt->u.assoc_resp.variable; in fils_decrypt_assoc_resp()
286 ies, frame + *frame_len - ies); in fils_decrypt_assoc_resp()
Dmlme.c2767 const struct cfg80211_bss_ies *ies; in ieee80211_link_set_associated() local
2770 ies = rcu_dereference(cbss->ies); in ieee80211_link_set_associated()
2771 if (ies) { in ieee80211_link_set_associated()
2775 ies->data, ies->len, in ieee80211_link_set_associated()
4096 const struct cfg80211_bss_ies *ies; in ieee80211_assoc_config_link() local
4100 ies = rcu_dereference(cbss->ies); in ieee80211_assoc_config_link()
4101 if (ies) in ieee80211_assoc_config_link()
4102 bss_ies = kmemdup(ies, sizeof(*ies) + ies->len, in ieee80211_assoc_config_link()
4209 const struct cfg80211_bss_ies *ies; in ieee80211_assoc_config_link() local
4218 ies = rcu_dereference(cbss->ies); in ieee80211_assoc_config_link()
[all …]
Dscan.c65 const struct cfg80211_bss_ies *ies, in ieee80211_inform_bss() argument
79 elems = ieee802_11_parse_elems(ies->data, ies->len, false, NULL); in ieee80211_inform_bss()
378 &local->hw_scan_req->ies, in ieee80211_prep_hw_scan()
690 u8 *ies; in __ieee80211_start_scan() local
723 ies = (u8 *)local->hw_scan_req + in __ieee80211_start_scan()
726 local->hw_scan_req->req.ie = ies; in __ieee80211_start_scan()
Dibss.c403 const struct cfg80211_bss_ies *ies; in ieee80211_sta_join_ibss() local
467 ies = rcu_dereference(cbss->ies); in ieee80211_sta_join_ibss()
468 tsf = ies->tsf; in ieee80211_sta_join_ibss()
486 const struct cfg80211_bss_ies *ies; in ieee80211_ibss_csa_beacon() local
504 ies = rcu_dereference(cbss->ies); in ieee80211_ibss_csa_beacon()
505 tsf = ies->tsf; in ieee80211_ibss_csa_beacon()
Ddriver-ops.h293 struct ieee80211_scan_ies *ies) in drv_sched_scan_start() argument
304 req, ies); in drv_sched_scan_start()
Dieee80211_i.h1946 const struct cfg80211_bss_ies *ies, void *data);
2481 size_t ieee80211_ie_split_vendor(const u8 *ies, size_t ielen, size_t offset);
Dutil.c2190 ie_desc->ies[i] = buffer + old_pos; in ieee80211_build_preq_ies()
3100 size_t ieee80211_ie_split_vendor(const u8 *ies, size_t ielen, size_t offset) in ieee80211_ie_split_vendor() argument
3104 while (pos < ielen && ies[pos] != WLAN_EID_VENDOR_SPECIFIC) in ieee80211_ie_split_vendor()
3105 pos += 2 + ies[pos + 1]; in ieee80211_ie_split_vendor()