aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.h
diff options
context:
space:
mode:
authorJithu Jance <jithu@broadcom.com>2012-02-25 15:22:48 (GMT)
committerJouni Malinen <j@w1.fi>2012-02-25 15:22:48 (GMT)
commite60b295186f5a70ab066eb35c4cea0153f54976c (patch)
treec787251e7e6c864ad53cf436b96d355867b91bb3 /wpa_supplicant/ap.h
parent93d1749fe09522892779151f0e22adb3e52efa20 (diff)
downloadhostap-e60b295186f5a70ab066eb35c4cea0153f54976c.zip
hostap-e60b295186f5a70ab066eb35c4cea0153f54976c.tar.gz
hostap-e60b295186f5a70ab066eb35c4cea0153f54976c.tar.bz2
Add wpa_supplicant AP mode STA deauthenticate/disassociate commands
Move disassociate and deauthenticate commands to ctrl_iface_ap.c, so that they ares accessible for wpa_supplicant AP mode and wpa_cli (with CONFIG_AP option enabled). Signed-hostap: Jithu Jance <jithu@broadcom.com>
Diffstat (limited to 'wpa_supplicant/ap.h')
-rw-r--r--wpa_supplicant/ap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/ap.h b/wpa_supplicant/ap.h
index f0eb67d..91ab423 100644
--- a/wpa_supplicant/ap.h
+++ b/wpa_supplicant/ap.h
@@ -31,6 +31,10 @@ 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);
+int ap_ctrl_iface_sta_deauthenticate(struct wpa_supplicant *wpa_s,
+ const char *txtaddr);
+int ap_ctrl_iface_sta_disassociate(struct wpa_supplicant *wpa_s,
+ const char *txtaddr);
int ap_ctrl_iface_wpa_get_status(struct wpa_supplicant *wpa_s, char *buf,
size_t buflen, int verbose);
void ap_tx_status(void *ctx, const u8 *addr,