[Patch] Reflect state of rfkill switch in a sysctl for ath based card

Adrian Chadd adrian at freebsd.org
Tue Mar 13 17:30:05 UTC 2012


On 13 March 2012 04:11, Andre Albsmeier <Andre.Albsmeier at siemens.com> wrote:

>> Would you please create a PR and let me know what the PR number is?
>
> Well, there is a high probability that it might not work on
> non-5212 cards end even here it might fail (I can just test
> it with this Wistron CM9 card). Maybe someone with more
> knowledge about ath(4) (Sam?) might have quick look at it
> before...

Oh, I'm the ath(4) maintainer now and I'm pretty cluey in this area.

The AR5416 and later NICs have a similar looking GPIO rfkill setup but
the code isn't yet in the FreeBSD HAL.
I have it though, I just haven't ported it from the Atheros reference driver.

I'd prefer the rfkill method to be a HAL call, rather than assuming
it's a GPIO line. (I mean, it _is_ a GPIO line, but still.) In any
case, please create a PR for it now and we'll get it into -HEAD once
I've merged in rfkill support for the AR5416 and later NICs.

Thanks,


Adrian
(I work at Atheros now, so..)


More information about the freebsd-mobile mailing list