if_ath - should it be compiled without ath_hal support?
Adrian Chadd
adrian at freebsd.org
Mon Aug 29 00:52:31 UTC 2011
On 29 August 2011 08:42, Garrett Cooper <yanegomi at gmail.com> wrote:
>> Which NIC is this for again? AR9285?
>
> Yup:
Hm, the code which sets rs_antenna should set it to something valid
(in ar5416/ar5416_recv.c) :
rs->rs_antenna = MS(ads->ds_rxstatus3, AR_RxAntenna);
and that's an 24 bit field.
And that code needed to be called and have it return HAL_OK for it to be used.
So somehow your antenna configuration at the time of the crash was .. strange.
Let me see why exactly that would have such a configuration and I'll
get back to you.
(It may be that a simple array bounds check is enough.)
Adrian
Adrian
More information about the freebsd-current
mailing list