Date: Tue, 10 Aug 2010 19:48:05 -0400 From: jhell <jhell@dataix.net> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: [CFT] if_ath updates - ar5416 (macbook pro, etc) Message-ID: <4C61E535.3000706@dataix.net> In-Reply-To: <AANLkTinAWNc370VOOMkJPh63sh%2BOeesXcTcrV1r6ztL4@mail.gmail.com> References: <AANLkTimoJur-6cLChMepaFyUpPSncx2QCsgmQnm2r99j@mail.gmail.com> <AANLkTinAWNc370VOOMkJPh63sh%2BOeesXcTcrV1r6ztL4@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/10/2010 03:58, Adrian Chadd wrote: > On 10 August 2010 15:51, Adrian Chadd <adrian.chadd@gmail.com> wrote: >> Hi everyone, >> >> I'm committing some updates to the if_ath and ath_hal code. >> >> I've just committed updates to the AR5416 register setup values. I'd >> appreciate some testing by AR5416 users - eg macbook pro users - to >> ensure this hasn't broken functionality. > > I've also started merging in general if_ath changes; so please test > the ath code in -head and let me know if I've introduced any > regressions. > I have applied the following (r211136) to my local stable/8 branch and has proven to be an improvement with no drawbacks. diff -r 7d9664d4ac99 sys/dev/ath/if_ath.c --- a/sys/dev/ath/if_ath.c Tue Aug 10 16:41:55 2010 -0400 +++ b/sys/dev/ath/if_ath.c Tue Aug 10 19:39:25 2010 -0400 @@ -5418,6 +5418,7 @@ longCal = (ticks - sc->sc_lastlongcal >= ath_longcalinterval*hz); if (longCal) { sc->sc_stats.ast_per_cal++; + sc->sc_lastlongcal = ticks; if (ath_hal_getrfgain(ah) == HAL_RFGAIN_NEED_CHANGE) { /* * Rfgain is out of bounds, reset the chip @@ -5466,7 +5467,6 @@ nextcal *= 10; } else { nextcal = ath_longcalinterval*hz; - sc->sc_lastlongcal = ticks; if (sc->sc_lastcalreset == 0) sc->sc_lastcalreset = sc->sc_lastlongcal; else if (ticks - sc->sc_lastcalreset >= ath_resetcalinterval*hz) As for the rest I can not vouch for unless you give me a specific patch to test but I am willing to merge from head to my local tree at any given point in time if you can give some revisions you would like tested. You "I believe" made it possible for me to use this card within a week that I had reported it ~2007-2008 so I and my card are at your disposal. Thank you. -- jhell,v
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C61E535.3000706>