svn commit: r240984 - head/sys/dev/ath/ath_hal/ar5416

Adrian Chadd adrian at FreeBSD.org
Thu Sep 27 06:05:55 UTC 2012


Author: adrian
Date: Thu Sep 27 06:05:54 2012
New Revision: 240984
URL: http://svn.freebsd.org/changeset/base/240984

Log:
  Track the last ANI TX/RX sample correctly.
  
  This doesn't specifically fix the issue(s) i'm seeing in this 2GHz
  environment (where setting/increasing spur immunity causes OFDM restart
  errors to skyrocket through the roof; but leaving it at 0 would leave
  the environment cleaner..)
  
  Pointy-hat-to:	me, for committing this broken code in the first place.

Modified:
  head/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c	Thu Sep 27 05:39:42 2012	(r240983)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c	Thu Sep 27 06:05:54 2012	(r240984)
@@ -874,8 +874,8 @@ ar5416AniGetListenTime(struct ath_hal *a
 	 */
 	if (ANI_ENA(ah)) {
 		aniState->cycleCount = AH5416(ah)->ah_cycleCount;
-		aniState->txFrameCount = AH5416(ah)->ah_rxBusy;
-		aniState->rxFrameCount = AH5416(ah)->ah_txBusy;
+		aniState->rxFrameCount = AH5416(ah)->ah_rxBusy;
+		aniState->txFrameCount = AH5416(ah)->ah_txBusy;
 	}
 
 	return listenTime;


More information about the svn-src-all mailing list