Lines Matching refs:band
58 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
61 if (sband->band == NL80211_BAND_S1GHZ) { in rate_control_rate_init()
101 sband = local->hw.wiphy->bands[st->info->band]; in rate_control_tx_status()
299 enum nl80211_band band; in ieee80211_check_rate_mask() local
304 band = link->conf->chanreq.oper.chan->band; in ieee80211_check_rate_mask()
305 if (band == NL80211_BAND_S1GHZ) { in ieee80211_check_rate_mask()
313 user_mask = sdata->rc_rateidx_mask[band]; in ieee80211_check_rate_mask()
314 sband = local->hw.wiphy->bands[band]; in ieee80211_check_rate_mask()
321 basic_rates, user_mask, band); in ieee80211_check_rate_mask()
322 sdata->rc_rateidx_mask[band] = (1 << sband->n_bitrates) - 1; in ieee80211_check_rate_mask()
341 if (sband->band == NL80211_BAND_S1GHZ) { in rc_send_low_basicrate()
375 if (sband->band == NL80211_BAND_S1GHZ) { in __rate_control_send_low()
381 if ((sband->band == NL80211_BAND_2GHZ) && in __rate_control_send_low()
393 if (!rate_supported(sta, sband->band, i)) in __rate_control_send_low()
402 sta ? sta->deflink.supp_rates[sband->band] : -1, in __rate_control_send_low()
403 sband->band, in __rate_control_send_low()
428 mcast_rate = txrc->bss_conf->mcast_rate[sband->band]; in rate_control_send_low()
783 *mask = sdata->rc_rateidx_mask[sband->band]; in rate_control_cap_mask()
791 !sdata->rc_has_mcs_mask[sband->band] && in rate_control_cap_mask()
792 !sdata->rc_has_vht_mcs_mask[sband->band]) in rate_control_cap_mask()
795 if (sdata->rc_has_mcs_mask[sband->band]) in rate_control_cap_mask()
796 memcpy(mcs_mask, sdata->rc_rateidx_mcs_mask[sband->band], in rate_control_cap_mask()
801 if (sdata->rc_has_vht_mcs_mask[sband->band]) in rate_control_cap_mask()
802 memcpy(vht_mask, sdata->rc_rateidx_vht_mcs_mask[sband->band], in rate_control_cap_mask()
812 *mask &= sta->deflink.supp_rates[sband->band]; in rate_control_cap_mask()
907 sband = sdata->local->hw.wiphy->bands[info->band]; in ieee80211_get_tx_rates()
913 mask = sdata->rc_rateidx_mask[info->band]; in ieee80211_get_tx_rates()