Searched refs:iftd (Results 1 – 10 of 10) sorted by relevance
/linux/net/wireless/ |
H A D | core.c | 873 const struct ieee80211_sband_iftype_data *iftd; in wiphy_register() local 930 for_each_sband_iftype_data(sband, i, iftd) { in wiphy_register() 935 if (WARN_ON(!iftd->types_mask)) in wiphy_register() 937 if (WARN_ON(types & iftd->types_mask)) in wiphy_register() 941 if (WARN_ON(!iftd->he_cap.has_he)) in wiphy_register() 944 types |= iftd->types_mask; in wiphy_register() 947 have_he = iftd->he_cap.has_he; in wiphy_register() 950 iftd->he_cap.has_he; in wiphy_register() 952 has_ap = iftd->types_mask & ap_bits; in wiphy_register() 953 has_non_ap = iftd->types_mask & ~ap_bits; in wiphy_register() [all …]
|
H A D | scan.c | 814 const struct ieee80211_sband_iftype_data *iftd; in cfg80211_scan_6ghz() local 822 iftd = ieee80211_get_sband_iftype_data(rdev->wiphy.bands[NL80211_BAND_6GHZ], in cfg80211_scan_6ghz() 824 if (!iftd || !iftd->he_cap.has_he) in cfg80211_scan_6ghz()
|
H A D | nl80211.c | 1949 const struct ieee80211_sband_iftype_data *iftd; in nl80211_send_band_rateinfo() local 1955 for_each_sband_iftype_data(sband, i, iftd) { in nl80211_send_band_rateinfo() 1962 err = nl80211_send_iftype_data(msg, sband, iftd); in nl80211_send_band_rateinfo()
|
/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-nvm-utils.h | 56 } iftd; member
|
H A D | iwl-nvm-parse.c | 1112 BUILD_BUG_ON(sizeof(data->iftd.low) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab() 1113 BUILD_BUG_ON(sizeof(data->iftd.high) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab() 1114 BUILD_BUG_ON(sizeof(data->iftd.uhb) != sizeof(iwl_he_eht_capa)); in iwl_init_he_hw_capab() 1118 iftype_data = data->iftd.low; in iwl_init_he_hw_capab() 1121 iftype_data = data->iftd.high; in iwl_init_he_hw_capab() 1124 iftype_data = data->iftd.uhb; in iwl_init_he_hw_capab()
|
/linux/net/mac80211/ |
H A D | main.c | 1240 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_register_hw() local 1287 for_each_sband_iftype_data(sband, i, iftd) { in ieee80211_register_hw() 1290 supp_he = supp_he || iftd->he_cap.has_he; in ieee80211_register_hw() 1291 supp_eht = supp_eht || iftd->eht_cap.has_eht; in ieee80211_register_hw() 1301 if (iftd->he_cap.has_he && in ieee80211_register_hw() 1302 iftd->types_mask & (BIT(NL80211_IFTYPE_STATION) | in ieee80211_register_hw() 1306 !(iftd->he_cap.he_cap_elem.phy_cap_info[0] & he_40_mhz_cap)) in ieee80211_register_hw()
|
H A D | mesh.c | 620 const struct ieee80211_sband_iftype_data *iftd; in mesh_add_he_6ghz_cap_ie() local 626 iftd = ieee80211_get_sband_iftype_data(sband, in mesh_add_he_6ghz_cap_ie() 629 if (!iftd) in mesh_add_he_6ghz_cap_ie()
|
H A D | util.c | 2561 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_put_he_6ghz_cap() local 2572 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_put_he_6ghz_cap() 2573 if (!iftd) in ieee80211_put_he_6ghz_cap() 2577 if (!iftd->he_6ghz_capa.capa) in ieee80211_put_he_6ghz_cap() 2580 cap = iftd->he_6ghz_capa.capa; in ieee80211_put_he_6ghz_cap()
|
H A D | mlme.c | 1434 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_assoc_link_elems() local 1474 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_assoc_link_elems() 1594 if (iftd && iftd->vendor_elems.data && iftd->vendor_elems.len) in ieee80211_assoc_link_elems() 1595 skb_put_data(skb, iftd->vendor_elems.data, iftd->vendor_elems.len); in ieee80211_assoc_link_elems() 1803 const struct ieee80211_sband_iftype_data *iftd; in ieee80211_send_assoc() local 1819 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_send_assoc() 1820 if (iftd) in ieee80211_send_assoc() 1821 size += iftd->vendor_elems.len; in ieee80211_send_assoc()
|
/linux/include/net/ |
H A D | cfg80211.h | 593 const struct ieee80211_sband_iftype_data *iftd, in _ieee80211_set_sband_iftype_data() argument 596 sband->iftype_data = (const void __iftd __force *)iftd; in _ieee80211_set_sband_iftype_data() 605 #define ieee80211_set_sband_iftype_data(sband, iftd) \ argument 606 _ieee80211_set_sband_iftype_data(sband, iftd, ARRAY_SIZE(iftd)) 614 #define for_each_sband_iftype_data(sband, i, iftd) \ argument 615 for (i = 0, iftd = (const void __force *)&(sband)->iftype_data[i]; \ 617 i++, iftd = (const void __force *)&(sband)->iftype_data[i])
|