Lines Matching refs:rate
382 const struct ieee80211_tx_rate *rate, in sta_set_rate_info_tx() argument
386 if (rate->flags & IEEE80211_TX_RC_MCS) { in sta_set_rate_info_tx()
388 rinfo->mcs = rate->idx; in sta_set_rate_info_tx()
389 } else if (rate->flags & IEEE80211_TX_RC_VHT_MCS) { in sta_set_rate_info_tx()
391 rinfo->mcs = ieee80211_rate_get_vht_mcs(rate); in sta_set_rate_info_tx()
392 rinfo->nss = ieee80211_rate_get_vht_nss(rate); in sta_set_rate_info_tx()
397 rinfo->legacy = sband->bitrates[rate->idx].bitrate; in sta_set_rate_info_tx()
399 if (rate->flags & IEEE80211_TX_RC_40_MHZ_WIDTH) in sta_set_rate_info_tx()
401 if (rate->flags & IEEE80211_TX_RC_80_MHZ_WIDTH) in sta_set_rate_info_tx()
403 if (rate->flags & IEEE80211_TX_RC_160_MHZ_WIDTH) in sta_set_rate_info_tx()
405 if (rate->flags & IEEE80211_TX_RC_SHORT_GI) in sta_set_rate_info_tx()
1276 int rate = (params->supported_rates[i] & 0x7f) * 5; in sta_apply_parameters() local
1278 if (sband->bitrates[j].bitrate == rate) in sta_apply_parameters()
1946 int rate = (params->basic_rates[i] & 0x7f) * 5; in ieee80211_change_bss() local
1948 if (sband->bitrates[j].bitrate == rate) in ieee80211_change_bss()
2149 int rate[IEEE80211_NUM_BANDS]) in ieee80211_set_mcast_rate()
2153 memcpy(sdata->vif.bss_conf.mcast_rate, rate, in ieee80211_set_mcast_rate()