Search Linux Wireless

Re: [RFC] rfkill: rewrite

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

 



On Monday 30 March 2009, Johannes Berg wrote:
>
>  * wimax
>    -> need help, seems to report rfkill states to input device?
>       don't understand

Not really. 

What it does is if the device exposes a hw rfkill key, export that 
key as an input device, as well as using it to report the state
change. 

So there are three main entry points:

wimax_report_rfkill_hw() -- device driver report to stack
  
   device reports a change in the hw rfkill key; switch the radio to
   whichever state AND report a key event through the input layer

wimax_report_rfkill_sw() -- device driver report to stack

   device reports a change in the sw rfkill state; this is needed for
   cases where the radio is shared amongst different technologies (wifi
   and wimax, for example, in the case of the 5150). When you turn on
   Wifi, WiMAX switches off (and vice versa).

   As well, if from SW you flip it off, this gets called back but does
   nothing as the state is updated already.

wimax_rfkill / wimax_rfkill_toggle_radio -- user interface

   The user wants to flip the SW switch on/off

-- 
Inaky
--
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