Search Linux Wireless

Re: Add netdev name to NL80211_CMD_STOP_AP event?

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

 



On 06/10/2015 02:39 PM, Johannes Berg wrote:
> On Wed, 2015-06-10 at 14:20 -0700, Ben Greear wrote:
>> While trying to make 'iw' able to print out something useful for
>> the 'stop_ap' event, I notice there is not really any human friendly
>> info in the message (just phy id (which may not match phy name), ifindex, and some other
>> wiphy related numeric ID.
>>
>> Any reason not to add the netdev name (NL80211_ATTR_IFNAME) to this and
>> related messages?
> 
> We're not really adding that *anywhere*, and you can trivially look it
> up based on the ifindex, so why bother?

I was thinking netdevice might go away before user-space can decode the
message ( I was assuming that on delete you would stop and very shortly
after that delete the netdev).

It's a small patch to iw and the kernel as far as I can tell...when I
get it working, I'll post for consideration..if you don't want it,
I won't complain :)

Thanks,
Ben

> 
> johannes
> 


-- 
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux