Search Linux Wireless

Re: rfkill API

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

 



On 02/01/2011 08:35 PM, Ben Greear wrote:
Hello!

I was looking at using one rfkill socket in wpa_supplicant, instead
of one per vif.

Current wpa_supplicant code seems to treat the API as if there is only
as single rfkill object for the entire kernel. I would assume that
instead different NICs could have different rfkill status.

Is there any way to coorelate a netdevice (or devices)
to the rfkill->idx in the

struct rfkill_event {
u32 idx;
u8 type;
u8 op;
u8 soft;
u8 hard;
} STRUCT_PACKED;


?

Thanks,
Ben


Err, nevermind..looks like you can grub around in sysfs and find the phy,
and from there, find the devices....

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com
--
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