struct sta_info — STA information
struct sta_info { struct list_head list; struct sta_info * hnext; struct ieee80211_local * local; struct ieee80211_sub_if_data * sdata; struct ieee80211_key * key; struct rate_control_ref * rate_ctrl; void * rate_ctrl_priv; spinlock_t lock; spinlock_t flaglock; struct ieee80211_ht_info ht_info; u64 supp_rates[IEEE80211_NUM_BANDS]; u8 addr[ETH_ALEN]; u16 aid; u16 listen_interval; u8 pin_status; 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; int last_qual; int last_noise; __le16 last_seq_ctrl[NUM_RX_DATA_QUEUES]; #ifdef CONFIG_MAC80211_DEBUG_COUNTERS unsigned int wme_rx_queue[NUM_RX_DATA_QUEUES]; #endif unsigned long tx_filtered_count; unsigned long tx_retry_failed; unsigned long tx_retry_count; u32 tx_num_consecutive_failures; u32 tx_num_mpdu_ok; u32 tx_num_mpdu_fail; unsigned int fail_avg; unsigned long tx_packets; unsigned long tx_bytes; unsigned long tx_fragments; int txrate_idx; int last_txrate_idx; #ifdef CONFIG_MAC80211_DEBUG_COUNTERS unsigned int wme_tx_queue[NUM_RX_DATA_QUEUES]; #endif struct sta_ampdu_mlme ampdu_mlme; u8 timer_to_tid[STA_TID_NUM]; u8 tid_to_tx_q[STA_TID_NUM]; #ifdef CONFIG_MAC80211_MESH __le16 llid; __le16 plid; __le16 reason; u8 plink_retries; bool ignore_plink_timer; enum plink_state plink_state; u32 plink_timeout; struct timer_list plink_timer; #endif #ifdef CONFIG_MAC80211_DEBUGFS struct sta_info_debugfsdentries debugfs; #endif };
global linked list entry
hash table linked list pointer
pointer to the global information
TBD
TBD
TBD
TBD
used for locking all fields that require locking, see comments in the header file.
spinlock for flags accesses
HT capabilities of this STA
Bitmap of supported rates (per band)
MAC address of this STA
STA's unique AID (1..2007, 0 = not assigned yet), only used in AP (and IBSS?) mode
TBD
TBD
STA flags, see enum ieee80211_sta_info_flags
buffer of frames to transmit to this station when it leaves power saving state
buffer of frames we already tried to transmit but were filtered by hardware due to STA having entered power saving state
Number of MSDUs received from this STA
Number of bytes received from this STA
TBD
TBD
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
qual of last received frame from this STA
noise of last received frame from this STA
last received seq/frag number from this STA (per RX queue)
TBD
TBD
TBD
TBD
TBD
TBD
TBD
moving percentage of failed MSDUs
number of RX/TX MSDUs
TBD
number of transmitted MPDUs
TBD
TBD
TBD
TBD
identity mapping to ID timers
map tid to tx queue
Local link ID
Peer link ID
Cancel reason on PLINK_HOLDING state
Retries in establishment
TBD
TBD
TBD
TBD
debug filesystem info