Date: Thu, 27 Sep 2012 06:05:55 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r240984 - head/sys/dev/ath/ath_hal/ar5416 Message-ID: <201209270605.q8R65trH063761@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209270605.q8R65trH063761>