Lines Matching refs:rate
43 int rate, mrate, erp, dur, i; in ieee80211_duration() local
51 if (tx->rate.flags & IEEE80211_TX_RC_MCS) in ieee80211_duration()
55 if (WARN_ON_ONCE(tx->rate.idx < 0)) in ieee80211_duration()
59 txrate = &sband->bitrates[tx->rate.idx]; in ieee80211_duration()
116 rate = -1; in ieee80211_duration()
126 rate = r->bitrate; in ieee80211_duration()
150 if (rate == -1) { in ieee80211_duration()
153 rate = mrate; in ieee80211_duration()
164 dur = ieee80211_frame_duration(sband->band, 10, rate, erp, in ieee80211_duration()
700 struct ieee80211_tx_rate rate = { in ieee80211_tx_h_rate_ctrl() local
701 .idx = ratetbl->rate[0].idx, in ieee80211_tx_h_rate_ctrl()
702 .flags = ratetbl->rate[0].flags, in ieee80211_tx_h_rate_ctrl()
703 .count = ratetbl->rate[0].count in ieee80211_tx_h_rate_ctrl()
706 if (ratetbl->rate[0].idx < 0) in ieee80211_tx_h_rate_ctrl()
709 tx->rate = rate; in ieee80211_tx_h_rate_ctrl()
714 tx->rate = info->control.rates[0]; in ieee80211_tx_h_rate_ctrl()
718 txrc.reported_rate = tx->rate; in ieee80211_tx_h_rate_ctrl()