Author: adrian
Date: Sat Mar 19 00:46:10 2011
New Revision: 219767
URL: http://svn.freebsd.org/changeset/base/219767
Log:
Add debugging messages to the AR5416 ANI code that's found in the AR5212 ANI
code.
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 Sat Mar 19 00:35:11
2011 (r219766)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c Sat Mar 19 00:46:10
2011 (r219767)
@@ -855,10 +855,16 @@ ar5416AniPoll(struct ath_hal *ah, const
/* check to see if need to raise immunity */
if (aniState->ofdmPhyErrCount > aniState->listenTime *
params->ofdmTrigHigh / 1000) {
+ HALDEBUG(ah, HAL_DEBUG_ANI,
+ "%s: OFDM err %u listenTime %u\n", __func__,
+ aniState->ofdmPhyErrCount, aniState->listenTime);
ar5416AniOfdmErrTrigger(ah);
ar5416AniRestart(ah, aniState);
} else if (aniState->cckPhyErrCount > aniState->listenTime *
params->cckTrigHigh / 1000) {
+ HALDEBUG(ah, HAL_DEBUG_ANI,
+ "%s: CCK err %u listenTime %u\n", __func__,
+ aniState->ofdmPhyErrCount, aniState->listenTime);
ar5416AniCckErrTrigger(ah);
ar5416AniRestart(ah, aniState);
}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"