Search Linux Wireless

Re: rfkill vs. interface up

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

 



On Thu, 2009-05-21 at 11:39 -0400, Dan Williams wrote:

> That proposal sounds fine to me from a userspace perspective.  Sane
> implementations don't assume the interface is IFF_UP when they configure
> the device anyway (since it's not necessarily up at boot time or after
> hibernate for example), and since you need a reconfigure after rfkill,
> this seems reasonable.
> 
> You wouldn't have to give up on txpower either, you could simply map
> 'txpower off' to SW-rfkill, and 'txpower on' to un-SW-rfkill, where of
> course the interface would be !IFF_UP after 'txpower on' just like
> flipping the killswitch would.

Yeah, good point, that sounds better than having to give up on it -- the
key though is that we can't recover IFF_UP state when that happens; if
that's ok this should be fairly simple.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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