Re: if_ath - should it be compiled without ath_hal support?

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Mon, 29 Aug 2011 08:52:29 +0800
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
Received on Sun Aug 28 2011 - 22:52:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:17 UTC