Lines Matching refs:band
53 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band];
56 if (sband->band == NL80211_BAND_S1GHZ) {
81 sband = local->hw.wiphy->bands[st->info->band];
280 enum nl80211_band band;
285 band = link->conf->chandef.chan->band;
286 if (band == NL80211_BAND_S1GHZ) {
294 user_mask = sdata->rc_rateidx_mask[band];
295 sband = local->hw.wiphy->bands[band];
301 "no overlap between basic rates (0x%x) and user mask (0x%x on band %d) - clearing the latter",
302 basic_rates, user_mask, band);
303 sdata->rc_rateidx_mask[band] = (1 << sband->n_bitrates) - 1;
322 if (sband->band == NL80211_BAND_S1GHZ) {
356 if (sband->band == NL80211_BAND_S1GHZ) {
362 if ((sband->band == NL80211_BAND_2GHZ) &&
374 if (!rate_supported(sta, sband->band, i))
381 "no supported rates for sta %pM (0x%x, band %d) in rate_mask 0x%x with flags 0x%x\n",
383 sta ? sta->deflink.supp_rates[sband->band] : -1,
384 sband->band,
409 mcast_rate = txrc->bss_conf->mcast_rate[sband->band];
764 *mask = sdata->rc_rateidx_mask[sband->band];
772 !sdata->rc_has_mcs_mask[sband->band] &&
773 !sdata->rc_has_vht_mcs_mask[sband->band])
776 if (sdata->rc_has_mcs_mask[sband->band])
777 memcpy(mcs_mask, sdata->rc_rateidx_mcs_mask[sband->band],
782 if (sdata->rc_has_vht_mcs_mask[sband->band])
783 memcpy(vht_mask, sdata->rc_rateidx_vht_mcs_mask[sband->band],
793 *mask &= sta->deflink.supp_rates[sband->band];
887 sband = sdata->local->hw.wiphy->bands[info->band];
894 sdata->rc_rateidx_mask[info->band]);