Home
last modified time | relevance | path

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

/openbmc/linux/net/wireless/
H A Dcore.c883 const struct ieee80211_sband_iftype_data *iftd; in wiphy_register() local
888 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 …]
H A Dchan.c1050 const struct ieee80211_sband_iftype_data *iftd; in cfg80211_chandef_usable() local
1166 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()
H A Dscan.c812 const struct ieee80211_sband_iftype_data *iftd; in cfg80211_scan_6ghz() local
820 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()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-eeprom-parse.h56 } iftd; member
H A Diwl-nvm-parse.c1057 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()
/openbmc/linux/net/mac80211/
H A Dmain.c1132 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_register_hw() local
1134 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()
H A Dmesh.c626 const struct ieee80211_sband_iftype_data *iftd; in mesh_add_he_6ghz_cap_ie() local
632 iftd = ieee80211_get_sband_iftype_data(sband, in mesh_add_he_6ghz_cap_ie()
635 if (!iftd) in mesh_add_he_6ghz_cap_ie()
H A Dmlme.c1033 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_assoc_link_elems() local
1073 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() local
1431 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()
H A Dutil.c3307 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_ie_build_he_6ghz_cap() local
3319 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()