Home
last modified time | relevance | path

Searched refs:iftd (Results 1 – 7 of 7) sorted by relevance

/net/wireless/
Dcore.c883 const struct ieee80211_sband_iftype_data *iftd; in wiphy_register() local
888 iftd = &sband->iftype_data[i]; in wiphy_register()
890 if (WARN_ON(!iftd->types_mask)) in wiphy_register()
892 if (WARN_ON(types & iftd->types_mask)) in wiphy_register()
896 if (WARN_ON(!iftd->he_cap.has_he)) in wiphy_register()
899 types |= iftd->types_mask; in wiphy_register()
902 have_he = iftd->he_cap.has_he; in wiphy_register()
905 iftd->he_cap.has_he; in wiphy_register()
907 has_ap = iftd->types_mask & ap_bits; in wiphy_register()
908 has_non_ap = iftd->types_mask & ~ap_bits; in wiphy_register()
[all …]
Dchan.c1126 const struct ieee80211_sband_iftype_data *iftd; in cfg80211_chandef_usable() local
1242 iftd = &sband->iftype_data[i]; in cfg80211_chandef_usable()
1243 if (!iftd->eht_cap.has_eht) in cfg80211_chandef_usable()
1246 if (iftd->eht_cap.eht_cap_elem.phy_cap_info[0] & in cfg80211_chandef_usable()
Dscan.c852 const struct ieee80211_sband_iftype_data *iftd; in cfg80211_scan_6ghz() local
860 iftd = ieee80211_get_sband_iftype_data(rdev->wiphy.bands[NL80211_BAND_6GHZ], in cfg80211_scan_6ghz()
862 if (!iftd || !iftd->he_cap.has_he) in cfg80211_scan_6ghz()
/net/mac80211/
Dmain.c1129 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_register_hw() local
1131 iftd = &sband->iftype_data[i]; in ieee80211_register_hw()
1133 supp_he = supp_he || iftd->he_cap.has_he; in ieee80211_register_hw()
1134 supp_eht = supp_eht || iftd->eht_cap.has_eht; in ieee80211_register_hw()
Dmesh.c626 const struct ieee80211_sband_iftype_data *iftd; in mesh_add_he_6ghz_cap_ie() local
632 iftd = ieee80211_get_sband_iftype_data(sband, in mesh_add_he_6ghz_cap_ie()
635 if (!iftd) in mesh_add_he_6ghz_cap_ie()
Dmlme.c1033 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_assoc_link_elems() local
1073 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_assoc_link_elems()
1201 if (iftd && iftd->vendor_elems.data && iftd->vendor_elems.len) in ieee80211_assoc_link_elems()
1202 skb_put_data(skb, iftd->vendor_elems.data, iftd->vendor_elems.len); in ieee80211_assoc_link_elems()
1415 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_send_assoc() local
1431 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_send_assoc()
1432 if (iftd) in ieee80211_send_assoc()
1433 size += iftd->vendor_elems.len; in ieee80211_send_assoc()
Dutil.c3290 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_ie_build_he_6ghz_cap() local
3302 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_ie_build_he_6ghz_cap()
3303 if (!iftd) in ieee80211_ie_build_he_6ghz_cap()
3307 if (!iftd->he_6ghz_capa.capa) in ieee80211_ie_build_he_6ghz_cap()
3310 cap = le16_to_cpu(iftd->he_6ghz_capa.capa); in ieee80211_ie_build_he_6ghz_cap()