Lines Matching defs:rate
159 ar5416RateToRateTable(struct ath_hal *ah, uint8_t rate, HAL_BOOL is_ht40)
165 switch (rate) {
184 switch (rate) {
207 if ((rate & 0x80) && is_ht40) {
208 return (AH5416(ah)->ah_ratesArray[rateHt40_0 + (rate & 0x7)]);
209 } else if (rate & 0x80) {
210 return (AH5416(ah)->ah_ratesArray[rateHt20_0 + (rate & 0x7)]);
218 * Return the TX power to be used for the given rate/chains/TX power.
224 ar5416GetTxRatePower(struct ath_hal *ah, uint8_t rate, uint8_t tx_chainmask,
268 if (rate == 0x19 || rate == 0x1a || rate == 0x1b ||
269 rate == (0x19 | 0x04) || rate == (0x1a | 0x04) ||
270 rate == (0x1b | 0x04)) {
277 * PHY power tables are. So, clamp the value based on that rate.
279 max_txpower = ar5416RateToRateTable(ah, rate, is_ht40);
282 "rate = 0x%x , is_ht40 = %d\n",
286 rate,
399 "%s: invalid rts/cts rate 0x%x\n",
475 * copy the multi-rate transmit parameters from
682 /* hack to copy rate info to last desc for later processing */
760 * Extract the transmit rate used and mark the rate as
761 * ``alternate'' if it wasn't the series 0 rate.
794 * final series used. When doing multi-rate retry we must
931 /* Modify the tx power field for rate 0 */
978 uint8_t rate;
988 * XXX It'd be nice if I were passed in the rate scenario
991 rate = MS(ads->ds_ctl3, AR_XmitRate0);
999 burstDur = baDurationDelta[HT_RC_2_MCS(rate)];
1066 uint8_t rate;
1070 * XXX It'd be nice if I were passed in the rate scenario
1073 rate = MS(ads->ds_ctl3, AR_XmitDataTries0);
1080 burstDur = baDurationDelta[HT_RC_2_MCS(rate)];
1089 * Retrieve the rate table from the given TX completion descriptor