struct sta_info {
struct list_head list;
struct sta_info * hnext;
struct ieee80211_local * local;
struct ieee80211_sub_if_data * sdata;
struct ieee80211_key * gtk[NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS];
struct ieee80211_key * ptk;
struct rate_control_ref * rate_ctrl;
void * rate_ctrl_priv;
spinlock_t lock;
spinlock_t flaglock;
struct work_struct drv_unblock_wk;
u16 listen_interval;
bool dead;
bool uploaded;
u32 flags;
struct sk_buff_head ps_tx_buf;
struct sk_buff_head tx_filtered;
unsigned long rx_packets;
unsigned long rx_bytes;
unsigned long wep_weak_iv_count;
unsigned long last_rx;
unsigned long num_duplicates;
unsigned long rx_fragments;
unsigned long rx_dropped;
int last_signal;
__le16 last_seq_ctrl[NUM_RX_DATA_QUEUES];
unsigned long tx_filtered_count;
unsigned long tx_retry_failed;
unsigned long tx_retry_count;
unsigned int fail_avg;
unsigned long tx_packets;
unsigned long tx_bytes;
unsigned long tx_fragments;
struct ieee80211_tx_rate last_tx_rate;
u16 tid_seq[IEEE80211_QOS_CTL_TID_MASK + 1];
struct sta_ampdu_mlme ampdu_mlme;
u8 timer_to_tid[STA_TID_NUM];
#ifdef CONFIG_MAC80211_MESH
__le16 llid;
__le16 plid;
__le16 reason;
u8 plink_retries;
bool ignore_plink_timer;
bool plink_timer_was_running;
enum plink_state plink_state;
u32 plink_timeout;
struct timer_list plink_timer;
#endif
#ifdef CONFIG_MAC80211_DEBUGFS
struct sta_info_debugfsdentries debugfs;
#endif
struct ieee80211_sta sta;
};
list
hnext
local
sdata
gtk[NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS]
ptk
rate_ctrl
rate_ctrl_priv
lock
flaglock
drv_unblock_wk
listen_interval
dead
uploaded
flags
ps_tx_buf
tx_filtered
rx_packets
rx_bytes
wep_weak_iv_count
last_rx
num_duplicates
rx_fragments
rx_dropped
last_signal
last_seq_ctrl[NUM_RX_DATA_QUEUES]
tx_filtered_count
tx_retry_failed
tx_retry_count
fail_avg
tx_packets
tx_bytes
tx_fragments
last_tx_rate
tid_seq[IEEE80211_QOS_CTL_TID_MASK + 1]
ampdu_mlme
timer_to_tid[STA_TID_NUM]
llid
plid
reason
plink_retries
ignore_plink_timer
plink_timer_was_running
plink_state
plink_timeout
plink_timer
debugfs
sta
This structure collects information about a station that mac80211 is communicating with.
Johannes Berg <johannes@sipsolutions.net>