Home
last modified time | relevance | path

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

/linux/net/mac80211/
H A Dmain.c1261 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_register_hw() local
1310 for_each_sband_iftype_data(sband, i, iftd) { in ieee80211_register_hw()
1313 supp_he = supp_he || iftd->he_cap.has_he; in ieee80211_register_hw()
1314 supp_eht = supp_eht || iftd->eht_cap.has_eht; in ieee80211_register_hw()
1315 supp_uhr = supp_uhr || iftd->uhr_cap.has_uhr; in ieee80211_register_hw()
1325 if (iftd->he_cap.has_he && in ieee80211_register_hw()
1326 iftd->types_mask & (BIT(NL80211_IFTYPE_STATION) | in ieee80211_register_hw()
1330 !(iftd->he_cap.he_cap_elem.phy_cap_info[0] & he_40_mhz_cap)) in ieee80211_register_hw()
1334 if (WARN_ON(iftd->vendor_elems.len && in ieee80211_register_hw()
H A Dutil.c2749 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_put_he_6ghz_cap() local
2760 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_put_he_6ghz_cap()
2761 if (!iftd) in ieee80211_put_he_6ghz_cap()
2765 if (!iftd->he_6ghz_capa.capa) in ieee80211_put_he_6ghz_cap()
2768 cap = iftd->he_6ghz_capa.capa; in ieee80211_put_he_6ghz_cap()
H A Dmlme.c2165 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_add_link_elems() local
2205 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_add_link_elems()
2348 if (iftd && iftd->vendor_elems.data && iftd->vendor_elems.len) in ieee80211_add_link_elems()
2349 skb_put_data(skb, iftd->vendor_elems.data, iftd->vendor_elems.len); in ieee80211_add_link_elems()
2535 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_link_common_elems_size() local
2553 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_link_common_elems_size()
2554 if (iftd) in ieee80211_link_common_elems_size()
2555 size += iftd->vendor_elems.len; in ieee80211_link_common_elems_size()
/linux/net/wireless/
H A Dcore.c995 const struct ieee80211_sband_iftype_data *iftd; in wiphy_register() local
1052 for_each_sband_iftype_data(sband, i, iftd) { in wiphy_register()
1057 if (WARN_ON(!iftd->types_mask)) in wiphy_register()
1059 if (WARN_ON(types & iftd->types_mask)) in wiphy_register()
1063 if (WARN_ON(!iftd->he_cap.has_he)) in wiphy_register()
1066 types |= iftd->types_mask; in wiphy_register()
1069 have_he = iftd->he_cap.has_he; in wiphy_register()
1072 iftd->he_cap.has_he; in wiphy_register()
1074 has_ap = iftd->types_mask & ap_bits; in wiphy_register()
1075 has_non_ap = iftd->types_mask & ~ap_bits; in wiphy_register()
[all …]
H A Dscan.c853 const struct ieee80211_sband_iftype_data *iftd; in cfg80211_scan_6ghz() local
862 iftd = ieee80211_get_sband_iftype_data(rdev->wiphy.bands[NL80211_BAND_6GHZ], in cfg80211_scan_6ghz()
864 if (!iftd || !iftd->he_cap.has_he) in cfg80211_scan_6ghz()
H A Dnl80211.c2263 const struct ieee80211_sband_iftype_data *iftd; in nl80211_send_band_rateinfo() local
2269 for_each_sband_iftype_data(sband, i, iftd) { in nl80211_send_band_rateinfo()
2276 err = nl80211_send_iftype_data(msg, sband, iftd); in nl80211_send_band_rateinfo()
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-nvm-parse.c1063 BUILD_BUG_ON(sizeof(data->iftd.low) != sizeof(iwl_iftype_cap)); in iwl_init_he_hw_capab()
1064 BUILD_BUG_ON(sizeof(data->iftd.high) != sizeof(iwl_iftype_cap)); in iwl_init_he_hw_capab()
1065 BUILD_BUG_ON(sizeof(data->iftd.uhb) != sizeof(iwl_iftype_cap)); in iwl_init_he_hw_capab()
1069 iftype_data = data->iftd.low; in iwl_init_he_hw_capab()
1072 iftype_data = data->iftd.high; in iwl_init_he_hw_capab()
1075 iftype_data = data->iftd.uhb; in iwl_init_he_hw_capab()
/linux/include/net/
H A Dcfg80211.h612 const struct ieee80211_sband_iftype_data *iftd, in _ieee80211_set_sband_iftype_data() argument
615 sband->iftype_data = (const void __iftd __force *)iftd; in _ieee80211_set_sband_iftype_data()
624 #define ieee80211_set_sband_iftype_data(sband, iftd) \ argument
625 _ieee80211_set_sband_iftype_data(sband, iftd, ARRAY_SIZE(iftd))
633 #define for_each_sband_iftype_data(sband, i, iftd) \ argument
634 for (i = 0, iftd = (const void __force *)&(sband)->iftype_data[i]; \
636 i++, iftd = (const void __force *)&(sband)->iftype_data[i])
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c3350 const struct ieee80211_sband_iftype_data *iftd; in ath12k_peer_assoc_h_eht() local
3389 iftd = ieee80211_get_sband_iftype_data(&ar->mac.sbands[band], vif->type); in ath12k_peer_assoc_h_eht()
3390 if (!iftd) { in ath12k_peer_assoc_h_eht()
3396 own_eht_cap = &iftd->eht_cap; in ath12k_peer_assoc_h_eht()