sta_info.h File Reference

hostapd / Station table More...

#include "sta_flags.h"
Include dependency graph for sta_info.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sta_info

Defines

#define WLAN_SUPP_RATES_MAX   32
#define AP_MAX_INACTIVITY   (5 * 60)
#define AP_DISASSOC_DELAY   (1)
#define AP_DEAUTH_DELAY   (1)
#define AP_MAX_INACTIVITY_AFTER_DISASSOC   (1 * 30)
#define AP_MAX_INACTIVITY_AFTER_DEAUTH   (1 * 5)

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)
void ap_sta_hash_add (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.
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)
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, int old_vlanid)
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)
int ap_check_sa_query_timeout (struct hostapd_data *hapd, struct sta_info *sta)

Detailed Description

hostapd / Station table

Copyright
Copyright (c) 2002-2008, Jouni Malinen <j@w1.fi>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Alternatively, this software may be distributed under the terms of BSD license.

See README and COPYING for more details.

Definition in file sta_info.h.


Function Documentation

void ap_handle_timer ( void *  eloop_ctx,
void *  timeout_ctx 
)

Per STA timer handler.

Parameters:
eloop_ctx struct hostapd_data *
timeout_ctx struct sta_info *

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

Definition at line 235 of file sta_info.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:17:51 2009 for hostapd by  doxygen 1.6.1