Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Types | Data Fields
sta_info Struct Reference

#include <hostap_ap.h>

Public Types

enum  { STA_NULLFUNC = 0, STA_DISASSOC, STA_DEAUTH }
 

Data Fields

struct list_head list
 
struct sta_infohnext
 
atomic_t users
 
struct proc_dir_entryproc
 
u8 addr [6]
 
u16 aid
 
u32 flags
 
u16 capability
 
u16 listen_interval
 
u8 supported_rates [WLAN_SUPP_RATES_MAX]
 
unsigned long last_auth
 
unsigned long last_assoc
 
unsigned long last_rx
 
unsigned long last_tx
 
unsigned long rx_packets
 
unsigned long tx_packets
 
unsigned long rx_bytes
 
unsigned long tx_bytes
 
struct sk_buff_head tx_buf
 
s8 last_rx_silence
 
s8 last_rx_signal
 
u8 last_rx_rate
 
u8 last_rx_updated
 
u8 tx_supp_rates
 
u8 tx_rate
 
u8 tx_rate_idx
 
u8 tx_max_rate
 
u32 tx_count [WLAN_RATE_COUNT]
 
u32 rx_count [WLAN_RATE_COUNT]
 
u32 tx_since_last_failure
 
u32 tx_consecutive_exc
 
struct lib80211_crypt_datacrypt
 
int ap
 
local_info_tlocal
 
union {
   struct {
      char *   challenge
 
   }   sta
 
   struct {
      int   ssid_len
 
      unsigned char   ssid [MAX_SSID_LEN+1]
 
      int   channel
 
