From: nbd Date: Wed, 23 Apr 2008 00:26:54 +0000 (+0000) Subject: minstrel: Don't count short retries as rate failures. These only specify X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=cff0e47587ae0d77bd2d5c39c5998e7d531a1690;p=madwifi%2F.git minstrel: Don't count short retries as rate failures. These only specify 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 --- diff --git a/ath_rate/minstrel/minstrel.c b/ath_rate/minstrel/minstrel.c index 7e73aca..67e1246 100644 --- a/ath_rate/minstrel/minstrel.c +++ b/ath_rate/minstrel/minstrel.c @@ -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,