Home
last modified time | relevance | path

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

/net/wireless/
Dcore.c864 const struct ieee80211_sband_iftype_data *iftd; in wiphy_register() local
869 iftd = &sband->iftype_data[i]; in wiphy_register()
871 if (WARN_ON(!iftd->types_mask)) in wiphy_register()
873 if (WARN_ON(types & iftd->types_mask)) in wiphy_register()
877 if (WARN_ON(!iftd->he_cap.has_he)) in wiphy_register()
880 types |= iftd->types_mask; in wiphy_register()
883 have_he = iftd->he_cap.has_he; in wiphy_register()
886 iftd->he_cap.has_he; in wiphy_register()
888 has_ap = iftd->types_mask & ap_bits; in wiphy_register()
889 has_non_ap = iftd->types_mask & ~ap_bits; in wiphy_register()
[all …]
Dchan.c1050 const struct ieee80211_sband_iftype_data *iftd; in cfg80211_chandef_usable() local
1166 iftd = &sband->iftype_data[i]; in cfg80211_chandef_usable()
1167 if (!iftd->eht_cap.has_eht) in cfg80211_chandef_usable()
1170 if (iftd->eht_cap.eht_cap_elem.phy_cap_info[0] & in cfg80211_chandef_usable()
Dscan.c776 const struct ieee80211_sband_iftype_data *iftd; in cfg80211_scan_6ghz() local
783 iftd = ieee80211_get_sband_iftype_data(rdev->wiphy.bands[NL80211_BAND_6GHZ], in cfg80211_scan_6ghz()
785 if (!iftd || !iftd->he_cap.has_he) in cfg80211_scan_6ghz()
/net/mac80211/
Dmain.c1019 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_register_hw() local
1021 iftd = &sband->iftype_data[i]; in ieee80211_register_hw()
1023 supp_he = supp_he || iftd->he_cap.has_he; in ieee80211_register_hw()
Dmesh.c624 const struct ieee80211_sband_iftype_data *iftd; in mesh_add_he_6ghz_cap_ie() local
630 iftd = ieee80211_get_sband_iftype_data(sband, in mesh_add_he_6ghz_cap_ie()
633 if (!iftd) in mesh_add_he_6ghz_cap_ie()
Dmlme.c687 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_send_assoc() local
734 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_send_assoc()
751 (iftd ? iftd->vendor_elems.len : 0), in ieee80211_send_assoc()
1026 if (iftd && iftd->vendor_elems.data && iftd->vendor_elems.len) in ieee80211_send_assoc()
1027 skb_put_data(skb, iftd->vendor_elems.data, iftd->vendor_elems.len); in ieee80211_send_assoc()
Dutil.c2996 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_ie_build_he_6ghz_cap() local
3008 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_ie_build_he_6ghz_cap()
3009 if (!iftd) in ieee80211_ie_build_he_6ghz_cap()
3013 if (!iftd->he_6ghz_capa.capa) in ieee80211_ie_build_he_6ghz_cap()
3016 cap = le16_to_cpu(iftd->he_6ghz_capa.capa); in ieee80211_ie_build_he_6ghz_cap()