AR9280: ar5416PerCalibrationN: NF calibration didn't finish; delaying CCA

Adrian Chadd adrian at freebsd.org
Mon Oct 31 01:05:41 UTC 2011


.. hah, I should've not edited the patch by hand.

It should patch sys/dev/ath/ath_hal/ar5416/ar5416_ani.c, obviously.

That should quieten the OFDM errors, but I think this a symptom of
something else on the radio side of things.
I'll do some more tinkering in a couple of days. I remember changing
the AR9280 calibration code to match what's in the Linux and Atheros
reference drivers; maybe the older AR9280 calibration code (which does
a few AGC calibrations, rather than just one) works better in this
instance.


Adrian

On 31 October 2011 08:57, Adrian Chadd <adrian at freebsd.org> wrote:
> Just try this patch:
>
> Index: sys/dev/ath/ath_hal/ar5416_ani.c
> ===================================================================
> --- sys/dev/ath/ath_hal/ar5416_ani.c    (revision 226822)
> +++ sys/dev/ath/ath_hal/ar5416_ani.c    (working copy)
> @@ -611,8 +611,8 @@
>                ar5416AniControl(ah, HAL_ANI_NOISE_IMMUNITY_LEVEL, 0);
>                ar5416AniControl(ah, HAL_ANI_SPUR_IMMUNITY_LEVEL, 0);
>                ar5416AniControl(ah, HAL_ANI_OFDM_WEAK_SIGNAL_DETECTION,
> -                       AH_TRUE);
> -               ar5416AniControl(ah, HAL_ANI_CCK_WEAK_SIGNAL_THR, AH_FALSE);
> +                       AH_FALSE);
> +               ar5416AniControl(ah, HAL_ANI_CCK_WEAK_SIGNAL_THR, AH_TRUE);
>                ar5416AniControl(ah, HAL_ANI_FIRSTEP_LEVEL, 0);
>                ichan->privFlags |= CHANNEL_ANI_SETUP;
>        }
>


More information about the freebsd-wireless mailing list