Home
last modified time | relevance | path

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

/linux-6.15/net/wireless/
H A Dcore.c867 const struct ieee80211_sband_iftype_data *iftd; in wiphy_register() local
924 for_each_sband_iftype_data(sband, i, iftd) { in wiphy_register()
929 if (WARN_ON(!iftd->types_mask)) in wiphy_register()
931 if (WARN_ON(types & iftd->types_mask)) in wiphy_register()
935 if (WARN_ON(!iftd->he_cap.has_he)) in wiphy_register()
938 types |= iftd->types_mask; in wiphy_register()
941 have_he = iftd->he_cap.has_he; in wiphy_register()
944 iftd->he_cap.has_he; in wiphy_register()
946 has_ap = iftd->types_mask & ap_bits; in wiphy_register()
947 has_non_ap = iftd->types_mask & ~ap_bits; in wiphy_register()
[all …]
H A Dchan.c1143 const struct ieee80211_sband_iftype_data *iftd; in _cfg80211_chandef_usable() local
1259 for_each_sband_iftype_data(sband, i, iftd) { in _cfg80211_chandef_usable()
1260 if (!iftd->eht_cap.has_eht) in _cfg80211_chandef_usable()
1263 if (iftd->eht_cap.eht_cap_elem.phy_cap_info[0] & in _cfg80211_chandef_usable()
H A Dscan.c849 const struct ieee80211_sband_iftype_data *iftd; in cfg80211_scan_6ghz() local
857 iftd = ieee80211_get_sband_iftype_data(rdev->wiphy.bands[NL80211_BAND_6GHZ], in cfg80211_scan_6ghz()
859 if (!iftd || !iftd->he_cap.has_he) in cfg80211_scan_6ghz()
H A Dnl80211.c1974 const struct ieee80211_sband_iftype_data *iftd; in nl80211_send_band_rateinfo() local
1980 for_each_sband_iftype_data(sband, i, iftd) { in nl80211_send_band_rateinfo()
1987 err = nl80211_send_iftype_data(msg, sband, iftd); in nl80211_send_band_rateinfo()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/
H A Diwl-nvm-utils.h56 } iftd; member
H A Diwl-nvm-parse.c1122 BUILD_BUG_ON(sizeof(data->iftd.low) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab()
1123 BUILD_BUG_ON(sizeof(data->iftd.high) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab()
1124 BUILD_BUG_ON(sizeof(data->iftd.uhb) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab()
1128 iftype_data = data->iftd.low; in iwl_init_he_hw_capab()
1131 iftype_data = data->iftd.high; in iwl_init_he_hw_capab()
1134 iftype_data = data->iftd.uhb; in iwl_init_he_hw_capab()
/linux-6.15/net/mac80211/
H A Dmain.c1245 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_register_hw() local
1292 for_each_sband_iftype_data(sband, i, iftd) { in ieee80211_register_hw()
1295 supp_he = supp_he || iftd->he_cap.has_he; in ieee80211_register_hw()
1296 supp_eht = supp_eht || iftd->eht_cap.has_eht; in ieee80211_register_hw()
1306 if (iftd->he_cap.has_he && in ieee80211_register_hw()
1307 iftd->types_mask & (BIT(NL80211_IFTYPE_STATION) | in ieee80211_register_hw()
1311 !(iftd->he_cap.he_cap_elem.phy_cap_info[0] & he_40_mhz_cap)) in ieee80211_register_hw()
1315 if (WARN_ON(iftd->vendor_elems.len && in ieee80211_register_hw()
H A Dmesh.c620 const struct ieee80211_sband_iftype_data *iftd; in mesh_add_he_6ghz_cap_ie() local
626 iftd = ieee80211_get_sband_iftype_data(sband, in mesh_add_he_6ghz_cap_ie()
629 if (!iftd) in mesh_add_he_6ghz_cap_ie()
H A Dutil.c2567 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_put_he_6ghz_cap() local
2578 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_put_he_6ghz_cap()
2579 if (!iftd) in ieee80211_put_he_6ghz_cap()
2583 if (!iftd->he_6ghz_capa.capa) in ieee80211_put_he_6ghz_cap()
2586 cap = iftd->he_6ghz_capa.capa; in ieee80211_put_he_6ghz_cap()
H A Dmlme.c1672 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_add_link_elems() local
1712 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_add_link_elems()
1832 if (iftd && iftd->vendor_elems.data && iftd->vendor_elems.len) in ieee80211_add_link_elems()
1833 skb_put_data(skb, iftd->vendor_elems.data, iftd->vendor_elems.len); in ieee80211_add_link_elems()
2026 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_link_common_elems_size() local
2044 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_link_common_elems_size()
2045 if (iftd) in ieee80211_link_common_elems_size()
2046 size += iftd->vendor_elems.len; in ieee80211_link_common_elems_size()
/linux-6.15/include/net/
H A Dcfg80211.h596 const struct ieee80211_sband_iftype_data *iftd, in _ieee80211_set_sband_iftype_data() argument
599 sband->iftype_data = (const void __iftd __force *)iftd; in _ieee80211_set_sband_iftype_data()
608 #define ieee80211_set_sband_iftype_data(sband, iftd) \ argument
609 _ieee80211_set_sband_iftype_data(sband, iftd, ARRAY_SIZE(iftd))
617 #define for_each_sband_iftype_data(sband, i, iftd) \ argument
618 for (i = 0, iftd = (const void __force *)&(sband)->iftype_data[i]; \
620 i++, iftd = (const void __force *)&(sband)->iftype_data[i])