Lines Matching refs:rate
71 * based on current tx rate instead of the base rate.
75 * rate -> duration table. This mapping is hw-based so
79 * ah->ah_ack_bitrate_high to true else base rate is
106 * @rate: The @struct ieee80211_rate
109 * Calculate tx duration of a frame given it's rate and length
115 int len, struct ieee80211_rate *rate, bool shortpre)
124 NULL, band, len, rate);
134 bitrate = rate->bitrate;
162 /* Bit rate is in 100Kbits */
262 * ath5k_hw_write_rate_duration() - Fill rate code to duration table
265 * Write the rate code to duration table upon hw reset. This is a helper for
267 * the hardware, based on current mode, for each rate. The rates which are
269 * different rate code so we write their value twice (one for long preamble
280 struct ieee80211_rate *rate;
285 /* Write rate duration table */
291 rate = &ah->sbands[band].bitrates[ack_rates_high[i]];
294 rate = &ah->sbands[band].bitrates[0];
297 rate = &ah->sbands[band].bitrates[4];
300 reg = AR5K_RATE_DUR(rate->hw_value);
304 * its 14 bytes. Note we use the control rate and not the
305 * actual rate for this rate. See mac80211 tx.c
307 * what rate we should choose to TX ACKs. */
309 rate, false);
313 if (!(rate->flags & IEEE80211_RATE_SHORT_PREAMBLE))
316 tx_time = ath5k_hw_get_frame_duration(ah, band, 10, rate, true);
962 /* Write rate duration table only on AR5212 and if