Search Linux Wireless

Re: [RFC 1/2] wireless: Show sta_flags for status in /proc/net/wireless

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

 



On 09/30/2010 12:43 AM, Johannes Berg wrote:
On Wed, 2010-09-29 at 16:57 -0700, greearb@xxxxxxxxxxxxxxx wrote:

User-space can then decode the flags to determine associated,
scanning, and other states.

I really don't think we should be extending the useful life of wireless
extensions.


   * @signal: signal strength of last received packet in dBm
+ * @status: ieee80211_sta_info_flags plus:  (1<<15) Scanning.


And are you seriously proposing to make internal mac80211 flags part of
the externally visible cfg80211 API??

It would of course be easy to map them to a stable set of flags, but if you
don't want to fix /proc/net/wireless anyway, then I might as well do minimal changes
to make it easier to keep the patch in my own tree.

Aside from listening to 'iw event', is there any way to know if a STA is scanning,
authenticated, associated, etc?  Some of this can be obtained from debugfs, but
that's not a fun api to code against...

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