summaryrefslogtreecommitdiffstats
path: root/contrib/hostapd/sta_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/hostapd/sta_info.h')
-rw-r--r--contrib/hostapd/sta_info.h33
1 files changed, 27 insertions, 6 deletions
diff --git a/contrib/hostapd/sta_info.h b/contrib/hostapd/sta_info.h
index e2d7b4e..1d9ab96 100644
--- a/contrib/hostapd/sta_info.h
+++ b/contrib/hostapd/sta_info.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / Station table
+ * Copyright (c) 2002-2004, Jouni Malinen <j@w1.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef STA_INFO_H
#define STA_INFO_H
@@ -6,14 +20,21 @@ int ap_for_each_sta(struct hostapd_data *hapd,
void *ctx),
void *ctx);
struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta);
-void ap_sta_hash_add(hostapd *hapd, struct sta_info *sta);
-void ap_free_sta(hostapd *hapd, struct sta_info *sta);
-void ap_free_sta(hostapd *hapd, struct sta_info *sta);
-void hostapd_free_stas(hostapd *hapd);
+void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta);
+void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
+void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
+void hostapd_free_stas(struct hostapd_data *hapd);
void ap_handle_timer(void *eloop_ctx, void *timeout_ctx);
-void ap_sta_session_timeout(hostapd *hapd, struct sta_info *sta,
+void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta,
u32 session_timeout);
-void ap_sta_no_session_timeout(hostapd *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);
#endif /* STA_INFO_H */
OpenPOWER on IntegriCloud