Search Linux Wireless

Re: AR6k: to rfkill or not to rfkill ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 18 Dec 2008, Werner Almesberger wrote:
> In Openmoko, we're wondering whether we should make the Atheros AR6k
> driver register as an rfkill controller or not, and if we do it,
> what semantics this should have. I'm looking for advice here.

There is one screening rule that does help:

Is that a way you can program the device that *ENSURES* without any doubt,
that it will never emit energy off the transmitter?

If the answer is no, you are not to add an rfkill controller. It is that
simple (at least with the current rfkill core).

If the answer is yes, then you can consider adding an rfkill controller.

> If the answer is "yes", would the following semantics be right for
> the disabled state ?
> 
> - we de-associate
> - we stop scanning
> - all ioctls still work as usual, but they have no effect on
>   association and scanning until rfkill re-enables the device

If your rfkill controller has been set to "block the radio", you must NOT
allow any energy to be emmited by the transmitter.  This is all that
matters.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux