diff options
author | adrian <adrian@FreeBSD.org> | 2012-11-28 06:55:34 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-11-28 06:55:34 +0000 |
commit | 4e2c29a3467070580f73ca8802b0764e0e211983 (patch) | |
tree | bd572d1c3015e4578f5439a6debc235fa375fe58 /sys/dev/ath | |
parent | 66e23cadce86e52e14945dc1eba94a95fd5e7c5e (diff) | |
download | FreeBSD-src-4e2c29a3467070580f73ca8802b0764e0e211983.zip FreeBSD-src-4e2c29a3467070580f73ca8802b0764e0e211983.tar.gz |
Until I figure out what to do here, remind myself that this needs some
rate control 'adjustment' when NOACK is set.
Diffstat (limited to 'sys/dev/ath')
-rw-r--r-- | sys/dev/ath/if_ath_tx.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c index 1eaa6ba..41848c3 100644 --- a/sys/dev/ath/if_ath_tx.c +++ b/sys/dev/ath/if_ath_tx.c @@ -522,6 +522,16 @@ ath_tx_set_ratectrl(struct ath_softc *sc, struct ieee80211_node *ni, if (! bf->bf_state.bfs_ismrr) rc[1].tries = rc[2].tries = rc[3].tries = 0; +#if 0 + /* + * If NOACK is set, just set ntries=1. + */ + else if (bf->bf_state.bfs_txflags & HAL_TXDESC_NOACK) { + rc[1].tries = rc[2].tries = rc[3].tries = 0; + rc[0].tries = 1; + } +#endif + /* * Always call - that way a retried descriptor will * have the MRR fields overwritten. |