Lines Matching full:rate
210 * Fill in the rate array information based on the current
211 * node configuration and the choices made by the rate
215 * rate control code, but for now it can live here.
228 uint8_t rate; in ath_tx_rate_fill_rcflags() local
234 * We only do LDPC if the rate is 11n, both we and the in ath_tx_rate_fill_rcflags()
238 * it if any of the rate entries aren't 11n. in ath_tx_rate_fill_rcflags()
259 rate = rt->info[rc[i].rix].rateCode; in ath_tx_rate_fill_rcflags()
264 if ((! IS_HT_RATE(rate)) && bf->bf_state.bfs_shpream) in ath_tx_rate_fill_rcflags()
265 rate |= rt->info[rc[i].rix].shortPreamble; in ath_tx_rate_fill_rcflags()
270 rc[i].ratecode = rate; in ath_tx_rate_fill_rcflags()
279 if (! IS_HT_RATE(rate)) in ath_tx_rate_fill_rcflags()
283 if (IS_HT_RATE(rate)) { in ath_tx_rate_fill_rcflags()
320 (HT_RC_2_STREAMS(rate) == 1) && in ath_tx_rate_fill_rcflags()
327 * Dual / Triple stream rate? in ath_tx_rate_fill_rcflags()
329 if (HT_RC_2_STREAMS(rate) == 2) in ath_tx_rate_fill_rcflags()
331 else if (HT_RC_2_STREAMS(rate) == 3) in ath_tx_rate_fill_rcflags()
343 * on the MCS rate, SGI and channel width flags. in ath_tx_rate_fill_rcflags()
346 (HT_RC_2_MCS(rate) < 32)) { in ath_tx_rate_fill_rcflags()
360 ath_max_4ms_framelen[j][HT_RC_2_MCS(rate)]; in ath_tx_rate_fill_rcflags()
364 "%s: i=%d, rate=0x%x, flags=0x%x, max4ms=%d\n", in ath_tx_rate_fill_rcflags()
365 __func__, i, rate, rc[i].flags, rc[i].max4msframelen); in ath_tx_rate_fill_rcflags()
385 * Caller should make sure that the rate is HT.
391 * TODO: this should ensure that the rate control information
392 * HAS been setup for the first rate.
432 * per-rate, but for now we'll simply assume encryption is in ath_compute_num_delims()
467 * into a byte length, based on the rate in the subframe. in ath_compute_num_delims()
474 * on highest rate in rate series (i.e. first rate) to determine in ath_compute_num_delims()
476 * whether high rate is 20 or 40Mhz and half or full GI. in ath_compute_num_delims()
541 * It's the lowest of the four rate series 4ms frame length.
580 * Setup a 11n rate series structure
584 * This uses the rate series stuf from ath_tx_rate_fill_rcflags().
636 * Setup rate and TX power cap for this series. in ath_rateseries_setup()
638 series[i].Rate = rt->info[rc[i].rix].rateCode; in ath_rateseries_setup()
649 * 11n rate? Update 11n flags. in ath_rateseries_setup()
665 * legacy rate, then we should complain. Loudly. in ath_rateseries_setup()
675 , series[i].Rate in ath_rateseries_setup()
676 , HT_RC_2_STREAMS(series[i].Rate) in ath_rateseries_setup()
681 series[i].Rate |= in ath_rateseries_setup()
696 device_printf(sc->sc_dev ,"series %d: rate %x; tries %d; " in ath_rateseries_print()
699 series[i].Rate, in ath_rateseries_print()
710 * Setup the 11n rate scenario and burst duration for the given TX descriptor
714 * wrt what's passed into the rate scenario function.
727 /* Setup rate scenario */ in ath_buf_set_rate()
737 /* Set rate scenario */ in ath_buf_set_rate()
744 ctsrate, /* rts/cts rate */ in ath_buf_set_rate()
745 series, /* 11n rate series */ in ath_buf_set_rate()
776 * The rate series, descriptor setup, linking, etc is all done
780 * rate control.
836 * rate control decision that has been made. in ath_tx_form_aggr()
865 * if any active rate is non-HT. in ath_tx_form_aggr()