get all stations' mib

Dongyu Yang yangdy.nwpu at gmail.com
Thu Dec 22 10:17:47 EST 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 w1.fi>

> 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 lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20111222/a3d0a111/attachment.htm 


More information about the HostAP mailing list