minstrel: Don't count short retries as rate failures. These only specify
authornbd <nbd@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 23 Apr 2008 00:26:54 +0000 (00:26 +0000)
committernbd <nbd@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 23 Apr 2008 00:26:54 +0000 (00:26 +0000)
RTS/CTS failures which are rate independent.

Acked-by: Derek Smithies
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3562 0192ed92-7a03-0410-a25b-9323aeb14dbd

ath_rate/minstrel/minstrel.c

index 7e73aca8abb24e2883de7fdc7f9fce2b1d15aa6e..67e12464cb318b4fd2e5d3c3fd8b8773c5994cd7 100644 (file)
@@ -483,7 +483,7 @@ ath_rate_tx_complete(struct ath_softc *sc,
                /* 'tries' is the total number of times we have endeavoured to
                 * send this packet, and is a sum of the #attempts at each
                 * level in the multi-rate retry chain. */
-               tries = ts->ts_shortretry + ts->ts_longretry + 1;
+               tries = ts->ts_longretry + 1;
 
                if (sn->num_rates <= 0) {
                        DPRINTF(sc, "%s: " MAC_FMT " %s no rates yet\n", dev_info,