Home
last modified time | relevance | path

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

/linux/net/wireless/
H A Dcore.c1057 const struct ieee80211_sband_iftype_data *iftd; in wiphy_register()
1114 for_each_sband_iftype_data(sband, i, iftd) { in wiphy_register()
1119 if (WARN_ON(!iftd->types_mask)) in wiphy_register()
1121 if (WARN_ON(types & iftd->types_mask)) in wiphy_register()
1125 if (WARN_ON(!iftd->he_cap.has_he)) in wiphy_register()
1128 types |= iftd->types_mask; in wiphy_register()
1131 have_he = iftd->he_cap.has_he; in wiphy_register()
1134 iftd->he_cap.has_he; in wiphy_register()
1136 has_ap = iftd->types_mask & ap_bits; in wiphy_register()
1137 has_non_ap = iftd in wiphy_register()
1020 const struct ieee80211_sband_iftype_data *iftd; wiphy_register() local
[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.c2372 const struct ieee80211_sband_iftype_data *iftd; in nl80211_send_mgmt_stypes()
2378 for_each_sband_iftype_data(sband, i, iftd) { in nl80211_send_mgmt_stypes()
2385 err = nl80211_send_iftype_data(msg, sband, iftd); in nl80211_send_mgmt_stypes()
2263 const struct ieee80211_sband_iftype_data *iftd; nl80211_send_band_rateinfo() local
/linux/net/mac80211/
H A Dmain.c1266 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_register_hw()
1315 for_each_sband_iftype_data(sband, i, iftd) { in ieee80211_register_hw()
1318 supp_he = supp_he || iftd->he_cap.has_he; in ieee80211_register_hw()
1319 supp_eht = supp_eht || iftd->eht_cap.has_eht; in ieee80211_register_hw()
1320 supp_uhr = supp_uhr || iftd->uhr_cap.has_uhr; in ieee80211_register_hw()
1330 if (WARN_ON(iftd->he_cap.has_he && in ieee80211_register_hw()
1331 iftd->types_mask & (BIT(NL80211_IFTYPE_STATION) | in ieee80211_register_hw()
1335 !(iftd->he_cap.he_cap_elem.phy_cap_info[0] & in ieee80211_register_hw()
1340 if (WARN_ON(iftd->vendor_elems.len && in ieee80211_register_hw()
1261 const struct ieee80211_sband_iftype_data *iftd; ieee80211_register_hw() local
H A Dmesh.c611 const struct ieee80211_sband_iftype_data *iftd; in mesh_add_he_6ghz_cap_ie() local
620 iftd = ieee80211_get_sband_iftype_data(sband, in mesh_add_he_6ghz_cap_ie()
623 if (!iftd) in mesh_add_he_6ghz_cap_ie()
H A Dutil.c2771 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_put_he_6ghz_cap()
2782 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_put_he_6ghz_cap()
2783 if (!iftd) in ieee80211_put_he_6ghz_cap()
2787 if (!iftd->he_6ghz_capa.capa) in ieee80211_put_he_6ghz_cap()
2790 cap = iftd->he_6ghz_capa.capa; in ieee80211_put_he_6ghz_cap()
2749 const struct ieee80211_sband_iftype_data *iftd; ieee80211_put_he_6ghz_cap() local
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()
2352 if (iftd && iftd->vendor_elems.data && iftd->vendor_elems.len) in ieee80211_add_link_elems()
2353 skb_put_data(skb, iftd->vendor_elems.data, iftd->vendor_elems.len);
2539 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_link_common_elems_size()
2557 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_link_common_elems_size()
2558 if (iftd) in ieee80211_link_common_elems_size()
2535 const struct ieee80211_sband_iftype_data *iftd; ieee80211_link_common_elems_size() local
[all...]
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-nvm-parse.c1062 BUILD_BUG_ON(sizeof(data->iftd.low) != sizeof(iwl_iftype_cap)); in iwl_init_he_hw_capab()
1063 BUILD_BUG_ON(sizeof(data->iftd.high) != sizeof(iwl_iftype_cap)); in iwl_init_he_hw_capab()
1064 BUILD_BUG_ON(sizeof(data->iftd.uhb) != sizeof(iwl_iftype_cap)); in iwl_init_he_hw_capab()
1068 iftype_data = data->iftd.low; in iwl_init_he_hw_capab()
1071 iftype_data = data->iftd.high; in iwl_init_he_hw_capab()
1074 iftype_data = data->iftd.uhb; in iwl_init_he_hw_capab()
/linux/include/net/
H A Dcfg80211.h603 * @iftd: the iftype data array pointer
612 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()
622 * @iftd: the iftype data array
624 #define ieee80211_set_sband_iftype_data(sband, iftd) \ argument
625 _ieee80211_set_sband_iftype_data(sband, iftd, ARRAY_SIZE(iftd))
631 * @iftd: iftype data pointer to set
633 #define for_each_sband_iftype_data(sband, i, iftd) \ argument
634 for (i = 0, iftd
[all...]
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c3357 const struct ieee80211_sband_iftype_data *iftd; in ath12k_peer_assoc_h_eht()
3397 iftd = ieee80211_get_sband_iftype_data(&ar->mac.sbands[band], vif->type); in ath12k_peer_assoc_h_eht()
3398 if (!iftd) { in ath12k_peer_assoc_h_eht()
3404 own_eht_cap = &iftd->eht_cap; in ath12k_peer_assoc_h_eht()
3350 const struct ieee80211_sband_iftype_data *iftd; ath12k_peer_assoc_h_eht() local