sta_info.h File Reference
Go to the source code of this file.
Classes |
struct | sta_info |
Defines |
#define | AP_DEAUTH_DELAY (1) |
#define | AP_DISASSOC_DELAY (1) |
#define | AP_MAX_INACTIVITY (5 * 60) |
#define | AP_MAX_INACTIVITY_AFTER_DEAUTH (1 * 5) |
#define | AP_MAX_INACTIVITY_AFTER_DISASSOC (1 * 30) |
#define | WLAN_STA_ASSOC BIT(1) |
#define | WLAN_STA_AUTH BIT(0) |
#define | WLAN_STA_AUTHORIZED BIT(5) |
#define | WLAN_STA_HT BIT(11) |
#define | WLAN_STA_MAYBE_WPS BIT(13) |
#define | WLAN_STA_MFP BIT(10) |
#define | WLAN_STA_NONERP BIT(31) |
#define | WLAN_STA_PENDING_POLL BIT(6) |
#define | WLAN_STA_PERM BIT(4) |
#define | WLAN_STA_PREAUTH BIT(8) |
#define | WLAN_STA_PS BIT(2) |
#define | WLAN_STA_SHORT_PREAMBLE BIT(7) |
#define | WLAN_STA_TIM BIT(3) |
#define | WLAN_STA_WDS BIT(14) |
#define | WLAN_STA_WMM BIT(9) |
#define | WLAN_STA_WPS BIT(12) |
#define | WLAN_SUPP_RATES_MAX 32 |
Functions |
int | ap_check_sa_query_timeout (struct hostapd_data *hapd, struct sta_info *sta) |
int | ap_for_each_sta (struct hostapd_data *hapd, int(*cb)(struct hostapd_data *hapd, struct sta_info *sta, void *ctx), void *ctx) |
void | ap_free_sta (struct hostapd_data *hapd, struct sta_info *sta) |
struct sta_info * | ap_get_sta (struct hostapd_data *hapd, const u8 *sta) |
void | ap_handle_timer (void *eloop_ctx, void *timeout_ctx) |
struct sta_info * | ap_sta_add (struct hostapd_data *hapd, const u8 *addr) |
int | ap_sta_bind_vlan (struct hostapd_data *hapd, struct sta_info *sta, int old_vlanid) |
void | ap_sta_deauthenticate (struct hostapd_data *hapd, struct sta_info *sta, u16 reason) |
void | ap_sta_disassociate (struct hostapd_data *hapd, struct sta_info *sta, u16 reason) |
void | ap_sta_disconnect (struct hostapd_data *hapd, struct sta_info *sta, const u8 *addr, u16 reason) |
void | ap_sta_hash_add (struct hostapd_data *hapd, struct sta_info *sta) |
void | ap_sta_no_session_timeout (struct hostapd_data *hapd, struct sta_info *sta) |
void | ap_sta_session_timeout (struct hostapd_data *hapd, struct sta_info *sta, u32 session_timeout) |
void | ap_sta_start_sa_query (struct hostapd_data *hapd, struct sta_info *sta) |
void | ap_sta_stop_sa_query (struct hostapd_data *hapd, struct sta_info *sta) |
void | hostapd_free_stas (struct hostapd_data *hapd) |
Define Documentation
#define AP_DEAUTH_DELAY (1) |
#define AP_DISASSOC_DELAY (1) |
#define AP_MAX_INACTIVITY (5 * 60) |
#define AP_MAX_INACTIVITY_AFTER_DEAUTH (1 * 5) |
#define AP_MAX_INACTIVITY_AFTER_DISASSOC (1 * 30) |
#define WLAN_STA_ASSOC BIT(1) |
#define WLAN_STA_AUTH BIT(0) |
#define WLAN_STA_AUTHORIZED BIT(5) |
#define WLAN_STA_HT BIT(11) |
#define WLAN_STA_MAYBE_WPS BIT(13) |
#define WLAN_STA_MFP BIT(10) |
#define WLAN_STA_NONERP BIT(31) |
#define WLAN_STA_PENDING_POLL BIT(6) |
#define WLAN_STA_PERM BIT(4) |
#define WLAN_STA_PREAUTH BIT(8) |
#define WLAN_STA_PS BIT(2) |
#define WLAN_STA_SHORT_PREAMBLE BIT(7) |
#define WLAN_STA_TIM BIT(3) |
#define WLAN_STA_WDS BIT(14) |
#define WLAN_STA_WMM BIT(9) |
#define WLAN_STA_WPS BIT(12) |
#define WLAN_SUPP_RATES_MAX 32 |
Function Documentation
void ap_handle_timer |
( |
void * |
eloop_ctx, |
|
|
void * |
timeout_ctx | |
|
) |
| | |
ap_handle_timer - Per STA timer handler : struct hostapd_data * : struct sta_info *
This function is called to check station activity and to remove inactive stations.
Definition at line 238 of file sta_info.c.