How to share rfkill file descriptor between stations on same phy?

Ben Greear greearb
Fri Jan 6 09:04:23 PST 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
construct?

Thanks,
Ben

>
> johannes
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com




More information about the Hostap mailing list