aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-09-08 09:58:02 (GMT)
committerJouni Malinen <j@w1.fi>2009-09-08 09:58:02 (GMT)
commite653b622758d920ddb7589afb3cd8b38281fe403 (patch)
tree438f1cc95c905166db8e3c889d4d85c731406e52 /wpa_supplicant/ap.h
parentded30a6b4103c2c883734e862ee8861186b22309 (diff)
downloadhostap-e653b622758d920ddb7589afb3cd8b38281fe403.zip
hostap-e653b622758d920ddb7589afb3cd8b38281fe403.tar.gz
hostap-e653b622758d920ddb7589afb3cd8b38281fe403.tar.bz2
Add station table query to wpa_supplicant AP ctrl_iface
"wpa_cli all_sta" and "wpa_cli sta <addr>" can now be used to fetch information about stations associated with the wpa_supplicant-controlled AP.
Diffstat (limited to 'wpa_supplicant/ap.h')
-rw-r--r--wpa_supplicant/ap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/ap.h b/wpa_supplicant/ap.h
index 935dba1..0264a3e 100644
--- a/wpa_supplicant/ap.h
+++ b/wpa_supplicant/ap.h
@@ -24,5 +24,11 @@ void wpa_supplicant_ap_rx_eapol(struct wpa_supplicant *wpa_s,
int wpa_supplicant_ap_wps_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid);
int wpa_supplicant_ap_wps_pin(struct wpa_supplicant *wpa_s, const u8 *bssid,
const char *pin, char *buf, size_t buflen);
+int ap_ctrl_iface_sta_first(struct wpa_supplicant *wpa_s,
+ char *buf, size_t buflen);
+int ap_ctrl_iface_sta(struct wpa_supplicant *wpa_s, const char *txtaddr,
+ char *buf, size_t buflen);
+int ap_ctrl_iface_sta_next(struct wpa_supplicant *wpa_s, const char *txtaddr,
+ char *buf, size_t buflen);
#endif /* AP_H */