get all stations' mib
Wed Dec 21 14:29:17 PST 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