Searched refs:iftd (Results 1 – 11 of 11) sorted by relevance
| /linux/net/wireless/ |
| H A D | core.c | 868 const struct ieee80211_sband_iftype_data *iftd; in wiphy_register() local 925 for_each_sband_iftype_data(sband, i, iftd) { in wiphy_register() 930 if (WARN_ON(!iftd->types_mask)) in wiphy_register() 932 if (WARN_ON(types & iftd->types_mask)) in wiphy_register() 936 if (WARN_ON(!iftd->he_cap.has_he)) in wiphy_register() 939 types |= iftd->types_mask; in wiphy_register() 942 have_he = iftd->he_cap.has_he; in wiphy_register() 945 iftd->he_cap.has_he; in wiphy_register() 947 has_ap = iftd->types_mask & ap_bits; in wiphy_register() 948 has_non_ap = iftd->types_mask & ~ap_bits; in wiphy_register() [all …]
|
| H A D | scan.c | 850 const struct ieee80211_sband_iftype_data *iftd; in cfg80211_scan_6ghz() local 859 iftd = ieee80211_get_sband_iftype_data(rdev->wiphy.bands[NL80211_BAND_6GHZ], in cfg80211_scan_6ghz() 861 if (!iftd || !iftd->he_cap.has_he) in cfg80211_scan_6ghz()
|
| H A D | nl80211.c | 2079 const struct ieee80211_sband_iftype_data *iftd; in nl80211_send_band_rateinfo() local 2085 for_each_sband_iftype_data(sband, i, iftd) { in nl80211_send_band_rateinfo() 2092 err = nl80211_send_iftype_data(msg, sband, iftd); in nl80211_send_band_rateinfo()
|
| /linux/net/mac80211/ |
| H A D | main.c | 1242 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() 1297 supp_uhr = supp_uhr || iftd->uhr_cap.has_uhr; in ieee80211_register_hw() 1307 if (iftd->he_cap.has_he && in ieee80211_register_hw() 1308 iftd->types_mask & (BIT(NL80211_IFTYPE_STATION) | in ieee80211_register_hw() 1312 !(iftd->he_cap.he_cap_elem.phy_cap_info[0] & he_40_mhz_cap)) in ieee80211_register_hw() 1316 if (WARN_ON(iftd->vendor_elems.len && in ieee80211_register_hw()
|
| H A D | mesh.c | 621 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()
|
| H A D | util.c | 2639 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_put_he_6ghz_cap() local 2650 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_put_he_6ghz_cap() 2651 if (!iftd) in ieee80211_put_he_6ghz_cap() 2655 if (!iftd->he_6ghz_capa.capa) in ieee80211_put_he_6ghz_cap() 2658 cap = iftd->he_6ghz_capa.capa; in ieee80211_put_he_6ghz_cap()
|
| H A D | mlme.c | 1799 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_add_link_elems() local 1839 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_add_link_elems() 1981 if (iftd && iftd->vendor_elems.data && iftd->vendor_elems.len) in ieee80211_add_link_elems() 1982 skb_put_data(skb, iftd->vendor_elems.data, iftd->vendor_elems.len); in ieee80211_add_link_elems() 2168 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_link_common_elems_size() local 2186 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_link_common_elems_size() 2187 if (iftd) in ieee80211_link_common_elems_size() 2188 size += iftd->vendor_elems.len; in ieee80211_link_common_elems_size()
|
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-nvm-utils.h | 56 } iftd; member
|
| H A D | iwl-nvm-parse.c | 1024 BUILD_BUG_ON(sizeof(data->iftd.low) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab() 1025 BUILD_BUG_ON(sizeof(data->iftd.high) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab() 1026 BUILD_BUG_ON(sizeof(data->iftd.uhb) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab() 1030 iftype_data = data->iftd.low; in iwl_init_he_hw_capab() 1033 iftype_data = data->iftd.high; in iwl_init_he_hw_capab() 1036 iftype_data = data->iftd.uhb; in iwl_init_he_hw_capab()
|
| /linux/include/net/ |
| H A D | cfg80211.h | 609 const struct ieee80211_sband_iftype_data *iftd, in _ieee80211_set_sband_iftype_data() argument 612 sband->iftype_data = (const void __iftd __force *)iftd; in _ieee80211_set_sband_iftype_data() 621 #define ieee80211_set_sband_iftype_data(sband, iftd) \ argument 622 _ieee80211_set_sband_iftype_data(sband, iftd, ARRAY_SIZE(iftd)) 630 #define for_each_sband_iftype_data(sband, i, iftd) \ argument 631 for (i = 0, iftd = (const void __force *)&(sband)->iftype_data[i]; \ 633 i++, iftd = (const void __force *)&(sband)->iftype_data[i])
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | mac.c | 3331 const struct ieee80211_sband_iftype_data *iftd; in ath12k_peer_assoc_h_eht() local 3370 iftd = ieee80211_get_sband_iftype_data(&ar->mac.sbands[band], vif->type); in ath12k_peer_assoc_h_eht() 3371 if (!iftd) { in ath12k_peer_assoc_h_eht() 3377 own_eht_cap = &iftd->eht_cap; in ath12k_peer_assoc_h_eht()
|