get all stations' mib

Dongyu Yang yangdy.nwpu
Thu Dec 22 07:17:47 PST 2011

Hello Jouni,

    Thanks for your help, I now can read all stations' mib in my C program!

    In recent mail list, I see P2P GO mode, can you tell me what this means
and its function? And where we can use it?

     Thanks for your help?

2011/12/22 Jouni Malinen <j at>

> On Wed, Dec 21, 2011 at 08:33:24PM +0800, Dongyu Yang wrote:
> >     I installed hostapd on my Router which running OpenWRT, and I can get
> > all stations' mib from 'hostapd_cli all_sta' command. Now I want to read
> > all stations' mib directly in my C/C++ program, how can I do it?
> You can use hostapd control interface, e.g., with the help of
> src/common/wpa_ctrl.c. hostapd/hostapd_cli.c shows an example on how to
> use STA-FIRST and STA-NEXT commands to iterate through the station list.
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Hostap mailing list