Lines Matching defs:sband
1812 const struct ieee80211_supported_band *sband,
1868 if (sband->band == NL80211_BAND_6GHZ &&
1883 struct ieee80211_supported_band *sband,
1891 if (sband->ht_cap.ht_supported &&
1893 sizeof(sband->ht_cap.mcs),
1894 &sband->ht_cap.mcs) ||
1896 sband->ht_cap.cap) ||
1898 sband->ht_cap.ampdu_factor) ||
1900 sband->ht_cap.ampdu_density)))
1904 if (sband->vht_cap.vht_supported &&
1906 sizeof(sband->vht_cap.vht_mcs),
1907 &sband->vht_cap.vht_mcs) ||
1909 sband->vht_cap.cap)))
1912 if (large && sband->n_iftype_data) {
1921 for (i = 0; i < sband->n_iftype_data; i++) {
1928 err = nl80211_send_iftype_data(msg, sband,
1929 &sband->iftype_data[i]);
1940 if (large && sband->edmg_cap.channels &&
1942 sband->edmg_cap.channels) ||
1944 sband->edmg_cap.bw_config)))
1953 for (i = 0; i < sband->n_bitrates; i++) {
1958 rate = &sband->bitrates[i];
1973 if (sband->band == NL80211_BAND_S1GHZ && sband->s1g_cap.s1g &&
1975 sizeof(sband->s1g_cap.cap),
1976 sband->s1g_cap.cap) ||
1978 sizeof(sband->s1g_cap.nss_mcs),
1979 sband->s1g_cap.nss_mcs)))
2537 struct ieee80211_supported_band *sband;
2543 sband = rdev->wiphy.bands[band];
2545 if (!sband)
2554 if (nl80211_send_band_rateinfo(msg, sband,
2569 i < sband->n_channels;
2576 chan = &sband->channels[i];
2587 if (i < sband->n_channels)
4932 static u32 rateset_to_mask(struct ieee80211_supported_band *sband,
4942 for (ridx = 0; ridx < sband->n_bitrates; ridx++) {
4944 &sband->bitrates[ridx];
4950 if (ridx == sband->n_bitrates)
4957 static bool ht_rateset_to_mask(struct ieee80211_supported_band *sband,
4977 if (sband->ht_cap.mcs.rx_mask[ridx] & rbit)
5020 static bool vht_set_mcs_mask(struct ieee80211_supported_band *sband,
5024 u16 tx_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map);
5028 if (!sband->vht_cap.vht_supported)
5108 struct ieee80211_supported_band *sband,
5118 he_cap = ieee80211_get_he_iftype_cap(sband, wdev->iftype);
5152 struct ieee80211_supported_band *sband;
5163 sband = rdev->wiphy.bands[i];
5165 if (!sband)
5168 mask->control[i].legacy = (1 << sband->n_bitrates) - 1;
5170 sband->ht_cap.mcs.rx_mask,
5173 if (sband->vht_cap.vht_supported) {
5174 vht_tx_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map);
5178 he_cap = ieee80211_get_he_iftype_cap(sband, wdev->iftype);
5203 sband = rdev->wiphy.bands[band];
5204 if (sband == NULL)
5214 sband,
5223 sband,
5232 sband,
5245 !he_set_mcs_mask(info, wdev, sband,
5264 ieee80211_get_he_iftype_cap(sband, wdev->iftype)))
11334 struct ieee80211_supported_band *sband;
11336 sband = wiphy->bands[band];
11337 if (!sband)
11340 for (i = 0; i < sband->n_bitrates; i++) {
11341 if (sband->bitrates[i].bitrate == rateval) {
11441 struct ieee80211_supported_band *sband =
11444 err = ieee80211_get_ratemask(sband, rates, n_rates,
13114 struct ieee80211_supported_band *sband;
13119 sband = rdev->wiphy.bands[setup.chandef.chan->band];
13121 err = ieee80211_get_ratemask(sband, rates, n_rates,