freebsd-nq/sys/dev/ath
Adrian Chadd b4967c9b6f [ath_rate_sample] Have the final attempted rate in 11n modes to be the lowest one.
Right now ath_rate_sample has a fixed rate schedule, rather than the minstrel_ht
style "best, good, most reliable" triplet.  So, if higher rates are tried then
it'll not fail back to a lower MCS rate in that transmission schedule.

This means that in low SNR situations it'll not easily drop to MCS0 unless enough
transmissions occur to allow rate control to eventually decide to drop; and if
it's TCP traffic it'll get slowed down because of packet loss.

It's worse for 2-stream and 3-stream rates; it doesn't ever fall back to lower
stream rates, and these higher stream rates required higher SNR to work.

So instead let's (for now?) have each of the 11n transmit rates use MCS0 as
the last attempt. ath_rate_sample will quickly see that rate succeeds more
and will move to it much quicker.

Testing:

* AR9344 (Wasp) - 2G STA mode
2019-05-05 06:32:40 +00:00
..
ath_dfs/null
ath_hal [ath] [ath_hal] [ath_hal_9300] Extend the start PCU receive to handle resetting ANI. 2019-04-21 02:36:01 +00:00
ath_rate [ath_rate_sample] Have the final attempted rate in 11n modes to be the lowest one. 2019-05-05 06:32:40 +00:00
ah_osdep_ar5210.c
ah_osdep_ar5211.c
ah_osdep_ar5212.c
ah_osdep_ar5416.c
ah_osdep_ar9300.c
ah_osdep.c
ah_osdep.h
if_ath_ahb.c
if_ath_alq.c
if_ath_alq.h
if_ath_beacon.c
if_ath_beacon.h
if_ath_btcoex_mci.c
if_ath_btcoex_mci.h
if_ath_btcoex.c
if_ath_btcoex.h
if_ath_debug.c
if_ath_debug.h
if_ath_descdma.c
if_ath_descdma.h
if_ath_dfs.c
if_ath_drv.c
if_ath_ioctl.c
if_ath_ioctl.h
if_ath_keycache.c
if_ath_keycache.h
if_ath_led.c
if_ath_led.h
if_ath_lna_div.c
if_ath_lna_div.h
if_ath_misc.h
if_ath_pci_devlist.h
if_ath_pci.c
if_ath_rate.c
if_ath_rx_edma.c [ath] [ath_hal] [ath_hal_9300] Extend the start PCU receive to handle resetting ANI. 2019-04-21 02:36:01 +00:00
if_ath_rx_edma.h
if_ath_rx.c [ath] [ath_rate] Fix ANI calibration during non-ACTIVE states; start poking at rate control 2019-05-05 04:56:37 +00:00
if_ath_rx.h
if_ath_spectral.c
if_ath_spectral.h
if_ath_sysctl.c
if_ath_sysctl.h
if_ath_tdma.c
if_ath_tdma.h
if_ath_tsf.h
if_ath_tx_edma.c [ath] [ath_rate] Fix ANI calibration during non-ACTIVE states; start poking at rate control 2019-05-05 04:56:37 +00:00
if_ath_tx_edma.h
if_ath_tx_ht.c
if_ath_tx_ht.h
if_ath_tx.c
if_ath_tx.h
if_ath.c [ath] [ath_rate] Fix ANI calibration during non-ACTIVE states; start poking at rate control 2019-05-05 04:56:37 +00:00
if_athdfs.h
if_athioctl.h
if_athrate.h [ath] [ath_rate] Fix ANI calibration during non-ACTIVE states; start poking at rate control 2019-05-05 04:56:37 +00:00
if_athvar.h [ath] [ath_rate] Fix ANI calibration during non-ACTIVE states; start poking at rate control 2019-05-05 04:56:37 +00:00