PERFORCE change 45027 for review

Sam Leffler sam at FreeBSD.org
Fri Jan 9 12:01:18 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=45027

Change 45027 by sam at 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.
 			 *


More information about the p4-projects mailing list