Date: Fri, 9 Jan 2004 12:01:15 -0800 (PST) From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 45027 for review Message-ID: <200401092001.i09K1E6O052253@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=45027 Change 45027 by sam@sam_ebb on 2004/01/09 12:01:07 trust the xmit retry counts that are returned for the xmit descriptors; this makes the rate control algorithm do a better job of tracking rssi (but should be using rssi directly anyway) Affected files ... .. //depot/projects/netperf+sockets/sys/dev/ath/if_ath.c#11 edit Differences ... ==== //depot/projects/netperf+sockets/sys/dev/ath/if_ath.c#11 (text+ko) ==== @@ -2263,8 +2263,7 @@ lr = ds->ds_txstat.ts_longretry; sc->sc_stats.ast_tx_shortretry += sr; sc->sc_stats.ast_tx_longretry += lr; - if (sr + lr) - an->an_tx_retr++; + an->an_tx_retr += sr + lr; /* * Reclaim reference to node. *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401092001.i09K1E6O052253>