diff options
author | adrian <adrian@FreeBSD.org> | 2012-09-27 06:05:54 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-09-27 06:05:54 +0000 |
commit | 7d13dfe98920506c323a96331065dc05bcb0f3d6 (patch) | |
tree | 076724b1fd0fc8b96ba045dc42df3c6485581b73 | |
parent | ffd834ae9ab87bad91ee1123b98fc7de41f72a69 (diff) | |
download | FreeBSD-src-7d13dfe98920506c323a96331065dc05bcb0f3d6.zip FreeBSD-src-7d13dfe98920506c323a96331065dc05bcb0f3d6.tar.gz |
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.
-rw-r--r-- | sys/dev/ath/ath_hal/ar5416/ar5416_ani.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c b/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c index bea7eca..3f9bc69 100644 --- a/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c +++ b/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c @@ -874,8 +874,8 @@ ar5416AniGetListenTime(struct ath_hal *ah) */ 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; |