wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
sta_info.c File Reference

hostapd / Station table More...

#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "common/wpa_ctrl.h"
#include "common/sae.h"
#include "radius/radius.h"
#include "radius/radius_client.h"
#include "p2p/p2p.h"
#include "fst/fst.h"
#include "hostapd.h"
#include "accounting.h"
#include "ieee802_1x.h"
#include "ieee802_11.h"
#include "ieee802_11_auth.h"
#include "wpa_auth.h"
#include "preauth_auth.h"
#include "ap_config.h"
#include "beacon.h"
#include "ap_mlme.h"
#include "vlan_init.h"
#include "p2p_hostapd.h"
#include "ap_drv_ops.h"
#include "gas_serv.h"
#include "wnm_ap.h"
#include "ndisc_snoop.h"
#include "sta_info.h"

Functions

int ap_for_each_sta (struct hostapd_data *hapd, int(*cb)(struct hostapd_data *hapd, struct sta_info *sta, void *ctx), void *ctx)
 
struct sta_infoap_get_sta (struct hostapd_data *hapd, const u8 *sta)
 
struct sta_infoap_get_sta_p2p (struct hostapd_data *hapd, const u8 *addr)
 
void ap_sta_hash_add (struct hostapd_data *hapd, struct sta_info *sta)
 
void ap_sta_ip6addr_del (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)
 Per STA timer handler. More...
 
void ap_sta_replenish_timeout (struct hostapd_data *hapd, struct sta_info *sta, u32 session_timeout)
 
void ap_sta_session_timeout (struct hostapd_data *hapd, struct sta_info *sta, u32 session_timeout)
 
void ap_sta_no_session_timeout (struct hostapd_data *hapd, struct sta_info *sta)
 
void ap_sta_session_warning_timeout (struct hostapd_data *hapd, struct sta_info *sta, int warning_time)
 
struct sta_infoap_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)
 
void ap_sta_set_authorized (struct hostapd_data *hapd, struct sta_info *sta, int authorized)
 
void ap_sta_disconnect (struct hostapd_data *hapd, struct sta_info *sta, const u8 *addr, u16 reason)
 
void ap_sta_deauth_cb (struct hostapd_data *hapd, struct sta_info *sta)
 
void ap_sta_disassoc_cb (struct hostapd_data *hapd, struct sta_info *sta)
 
int ap_sta_flags_txt (u32 flags, char *buf, size_t buflen)
 

Detailed Description

hostapd / Station table

Function Documentation

void ap_handle_timer ( void *  eloop_ctx,
void *  timeout_ctx 
)

Per STA timer handler.

Parameters
eloop_ctxstruct hostapd_data *
timeout_ctxstruct sta_info *

This function is called to check station activity and to remove inactive stations.