get all stations' mib
j at w1.fi
Wed Dec 21 17:29:17 EST 2011
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
More information about the HostAP