Linux Kernel
3.7.1
|
#include "hostap_80211.h"
Go to the source code of this file.
Data Structures | |
struct | sta_info |
struct | mac_entry |
struct | mac_restrictions |
struct | add_sta_proc_data |
struct | wds_oper_data |
struct | ap_data |
struct | hostap_tx_data |
Macros | |
#define | STA_MAX_TX_BUFFER 32 |
#define | WLAN_STA_AUTH BIT(0) |
#define | WLAN_STA_ASSOC BIT(1) |
#define | WLAN_STA_PS BIT(2) |
#define | WLAN_STA_TIM BIT(3) /* TIM bit is on for PS stations */ |
#define | WLAN_STA_PERM BIT(4) /* permanent; do not remove entry on expiration */ |
#define | WLAN_STA_AUTHORIZED |
#define | WLAN_STA_PENDING_POLL BIT(6) /* pending activity poll not ACKed */ |
#define | WLAN_RATE_1M BIT(0) |
#define | WLAN_RATE_2M BIT(1) |
#define | WLAN_RATE_5M5 BIT(2) |
#define | WLAN_RATE_11M BIT(3) |
#define | WLAN_RATE_COUNT 4 |
#define | WLAN_SUPP_RATES_MAX 32 |
#define | WLAN_RATE_UPDATE_COUNT 50 |
#define | WLAN_RATE_DECREASE_THRESHOLD 2 |
#define | MAX_STA_COUNT 1024 |
#define | MAX_AID_TABLE_SIZE 128 |
#define | STA_HASH_SIZE 256 |
#define | STA_HASH(sta) (sta[5]) |
#define | AP_MAX_INACTIVITY_SEC (5 * 60) |
#define | AP_DISASSOC_DELAY (HZ) |
#define | AP_DEAUTH_DELAY (HZ) |
#define | PRISM2_AUTH_OPEN BIT(0) |
#define | PRISM2_AUTH_SHARED_KEY BIT(1) |
Enumerations | |
enum | ap_policy_enum { AP_OTHER_AP_SKIP_ALL = 0, AP_OTHER_AP_SAME_SSID = 1, AP_OTHER_AP_ALL = 2, AP_OTHER_AP_EVEN_IBSS = 3 } |
enum | wds_oper_type { WDS_ADD, WDS_DEL } |
enum | ap_tx_ret { AP_TX_CONTINUE, AP_TX_DROP, AP_TX_RETRY, AP_TX_BUFFERED, AP_TX_CONTINUE_NOT_AUTHORIZED } |
enum | ap_rx_ret { AP_RX_CONTINUE, AP_RX_DROP, AP_RX_EXIT, AP_RX_CONTINUE_NOT_AUTHORIZED } |
#define AP_DEAUTH_DELAY (HZ) |
Definition at line 119 of file hostap_ap.h.
#define AP_DISASSOC_DELAY (HZ) |
Definition at line 118 of file hostap_ap.h.
#define AP_MAX_INACTIVITY_SEC (5 * 60) |
Definition at line 117 of file hostap_ap.h.
#define MAX_AID_TABLE_SIZE 128 |
Definition at line 104 of file hostap_ap.h.
#define MAX_STA_COUNT 1024 |
Definition at line 100 of file hostap_ap.h.
#define PRISM2_AUTH_OPEN BIT(0) |
Definition at line 129 of file hostap_ap.h.
#define PRISM2_AUTH_SHARED_KEY BIT(1) |
Definition at line 130 of file hostap_ap.h.
#define STA_HASH | ( | sta | ) | (sta[5]) |
Definition at line 107 of file hostap_ap.h.
#define STA_HASH_SIZE 256 |
Definition at line 106 of file hostap_ap.h.
#define STA_MAX_TX_BUFFER 32 |
Definition at line 9 of file hostap_ap.h.
#define WLAN_RATE_11M BIT(3) |
Definition at line 23 of file hostap_ap.h.
#define WLAN_RATE_1M BIT(0) |
Definition at line 20 of file hostap_ap.h.
#define WLAN_RATE_2M BIT(1) |
Definition at line 21 of file hostap_ap.h.
#define WLAN_RATE_5M5 BIT(2) |
Definition at line 22 of file hostap_ap.h.
#define WLAN_RATE_COUNT 4 |
Definition at line 24 of file hostap_ap.h.
#define WLAN_RATE_DECREASE_THRESHOLD 2 |
Definition at line 34 of file hostap_ap.h.
#define WLAN_RATE_UPDATE_COUNT 50 |
Definition at line 31 of file hostap_ap.h.
#define WLAN_STA_ASSOC BIT(1) |
Definition at line 13 of file hostap_ap.h.
#define WLAN_STA_AUTH BIT(0) |
Definition at line 12 of file hostap_ap.h.
#define WLAN_STA_AUTHORIZED |
Definition at line 17 of file hostap_ap.h.
Definition at line 18 of file hostap_ap.h.
Definition at line 16 of file hostap_ap.h.
#define WLAN_STA_PS BIT(2) |
Definition at line 14 of file hostap_ap.h.
Definition at line 15 of file hostap_ap.h.
#define WLAN_SUPP_RATES_MAX 32 |
Definition at line 28 of file hostap_ap.h.
enum ap_policy_enum |
Definition at line 122 of file hostap_ap.h.
enum ap_rx_ret |
Definition at line 236 of file hostap_ap.h.
enum ap_tx_ret |
Definition at line 222 of file hostap_ap.h.
enum wds_oper_type |
Definition at line 153 of file hostap_ap.h.
Definition at line 3124 of file hostap_ap.c.
void hostap_add_wds_links | ( | local_info_t * | local | ) |
Definition at line 3236 of file hostap_ap.c.
Definition at line 571 of file hostap_ap.c.
Definition at line 299 of file hostap_ap.c.
Definition at line 853 of file hostap_ap.c.
int hostap_handle_sta_crypto | ( | local_info_t * | local, |
struct ieee80211_hdr * | hdr, | ||
struct lib80211_crypt_data ** | crypt, | ||
void ** | sta_ptr | ||
) |
Definition at line 3061 of file hostap_ap.c.
Definition at line 2814 of file hostap_ap.c.
ap_rx_ret hostap_handle_sta_rx | ( | local_info_t * | local, |
struct net_device * | dev, | ||
struct sk_buff * | skb, | ||
struct hostap_80211_rx_status * | rx_stats, | ||
int | wds | ||
) |
Definition at line 2922 of file hostap_ap.c.
ap_tx_ret hostap_handle_sta_tx | ( | local_info_t * | local, |
struct hostap_tx_data * | tx | ||
) |
Definition at line 2681 of file hostap_ap.c.
void hostap_handle_sta_tx_exc | ( | local_info_t * | local, |
struct sk_buff * | skb | ||
) |
Definition at line 2822 of file hostap_ap.c.
void hostap_init_ap_proc | ( | local_info_t * | local | ) |
Definition at line 830 of file hostap_ap.c.
void hostap_init_data | ( | local_info_t * | local | ) |
Definition at line 780 of file hostap_ap.c.
Definition at line 3090 of file hostap_ap.c.
Definition at line 3106 of file hostap_ap.c.
void hostap_rx | ( | struct net_device * | dev, |
struct sk_buff * | skb, | ||
struct hostap_80211_rx_status * | rx_stats | ||
) |
Definition at line 2257 of file hostap_ap.c.
void hostap_update_rates | ( | local_info_t * | local | ) |
Definition at line 3194 of file hostap_ap.c.
int hostap_update_rx_stats | ( | struct ap_data * | ap, |
struct ieee80211_hdr * | hdr, | ||
struct hostap_80211_rx_status * | rx_stats | ||
) |
Definition at line 3163 of file hostap_ap.c.
int hostap_update_sta_ps | ( | local_info_t * | local, |
struct ieee80211_hdr * | hdr | ||
) |
Definition at line 2896 of file hostap_ap.c.
void hostap_wds_link_oper | ( | local_info_t * | local, |
u8 * | addr, | ||
wds_oper_type | type | ||
) |
Definition at line 3252 of file hostap_ap.c.