Ok! Thank you all very much for your help!
I will try that very soon.
Lito :)
Quoting Johannes Berg <johannes@xxxxxxxxxxxxxxxx> on Tue, 26 Apr 2011
14:07:02 +0200:
On Tue, 2011-04-26 at 17:33 +0530, Mohammed Shafi wrote:
On Tuesday 26 April 2011 05:28 PM, Lito Kriara wrote:
> Hello,
> I was away the last couple of days and just saw these e-mails. It
> seems really interesting and helpful, but what if we need to know at
> runtime the number of stations connected to the AP?
> Is the first patch sent good to use? Should I do some modification to it?
>
Yes this will be fine.
Or you can use what I wrote without patching:
>>> iw wlan0 station dump | grep '^Station ' | wc -l
FWIW, I wouldn't mind adding the num_sta to debugfs, but as we discussed
in this thread it's a different number.
johannes
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
--
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