      unsigned long   last_beacon
 
   }   ap
 
u
 
struct timer_list timer
 
enum sta_info:: { ... }  timeout_next
 
spinlock_t lock
 
struct list_head hash_list
 
struct sta_xmit_priv sta_xmitpriv
 
struct sta_recv_priv sta_recvpriv
 
uint state
 
uint aid
 
uint mac_id
 
uint qos_option
 
u8 hwaddr [ETH_ALEN]
 
uint ieee8021x_blocked
 
uint XPrivacy
 
union Keytype tkiptxmickey
 
union Keytype tkiprxmickey
 
union Keytype x_UncstKey
 
union pn48 txpn
 
union pn48 rxpn
 
u8 bssrateset [16]
 
uint bssratelen
 
s32 rssi
 
s32 signal_quality
 
struct stainfo_stats sta_stats
 
struct recv_reorder_ctrl recvreorder_ctrl [16]
 
struct ht_priv htpriv
 
struct list_head asoc_list
 
struct list_head auth_list
 
unsigned int expire_to
 
unsigned int auth_seq
 
unsigned int authalg
 
unsigned char chg_txt [128]
 
unsigned int tx_ra_bitmap
 
struct rcu_head rcu_head
 
struct sta_info __rcuhnext
 
struct ieee80211_locallocal
 
struct ieee80211_sub_if_datasdata
 
struct ieee80211_key __rcugtk [NUM_DEFAULT_KEYS+NUM_DEFAULT_MGMT_KEYS]
 
struct ieee80211_key __rcuptk
 
struct rate_control_refrate_ctrl
 
voidrate_ctrl_priv
 
struct work_struct drv_unblock_wk
 
struct work_struct free_sta_wk
 
bool dead
 
bool uploaded
 
enum ieee80211_sta_state sta_state
 
unsigned long _flags
 
struct sk_buff_head ps_tx_buf [IEEE80211_NUM_ACS]
 
struct sk_buff_head tx_filtered [IEEE80211_NUM_ACS]
 
unsigned long driver_buffered_tids
 
unsigned long wep_weak_iv_count
 
long last_connected
 
unsigned long num_duplicates
 
unsigned long rx_fragments
 
unsigned long rx_dropped
 
int last_signal
 
struct ewma avg_signal
 
__le16 last_seq_ctrl [NUM_RX_DATA_QUEUES+1]
 
unsigned long tx_filtered_count
 
unsigned long tx_retry_failed
 
unsigned long tx_retry_count
 
unsigned int fail_avg
 
unsigned long tx_fragments
 
struct ieee80211_tx_rate last_tx_rate
 
int last_rx_rate_idx
 
int last_rx_rate_flag
 
u16 tid_seq [IEEE80211_QOS_CTL_TID_MASK+1]
 
struct sta_ampdu_mlme ampdu_mlme
 
u8 timer_to_tid [STA_TID_NUM]
 
unsigned int lost_packets
 
unsigned int beacon_loss_count
 
bool supports_40mhz
 
struct ieee80211_sta sta
 

Detailed Description

struct sta_info - STA information

This structure collects information about a station that mac80211 is communicating with.

: global linked list entry : hash table linked list pointer : pointer to the global information : virtual interface this station belongs to : peer key negotiated with this station, if any : group keys negotiated with this station, if any : rate control algorithm reference : rate control private per-STA pointer : rate used for last transmit, to report to userspace as "the" transmit rate : rx status rate index of the last data packet : rx status flag of the last data packet : used for locking all fields that require locking, see comments in the header file. : used for driver PS unblocking : listen interval of this station, when we're acting as AP : STA flags, see &enum ieee80211_sta_info_flags, do not use directly : buffers (per AC) of frames to transmit to this station when it leaves power saving state or polls : buffers (per AC) of frames we already tried to transmit but were filtered by hardware due to STA having entered power saving state, these are also delivered to the station when it leaves powersave or polls for frames : bitmap of TIDs the driver has data buffered on : Number of MSDUs received from this STA : Number of bytes received from this STA : number of weak WEP IVs received from this station : time (in jiffies) when last frame was received from this STA : time (in seconds) when a station got connected : number of duplicate frames received from this STA : number of received MPDUs : number of dropped MPDUs from this STA : signal of last received frame from this STA : moving average of signal of received frames from this STA : last received seq/frag number from this STA (per RX queue) : number of frames the hardware filtered for this STA : number of frames that failed retry : total number of retries for frames to this STA : moving percentage of failed MSDUs : number of RX/TX MSDUs : number of bytes transmitted to this STA : number of transmitted MPDUs : per-TID sequence numbers for sending to this STA : A-MPDU state machine state : identity mapping to ID timers : Local link ID : Peer link ID : Cancel reason on PLINK_HOLDING state : Retries in establishment : ignore the peer-link timer (used internally) : peer link state : timeout of peer link : peer link watch timer : used by suspend/resume to restore timers : timing offset relative to this host : reference timing offset of this sta to be used when calculating clockdrift : peer's channel type : debug filesystem info : set to true when sta is unlinked : set to true when sta is uploaded to the driver : number of consecutive lost packets : station information we share with the driver : duplicates information about station state (for debug) : number of times beacon loss has triggered : tracks whether the station advertised 40 MHz support as we overwrite its HT parameters with the currently used value

Definition at line 36 of file hostap_ap.h.

Member Enumeration Documentation

anonymous enum
Enumerator:
STA_NULLFUNC 
STA_DISASSOC 
STA_DEAUTH 

Definition at line 95 of file hostap_ap.h.

Field Documentation

unsigned long _flags

Definition at line 312 of file sta_info.h.

u8 addr[6]

Definition at line 42 of file hostap_ap.h.

u16 aid

Definition at line 43 of file hostap_ap.h.

uint aid

Definition at line 65 of file sta_info.h.

struct sta_ampdu_mlme ampdu_mlme

Definition at line 353 of file sta_info.h.

int ap

Definition at line 76 of file hostap_ap.h.

struct { ... } ap
struct list_head asoc_list

Definition at line 93 of file sta_info.h.

struct list_head auth_list

Definition at line 94 of file sta_info.h.

unsigned int auth_seq

Definition at line 96 of file sta_info.h.

unsigned int authalg

Definition at line 97 of file sta_info.h.

struct ewma avg_signal

Definition at line 331 of file sta_info.h.

unsigned int beacon_loss_count

Definition at line 383 of file sta_info.h.

uint bssratelen

Definition at line 77 of file sta_info.h.

u8 bssrateset[16]

Definition at line 76 of file sta_info.h.

u16 capability

Definition at line 45 of file hostap_ap.h.

char* challenge

Definition at line 83 of file hostap_ap.h.

Definition at line 89 of file hostap_ap.h.

unsigned char chg_txt[128]

Definition at line 98 of file sta_info.h.

Definition at line 74 of file hostap_ap.h.

bool dead

Definition at line 305 of file sta_info.h.

unsigned long driver_buffered_tids

Definition at line 320 of file sta_info.h.

struct work_struct drv_unblock_wk

Definition at line 300 of file sta_info.h.

unsigned int expire_to

Definition at line 95 of file sta_info.h.

unsigned int fail_avg

Definition at line 339 of file sta_info.h.

u32 flags

Definition at line 44 of file hostap_ap.h.

struct work_struct free_sta_wk

Definition at line 301 of file sta_info.h.

Definition at line 294 of file sta_info.h.

struct list_head hash_list

Definition at line 61 of file sta_info.h.

struct sta_info* hnext

Definition at line 38 of file hostap_ap.h.

Definition at line 291 of file sta_info.h.

struct ht_priv htpriv

Definition at line 83 of file sta_info.h.

u8 hwaddr[ETH_ALEN]

Definition at line 68 of file sta_info.h.

uint ieee8021x_blocked

Definition at line 69 of file sta_info.h.

unsigned long last_assoc

Definition at line 50 of file hostap_ap.h.

unsigned long last_auth

Definition at line 49 of file hostap_ap.h.

unsigned long last_beacon

Definition at line 90 of file hostap_ap.h.

long last_connected

Definition at line 326 of file sta_info.h.

unsigned long last_rx

Definition at line 51 of file hostap_ap.h.

u8 last_rx_rate

Definition at line 61 of file hostap_ap.h.

int last_rx_rate_flag

Definition at line 347 of file sta_info.h.

int last_rx_rate_idx

Definition at line 346 of file sta_info.h.

s8 last_rx_signal

Definition at line 60 of file hostap_ap.h.

s8 last_rx_silence

Definition at line 59 of file hostap_ap.h.

u8 last_rx_updated

Definition at line 62 of file hostap_ap.h.

__le16 last_seq_ctrl[NUM_RX_DATA_QUEUES+1]

Definition at line 333 of file sta_info.h.

int last_signal

Definition at line 330 of file sta_info.h.

unsigned long last_tx

Definition at line 52 of file hostap_ap.h.

struct ieee80211_tx_rate last_tx_rate

Definition at line 345 of file sta_info.h.

Definition at line 37 of file hostap_ap.h.

u16 listen_interval

Definition at line 46 of file hostap_ap.h.

local_info_t* local

Definition at line 78 of file hostap_ap.h.

Definition at line 292 of file sta_info.h.

spinlock_t lock

Definition at line 59 of file sta_info.h.

unsigned int lost_packets

Definition at line 382 of file sta_info.h.

uint mac_id

Definition at line 66 of file sta_info.h.

unsigned long num_duplicates

Definition at line 327 of file sta_info.h.

Definition at line 40 of file hostap_ap.h.

Definition at line 318 of file sta_info.h.

Definition at line 295 of file sta_info.h.

uint qos_option

Definition at line 67 of file sta_info.h.

Definition at line 296 of file sta_info.h.

void* rate_ctrl_priv

Definition at line 297 of file sta_info.h.

struct rcu_head rcu_head

Definition at line 290 of file sta_info.h.

struct recv_reorder_ctrl recvreorder_ctrl[16]

Definition at line 82 of file sta_info.h.

s32 rssi

Definition at line 78 of file sta_info.h.

unsigned long rx_bytes

Definition at line 54 of file hostap_ap.h.

u32 rx_count[WLAN_RATE_COUNT]

Definition at line 69 of file hostap_ap.h.

unsigned long rx_dropped

Definition at line 329 of file sta_info.h.

unsigned long rx_fragments

Definition at line 328 of file sta_info.h.

unsigned long rx_packets

Definition at line 53 of file hostap_ap.h.

union pn48 rxpn

Definition at line 75 of file sta_info.h.

Definition at line 293 of file sta_info.h.

s32 signal_quality

Definition at line 79 of file sta_info.h.

unsigned char ssid[MAX_SSID_LEN+1]

Definition at line 88 of file hostap_ap.h.

int ssid_len

Definition at line 87 of file hostap_ap.h.

struct { ... } sta

Definition at line 388 of file sta_info.h.

struct sta_recv_priv sta_recvpriv

Definition at line 63 of file sta_info.h.

enum ieee80211_sta_state sta_state

Definition at line 309 of file sta_info.h.

struct stainfo_stats sta_stats

Definition at line 80 of file sta_info.h.

struct sta_xmit_priv sta_xmitpriv

Definition at line 62 of file sta_info.h.

Definition at line 64 of file sta_info.h.

u8 supported_rates[WLAN_SUPP_RATES_MAX]

Definition at line 47 of file hostap_ap.h.

bool supports_40mhz

Definition at line 385 of file sta_info.h.

Definition at line 348 of file sta_info.h.

enum { ... } timeout_next

Definition at line 94 of file hostap_ap.h.

u8 timer_to_tid[STA_TID_NUM]

Definition at line 354 of file sta_info.h.

union Keytype tkiprxmickey

Definition at line 72 of file sta_info.h.

union Keytype tkiptxmickey

Definition at line 71 of file sta_info.h.

Definition at line 55 of file hostap_ap.h.

unsigned long tx_bytes

Definition at line 54 of file hostap_ap.h.

u32 tx_consecutive_exc

Definition at line 72 of file hostap_ap.h.

u32 tx_count[WLAN_RATE_COUNT]

Definition at line 68 of file hostap_ap.h.

Definition at line 319 of file sta_info.h.

unsigned long tx_filtered_count

Definition at line 336 of file sta_info.h.

unsigned long tx_fragments

Definition at line 344 of file sta_info.h.

u8 tx_max_rate

Definition at line 67 of file hostap_ap.h.

unsigned long tx_packets

Definition at line 53 of file hostap_ap.h.

unsigned int tx_ra_bitmap

Definition at line 99 of file sta_info.h.

u8 tx_rate

Definition at line 65 of file hostap_ap.h.

u8 tx_rate_idx

Definition at line 66 of file hostap_ap.h.

unsigned long tx_retry_count

Definition at line 337 of file sta_info.h.

unsigned long tx_retry_failed

Definition at line 337 of file sta_info.h.

u32 tx_since_last_failure

Definition at line 71 of file hostap_ap.h.

u8 tx_supp_rates

Definition at line 64 of file hostap_ap.h.

union pn48 txpn

Definition at line 74 of file sta_info.h.

union { ... } u
bool uploaded

Definition at line 307 of file sta_info.h.

atomic_t users

Definition at line 39 of file hostap_ap.h.

unsigned long wep_weak_iv_count

Definition at line 324 of file sta_info.h.

union Keytype x_UncstKey

Definition at line 73 of file sta_info.h.

uint XPrivacy

Definition at line 70 of file sta_info.h.


The documentation for this struct was generated from the following files: