Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2011 12:05:40 +1100
From:      Adrian Chadd <adrian@freebsd.org>
To:        Berislav Purgar <bpurgar@gmail.com>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: AR9280: ar5416PerCalibrationN: NF calibration didn't finish; delaying CCA
Message-ID:  <CAJ-VmokEHAi7kmLcEfNcBjkX3EWGVeqPd34=oGsNcc7kv88kAQ@mail.gmail.com>
In-Reply-To: <CAJ-VmonhkcDOLKjrCsyJdD2kK_HmZNvREe7O=hfedu0B60m%2BKg@mail.gmail.com>
References:  <872994138.20111026222719@serebryakov.spb.ru> <CAJ-Vmonbsq35Jc=H_G%2BZKgVH1DvNSPkSKoJMLVG1vx7OcHdNaw@mail.gmail.com> <723076644.20111030221555@serebryakov.spb.ru> <CAAUsrB58quf83nTN2vs7BxmkZGNvZ49X62agTWJKNTD=%2B3CsAQ@mail.gmail.com> <CAJ-VmonhkcDOLKjrCsyJdD2kK_HmZNvREe7O=hfedu0B60m%2BKg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
.. 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@freebsd.org> wrote:
> Just try this patch:
>
> Index: sys/dev/ath/ath_hal/ar5416_ani.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- sys/dev/ath/ath_hal/ar5416_ani.c =A0 =A0(revision 226822)
> +++ sys/dev/ath/ath_hal/ar5416_ani.c =A0 =A0(working copy)
> @@ -611,8 +611,8 @@
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ar5416AniControl(ah, HAL_ANI_NOISE_IMMUNIT=
Y_LEVEL, 0);
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ar5416AniControl(ah, HAL_ANI_SPUR_IMMUNITY=
_LEVEL, 0);
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ar5416AniControl(ah, HAL_ANI_OFDM_WEAK_SIG=
NAL_DETECTION,
> - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 AH_TRUE);
> - =A0 =A0 =A0 =A0 =A0 =A0 =A0 ar5416AniControl(ah, HAL_ANI_CCK_WEAK_SIGNA=
L_THR, AH_FALSE);
> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 AH_FALSE);
> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 ar5416AniControl(ah, HAL_ANI_CCK_WEAK_SIGNA=
L_THR, AH_TRUE);
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ar5416AniControl(ah, HAL_ANI_FIRSTEP_LEVEL=
, 0);
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ichan->privFlags |=3D CHANNEL_ANI_SETUP;
> =A0 =A0 =A0 =A0}
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokEHAi7kmLcEfNcBjkX3EWGVeqPd34=oGsNcc7kv88kAQ>