How to share rfkill file descriptor between stations on same phy?
greearb at candelatech.com
Fri Jan 6 12:04:23 EST 2012
On 01/06/2012 02:42 AM, Johannes Berg wrote:
> On Thu, 2012-01-05 at 11:04 -0800, Ben Greear wrote:
>> I'm looking into decreasing duplicated file-descriptors in
>> the netlink driver again. Currently, every virtual station has
>> an rfkill data structure, but it seems to me that really
>> we only need one per phy.
>> Does that seem like a valid assumption?
>> Any suggestions on how to go about doing this?
> Well ... If you look at the rfkill code in detail you'll find that it
> doesn't even care about *which* WLAN device was blocked.
Yes, but that seems like something someone might want
to fix one day, so I was thinking a per-phy rfkill might
be a useful way to go about it.
But for now, maybe just put the rfkill logic in the global
> HostAP mailing list
> HostAP at lists.shmoo.com
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the HostAP