Functions
sta_info.c File Reference
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "radius/radius.h"
#include "radius/radius_client.h"
#include "drivers/driver.h"
#include "hostapd.h"
#include "accounting.h"
#include "ieee802_1x.h"
#include "ieee802_11.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 "sta_info.h"
Include dependency graph for sta_info.c:

Go to the source code of this file.

Functions

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_infoap_get_sta (struct hostapd_data *hapd, const u8 *sta)
static void ap_handle_session_timer (void *eloop_ctx, void *timeout_ctx)
void ap_handle_timer (void *eloop_ctx, void *timeout_ctx)
struct sta_infoap_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)
static void ap_sta_hash_del (struct hostapd_data *hapd, struct sta_info *sta)
static void ap_sta_list_del (struct hostapd_data *hapd, struct sta_info *sta)
void ap_sta_no_session_timeout (struct hostapd_data *hapd, struct sta_info *sta)
static int ap_sta_remove (struct hostapd_data *hapd, struct sta_info *sta)
static void ap_sta_remove_in_other_bss (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 hostapd_free_stas (struct hostapd_data *hapd)

Function Documentation

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.

static void ap_handle_session_timer ( void *  eloop_ctx,
void *  timeout_ctx 
) [static]

Definition at line 382 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.

static void ap_sta_hash_del ( struct hostapd_data hapd,
struct sta_info sta 
) [static]

Definition at line 96 of file sta_info.c.

static void ap_sta_list_del ( struct hostapd_data hapd,
struct sta_info sta 
) [static]

Definition at line 69 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.

static int ap_sta_remove ( struct hostapd_data hapd,
struct sta_info sta 
) [static]

Definition at line 460 of file sta_info.c.

static void ap_sta_remove_in_other_bss ( struct hostapd_data hapd,
struct sta_info sta 
) [static]

Definition at line 476 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 hostapd_free_stas ( struct hostapd_data hapd)

Definition at line 210 of file sta_info.c.



wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:34:39