Searched refs:iftd (Results 1 – 9 of 9) sorted by relevance
883 const struct ieee80211_sband_iftype_data *iftd; in wiphy_register() local888 iftd = &sband->iftype_data[i]; in wiphy_register()890 if (WARN_ON(!iftd->types_mask)) in wiphy_register()892 if (WARN_ON(types & iftd->types_mask)) in wiphy_register()896 if (WARN_ON(!iftd->he_cap.has_he)) in wiphy_register()899 types |= iftd->types_mask; in wiphy_register()902 have_he = iftd->he_cap.has_he; in wiphy_register()905 iftd->he_cap.has_he; in wiphy_register()907 has_ap = iftd->types_mask & ap_bits; in wiphy_register()908 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()
812 const struct ieee80211_sband_iftype_data *iftd; in cfg80211_scan_6ghz() local820 iftd = ieee80211_get_sband_iftype_data(rdev->wiphy.bands[NL80211_BAND_6GHZ], in cfg80211_scan_6ghz()822 if (!iftd || !iftd->he_cap.has_he) in cfg80211_scan_6ghz()
56 } iftd; member
1057 BUILD_BUG_ON(sizeof(data->iftd.low) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab()1058 BUILD_BUG_ON(sizeof(data->iftd.high) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab()1059 BUILD_BUG_ON(sizeof(data->iftd.uhb) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab()1063 iftype_data = data->iftd.low; in iwl_init_he_hw_capab()1066 iftype_data = data->iftd.high; in iwl_init_he_hw_capab()1069 iftype_data = data->iftd.uhb; in iwl_init_he_hw_capab()
1132 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_register_hw() local1134 iftd = &sband->iftype_data[i]; in ieee80211_register_hw()1136 supp_he = supp_he || iftd->he_cap.has_he; in ieee80211_register_hw()1137 supp_eht = supp_eht || iftd->eht_cap.has_eht; in ieee80211_register_hw()
626 const struct ieee80211_sband_iftype_data *iftd; in mesh_add_he_6ghz_cap_ie() local632 iftd = ieee80211_get_sband_iftype_data(sband, in mesh_add_he_6ghz_cap_ie()635 if (!iftd) in mesh_add_he_6ghz_cap_ie()
1033 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_assoc_link_elems() local1073 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_assoc_link_elems()1201 if (iftd && iftd->vendor_elems.data && iftd->vendor_elems.len) in ieee80211_assoc_link_elems()1202 skb_put_data(skb, iftd->vendor_elems.data, iftd->vendor_elems.len); in ieee80211_assoc_link_elems()1415 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_send_assoc() local1431 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_send_assoc()1432 if (iftd) in ieee80211_send_assoc()1433 size += iftd->vendor_elems.len; in ieee80211_send_assoc()
3307 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_ie_build_he_6ghz_cap() local3319 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_ie_build_he_6ghz_cap()3320 if (!iftd) in ieee80211_ie_build_he_6ghz_cap()3324 if (!iftd->he_6ghz_capa.capa) in ieee80211_ie_build_he_6ghz_cap()3327 cap = le16_to_cpu(iftd->he_6ghz_capa.capa); in ieee80211_ie_build_he_6ghz_cap()