aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/sta_info.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2006-10-06 17:22:02 (GMT)
committerJouni Malinen <j@w1.fi>2006-10-06 17:22:02 (GMT)
commitc31fdaece18dbecf35ed758f14b6775d0c8096b9 (patch)
tree3ca9facf4d9304b6984fbc785848fe0ef1cb20cb /hostapd/sta_info.h
parent67432407288ccae8ada07c074640217226ef7133 (diff)
downloadhostap-history-c31fdaece18dbecf35ed758f14b6775d0c8096b9.zip
hostap-history-c31fdaece18dbecf35ed758f14b6775d0c8096b9.tar.gz
hostap-history-c31fdaece18dbecf35ed758f14b6775d0c8096b9.tar.bz2
Added helper functions for deauthenticating and disassociating STAs.
(from Devicescape)
Diffstat (limited to 'hostapd/sta_info.h')
-rw-r--r--hostapd/sta_info.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hostapd/sta_info.h b/hostapd/sta_info.h
index e092335..31e2427 100644
--- a/hostapd/sta_info.h
+++ b/hostapd/sta_info.h
@@ -30,6 +30,10 @@ void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta,
void ap_sta_no_session_timeout(struct hostapd_data *hapd,
struct sta_info *sta);
struct sta_info * ap_sta_add(struct hostapd_data *hapd, const u8 *addr);
+void ap_sta_disassociate(struct hostapd_data *hapd, struct sta_info *sta,
+ u16 reason);
+void ap_sta_deauthenticate(struct hostapd_data *hapd, struct sta_info *sta,
+ u16 reason);
int ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta,
int old_vlanid);