Searched refs:iftd (Results 1 – 9 of 9) sorted by relevance
862 const struct ieee80211_sband_iftype_data *iftd; in wiphy_register() local867 iftd = &sband->iftype_data[i]; in wiphy_register()869 if (WARN_ON(!iftd->types_mask)) in wiphy_register()871 if (WARN_ON(types & iftd->types_mask)) in wiphy_register()875 if (WARN_ON(!iftd->he_cap.has_he)) in wiphy_register()878 types |= iftd->types_mask; in wiphy_register()881 have_he = iftd->he_cap.has_he; in wiphy_register()884 iftd->he_cap.has_he; in wiphy_register()886 has_ap = iftd->types_mask & ap_bits; in wiphy_register()887 has_non_ap = iftd->types_mask & ~ap_bits; in wiphy_register()[all …]
1050 const struct ieee80211_sband_iftype_data *iftd; in cfg80211_chandef_usable() local1166 iftd = &sband->iftype_data[i]; in cfg80211_chandef_usable()1167 if (!iftd->eht_cap.has_eht) in cfg80211_chandef_usable()1170 if (iftd->eht_cap.eht_cap_elem.phy_cap_info[0] & in cfg80211_chandef_usable()
741 const struct ieee80211_sband_iftype_data *iftd; in cfg80211_scan_6ghz() local748 iftd = ieee80211_get_sband_iftype_data(rdev->wiphy.bands[NL80211_BAND_6GHZ], in cfg80211_scan_6ghz()750 if (!iftd || !iftd->he_cap.has_he) in cfg80211_scan_6ghz()
56 } iftd; member
819 BUILD_BUG_ON(sizeof(data->iftd.low) != sizeof(iwl_he_capa)); in iwl_init_he_hw_capab()820 BUILD_BUG_ON(sizeof(data->iftd.high) != sizeof(iwl_he_capa)); in iwl_init_he_hw_capab()824 iftype_data = data->iftd.low; in iwl_init_he_hw_capab()828 iftype_data = data->iftd.high; in iwl_init_he_hw_capab()
1096 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_register_hw() local1098 iftd = &sband->iftype_data[i]; in ieee80211_register_hw()1100 supp_he = supp_he || iftd->he_cap.has_he; in ieee80211_register_hw()1101 supp_eht = supp_eht || iftd->eht_cap.has_eht; in ieee80211_register_hw()
625 const struct ieee80211_sband_iftype_data *iftd; in mesh_add_he_6ghz_cap_ie() local631 iftd = ieee80211_get_sband_iftype_data(sband, in mesh_add_he_6ghz_cap_ie()634 if (!iftd) in mesh_add_he_6ghz_cap_ie()
964 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_assoc_link_elems() local1004 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_assoc_link_elems()1132 if (iftd && iftd->vendor_elems.data && iftd->vendor_elems.len) in ieee80211_assoc_link_elems()1133 skb_put_data(skb, iftd->vendor_elems.data, iftd->vendor_elems.len); in ieee80211_assoc_link_elems()1339 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_send_assoc() local1355 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_send_assoc()1356 if (iftd) in ieee80211_send_assoc()1357 size += iftd->vendor_elems.len; in ieee80211_send_assoc()
3083 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_ie_build_he_6ghz_cap() local3095 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_ie_build_he_6ghz_cap()3096 if (!iftd) in ieee80211_ie_build_he_6ghz_cap()3100 if (!iftd->he_6ghz_capa.capa) in ieee80211_ie_build_he_6ghz_cap()3103 cap = le16_to_cpu(iftd->he_6ghz_capa.capa); in ieee80211_ie_build_he_6ghz_cap()