On 09/30/2010 08:39 AM, Johannes Berg wrote:
On Thu, 2010-09-30 at 08:31 -0700, Ben Greear wrote:
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...
You can't get scanning, but auth/assoc should be visible in "iw dev
<iface> scan dump"
I find it a bit frustrating that it takes so many different commands
to find the information I'm looking for.
It looks like I'll need to integrate at least:
The information for the in-use BSS from 'scan dump', the info
from 'info', 'survey dump' for the active channel,
'station dump' (with additional of at least the counters that
used to be found in /proc/net/wireless),
If I were only doing one or two STA interfaces, that's not so bad,
but if I want to do hundreds, and update info relatively often,
that's going to be a lot of overhead!
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