2005-06-05 22:35:03 +00:00
|
|
|
#ifndef STA_INFO_H
|
|
|
|
#define STA_INFO_H
|
|
|
|
|
|
|
|
int ap_for_each_sta(struct hostapd_data *hapd,
|
|
|
|
int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
|
|
|
|
void *ctx),
|
|
|
|
void *ctx);
|
2006-03-07 05:47:04 +00:00
|
|
|
struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta);
|
2005-06-05 22:35:03 +00:00
|
|
|
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_handle_timer(void *eloop_ctx, void *timeout_ctx);
|
|
|
|
void ap_sta_session_timeout(hostapd *hapd, struct sta_info *sta,
|
|
|
|
u32 session_timeout);
|
|
|
|
void ap_sta_no_session_timeout(hostapd *hapd, struct sta_info *sta);
|
2006-03-07 05:47:04 +00:00
|
|
|
struct sta_info * ap_sta_add(struct hostapd_data *hapd, const u8 *addr);
|
2005-06-05 22:35:03 +00:00
|
|
|
|
|
|
|
#endif /* STA_INFO_H */
|