Lines Matching defs:sband

1656 			 const struct ieee80211_supported_band *sband,
1680 if (sband->band == NL80211_BAND_6GHZ &&
1690 struct ieee80211_supported_band *sband,
1698 if (sband->ht_cap.ht_supported &&
1700 sizeof(sband->ht_cap.mcs),
1701 &sband->ht_cap.mcs) ||
1703 sband->ht_cap.cap) ||
1705 sband->ht_cap.ampdu_factor) ||
1707 sband->ht_cap.ampdu_density)))
1711 if (sband->vht_cap.vht_supported &&
1713 sizeof(sband->vht_cap.vht_mcs),
1714 &sband->vht_cap.vht_mcs) ||
1716 sband->vht_cap.cap)))
1719 if (large && sband->n_iftype_data) {
1728 for (i = 0; i < sband->n_iftype_data; i++) {
1735 err = nl80211_send_iftype_data(msg, sband,
1736 &sband->iftype_data[i]);
1747 if (large && sband->edmg_cap.channels &&
1749 sband->edmg_cap.channels) ||
1751 sband->edmg_cap.bw_config)))
1760 for (i = 0; i < sband->n_bitrates; i++) {
1765 rate = &sband->bitrates[i];
2253 struct ieee80211_supported_band *sband;
2259 sband = rdev->wiphy.bands[band];
2261 if (!sband)
2270 if (nl80211_send_band_rateinfo(msg, sband,
2285 i < sband->n_channels;
2292 chan = &sband->channels[i];
2303 if (i < sband->n_channels)
4421 static u32 rateset_to_mask(struct ieee80211_supported_band *sband,
4431 for (ridx = 0; ridx < sband->n_bitrates; ridx++) {
4433 &sband->bitrates[ridx];
4439 if (ridx == sband->n_bitrates)
4446 static bool ht_rateset_to_mask(struct ieee80211_supported_band *sband,
4466 if (sband->ht_cap.mcs.rx_mask[ridx] & rbit)
4509 static bool vht_set_mcs_mask(struct ieee80211_supported_band *sband,
4513 u16 tx_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map);
4517 if (!sband->vht_cap.vht_supported)
4586 struct ieee80211_supported_band *sband,
4595 he_cap = ieee80211_get_he_iftype_cap(sband, wdev->iftype);
4627 struct ieee80211_supported_band *sband;
4635 sband = rdev->wiphy.bands[i];
4637 if (!sband)
4640 mask->control[i].legacy = (1 << sband->n_bitrates) - 1;
4642 sband->ht_cap.mcs.rx_mask,
4645 if (sband->vht_cap.vht_supported) {
4646 vht_tx_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map);
4650 he_cap = ieee80211_get_he_iftype_cap(sband, wdev->iftype);
4675 sband = rdev->wiphy.bands[band];
4676 if (sband == NULL)
4686 sband,
4695 sband,
4703 sband,
4715 !he_set_mcs_mask(info, wdev, sband,
4732 ieee80211_get_he_iftype_cap(sband, wdev->iftype)))
10008 struct ieee80211_supported_band *sband;
10010 sband = wiphy->bands[band];
10011 if (!sband)
10014 for (i = 0; i < sband->n_bitrates; i++) {
10015 if (sband->bitrates[i].bitrate == rateval) {
10113 struct ieee80211_supported_band *sband =
10116 err = ieee80211_get_ratemask(sband, rates, n_rates,
11709 struct ieee80211_supported_band *sband;
11714 sband = rdev->wiphy.bands[setup.chandef.chan->band];
11716 err = ieee80211_get_ratemask(sband, rates, n_rates,