$search
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 AP_DEAUTH_DELAY (1) |
Definition at line 118 of file sta_info.h.
#define AP_DISASSOC_DELAY (1) |
Definition at line 117 of file sta_info.h.
#define AP_MAX_INACTIVITY (5 * 60) |
Definition at line 116 of file sta_info.h.
#define AP_MAX_INACTIVITY_AFTER_DEAUTH (1 * 5) |
Definition at line 123 of file sta_info.h.
#define AP_MAX_INACTIVITY_AFTER_DISASSOC (1 * 30) |
Definition at line 121 of file sta_info.h.
#define WLAN_STA_ASSOC BIT(1) |
Definition at line 20 of file sta_info.h.
#define WLAN_STA_AUTH BIT(0) |
Definition at line 19 of file sta_info.h.
#define WLAN_STA_AUTHORIZED BIT(5) |
Definition at line 24 of file sta_info.h.
#define WLAN_STA_HT BIT(11) |
Definition at line 30 of file sta_info.h.
#define WLAN_STA_MAYBE_WPS BIT(13) |
Definition at line 32 of file sta_info.h.
#define WLAN_STA_MFP BIT(10) |
Definition at line 29 of file sta_info.h.
#define WLAN_STA_NONERP BIT(31) |
Definition at line 34 of file sta_info.h.
#define WLAN_STA_PENDING_POLL BIT(6) |
Definition at line 25 of file sta_info.h.
#define WLAN_STA_PERM BIT(4) |
Definition at line 23 of file sta_info.h.
#define WLAN_STA_PREAUTH BIT(8) |
Definition at line 27 of file sta_info.h.
#define WLAN_STA_PS BIT(2) |
Definition at line 21 of file sta_info.h.
#define WLAN_STA_SHORT_PREAMBLE BIT(7) |
Definition at line 26 of file sta_info.h.
#define WLAN_STA_TIM BIT(3) |
Definition at line 22 of file sta_info.h.
#define WLAN_STA_WDS BIT(14) |
Definition at line 33 of file sta_info.h.
#define WLAN_STA_WMM BIT(9) |
Definition at line 28 of file sta_info.h.
#define WLAN_STA_WPS BIT(12) |
Definition at line 31 of file sta_info.h.
#define WLAN_SUPP_RATES_MAX 32 |
Definition at line 38 of file sta_info.h.
int ap_check_sa_query_timeout | ( | struct hostapd_data * | hapd, | |
struct sta_info * | sta | |||
) |
int ap_for_each_sta | ( | struct hostapd_data * | hapd, | |
int(*)(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) | cb, | |||
void * | ctx | |||
) |
Definition at line 42 of file sta_info.c.
void ap_free_sta | ( | struct hostapd_data * | hapd, | |
struct sta_info * | sta | |||
) |
Definition at line 118 of file sta_info.c.
struct sta_info* ap_get_sta | ( | struct hostapd_data * | hapd, | |
const u8 * | sta | |||
) | [read] |
Definition at line 58 of file sta_info.c.
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.
struct sta_info* ap_sta_add | ( | struct hostapd_data * | hapd, | |
const u8 * | addr | |||
) | [read] |
Definition at line 422 of file sta_info.c.
int ap_sta_bind_vlan | ( | struct hostapd_data * | hapd, | |
struct sta_info * | sta, | |||
int | old_vlanid | |||
) |
Definition at line 537 of file sta_info.c.
void ap_sta_deauthenticate | ( | struct hostapd_data * | hapd, | |
struct sta_info * | sta, | |||
u16 | reason | |||
) |
Definition at line 519 of file sta_info.c.
void ap_sta_disassociate | ( | struct hostapd_data * | hapd, | |
struct sta_info * | sta, | |||
u16 | reason | |||
) |
Definition at line 501 of file sta_info.c.
void ap_sta_disconnect | ( | struct hostapd_data * | hapd, | |
struct sta_info * | sta, | |||
const u8 * | addr, | |||
u16 | reason | |||
) |
Definition at line 735 of file sta_info.c.
void ap_sta_hash_add | ( | struct hostapd_data * | hapd, | |
struct sta_info * | sta | |||
) |
Definition at line 89 of file sta_info.c.
void ap_sta_no_session_timeout | ( | struct hostapd_data * | hapd, | |
struct sta_info * | sta | |||
) |
Definition at line 416 of file sta_info.c.
void ap_sta_session_timeout | ( | struct hostapd_data * | hapd, | |
struct sta_info * | sta, | |||
u32 | session_timeout | |||
) |
Definition at line 404 of file sta_info.c.
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 | ) |
Definition at line 210 of file sta_info.c.