Lines Matching defs:rate

161 ar5416RateToRateTable(struct ath_hal *ah, uint8_t rate, HAL_BOOL is_ht40)
167 switch (rate) {
186 switch (rate) {
209 if ((rate & 0x80) && is_ht40) {
210 return (AH5416(ah)->ah_ratesArray[rateHt40_0 + (rate & 0x7)]);
211 } else if (rate & 0x80) {
212 return (AH5416(ah)->ah_ratesArray[rateHt20_0 + (rate & 0x7)]);
220 * Return the TX power to be used for the given rate/chains/TX power.
226 ar5416GetTxRatePower(struct ath_hal *ah, uint8_t rate, uint8_t tx_chainmask,
269 if (rate == 0x19 || rate == 0x1a || rate == 0x1b ||
270 rate == (0x19 | 0x04) || rate == (0x1a | 0x04) ||
271 rate == (0x1b | 0x04)) {
278 * PHY power tables are. So, clamp the value based on that rate.
280 max_txpower = ar5416RateToRateTable(ah, rate, is_ht40);
283 "rate = 0x%x , is_ht40 = %d\n",
287 rate,
356 * It'll get over-ridden by the multi-rate TX power setup.
402 "%s: invalid rts/cts rate 0x%x\n",
482 * copy the multi-rate transmit parameters from
689 /* hack to copy rate info to last desc for later processing */
767 * Extract the transmit rate used and mark the rate as
768 * ``alternate'' if it wasn't the series 0 rate.
801 * final series used. When doing multi-rate retry we must
938 /* Modify the tx power field for rate 0 */
985 uint8_t rate;
995 * XXX It'd be nice if I were passed in the rate scenario
998 rate = MS(ads->ds_ctl3, AR_XmitRate0);
1006 burstDur = baDurationDelta[HT_RC_2_MCS(rate)];
1073 uint8_t rate;
1077 * XXX It'd be nice if I were passed in the rate scenario
1080 rate = MS(ads->ds_ctl3, AR_XmitDataTries0);
1087 burstDur = baDurationDelta[HT_RC_2_MCS(rate)];
1096 * Retrieve the rate table from the given TX completion descriptor