From 4e2c29a3467070580f73ca8802b0764e0e211983 Mon Sep 17 00:00:00 2001 From: adrian Date: Wed, 28 Nov 2012 06:55:34 +0000 Subject: Until I figure out what to do here, remind myself that this needs some rate control 'adjustment' when NOACK is set. --- sys/dev/ath/if_ath_tx.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'sys/dev/ath') 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. -- cgit v1.1