Date: Sat, 19 Mar 2011 00:46:11 +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: r219767 - head/sys/dev/ath/ath_hal/ar5416 Message-ID: <201103190046.p2J0kBP9085211@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103190046.p2J0kBP9085211>