Home
last modified time | relevance | path

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

/linux-6.12.1/net/wireless/
Dcore.c829 const struct ieee80211_sband_iftype_data *iftd; in wiphy_register() local
886 for_each_sband_iftype_data(sband, i, iftd) { in wiphy_register()
891 if (WARN_ON(!iftd->types_mask)) in wiphy_register()
893 if (WARN_ON(types & iftd->types_mask)) in wiphy_register()
897 if (WARN_ON(!iftd->he_cap.has_he)) in wiphy_register()
900 types |= iftd->types_mask; in wiphy_register()
903 have_he = iftd->he_cap.has_he; in wiphy_register()
906 iftd->he_cap.has_he; in wiphy_register()
908 has_ap = iftd->types_mask & ap_bits; in wiphy_register()
909 has_non_ap = iftd->types_mask & ~ap_bits; in wiphy_register()
[all …]
Dchan.c1271 const struct ieee80211_sband_iftype_data *iftd; in _cfg80211_chandef_usable() local
1386 for_each_sband_iftype_data(sband, i, iftd) { in _cfg80211_chandef_usable()
1387 if (!iftd->eht_cap.has_eht) in _cfg80211_chandef_usable()
1390 if (iftd->eht_cap.eht_cap_elem.phy_cap_info[0] & in _cfg80211_chandef_usable()
Dscan.c814 const struct ieee80211_sband_iftype_data *iftd; in cfg80211_scan_6ghz() local
822 iftd = ieee80211_get_sband_iftype_data(rdev->wiphy.bands[NL80211_BAND_6GHZ], in cfg80211_scan_6ghz()
824 if (!iftd || !iftd->he_cap.has_he) in cfg80211_scan_6ghz()
Dnl80211.c1951 const struct ieee80211_sband_iftype_data *iftd; in nl80211_send_band_rateinfo() local
1957 for_each_sband_iftype_data(sband, i, iftd) { in nl80211_send_band_rateinfo()
1964 err = nl80211_send_iftype_data(msg, sband, iftd); in nl80211_send_band_rateinfo()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-utils.h56 } iftd; member
Diwl-nvm-parse.c1112 BUILD_BUG_ON(sizeof(data->iftd.low) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab()
1113 BUILD_BUG_ON(sizeof(data->iftd.high) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab()
1114 BUILD_BUG_ON(sizeof(data->iftd.uhb) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab()
1118 iftype_data = data->iftd.low; in iwl_init_he_hw_capab()
1121 iftype_data = data->iftd.high; in iwl_init_he_hw_capab()
1124 iftype_data = data->iftd.uhb; in iwl_init_he_hw_capab()
/linux-6.12.1/net/mac80211/
Dmain.c1240 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_register_hw() local
1287 for_each_sband_iftype_data(sband, i, iftd) { in ieee80211_register_hw()
1290 supp_he = supp_he || iftd->he_cap.has_he; in ieee80211_register_hw()
1291 supp_eht = supp_eht || iftd->eht_cap.has_eht; in ieee80211_register_hw()
1301 if (iftd->he_cap.has_he && in ieee80211_register_hw()
1302 iftd->types_mask & (BIT(NL80211_IFTYPE_STATION) | in ieee80211_register_hw()
1306 !(iftd->he_cap.he_cap_elem.phy_cap_info[0] & he_40_mhz_cap)) in ieee80211_register_hw()
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()
Dutil.c2569 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_put_he_6ghz_cap() local
2580 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_put_he_6ghz_cap()
2581 if (!iftd) in ieee80211_put_he_6ghz_cap()
2585 if (!iftd->he_6ghz_capa.capa) in ieee80211_put_he_6ghz_cap()
2588 cap = iftd->he_6ghz_capa.capa; in ieee80211_put_he_6ghz_cap()
Dmlme.c1432 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_assoc_link_elems() local
1472 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_assoc_link_elems()
1592 if (iftd && iftd->vendor_elems.data && iftd->vendor_elems.len) in ieee80211_assoc_link_elems()
1593 skb_put_data(skb, iftd->vendor_elems.data, iftd->vendor_elems.len); in ieee80211_assoc_link_elems()
1801 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_send_assoc() local
1817 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_send_assoc()
1818 if (iftd) in ieee80211_send_assoc()
1819 size += iftd->vendor_elems.len; in ieee80211_send_assoc()
/linux-6.12.1/include/net/
Dcfg80211.h593 const struct ieee80211_sband_iftype_data *iftd, in _ieee80211_set_sband_iftype_data() argument
596 sband->iftype_data = (const void __iftd __force *)iftd; in _ieee80211_set_sband_iftype_data()
605 #define ieee80211_set_sband_iftype_data(sband, iftd) \ argument
606 _ieee80211_set_sband_iftype_data(sband, iftd, ARRAY_SIZE(iftd))
614 #define for_each_sband_iftype_data(sband, i, iftd) \ argument
615 for (i = 0, iftd = (const void __force *)&(sband)->iftype_data[i]; \
617 i++, iftd = (const void __force *)&(sband)->iftype_data[i])