Name

struct sta_info — STA information

Synopsis

struct sta_info {
  struct list_head list;
  struct sta_info * hnext;
  struct ieee80211_local * local;
  struct ieee80211_ht_info ht_info;
  u64 supp_rates[IEEE80211_NUM_BANDS];
  u8 addr[ETH_ALEN];
  u16 aid;
  u32 flags;
  struct sk_buff_head ps_tx_buf;
  struct sk_buff_head tx_filtered;
  unsigned long rx_packets;
  unsigned long rx_bytes;
#ifdef CONFIG_MAC80211_DEBUG_COUNTERS
#endif
#ifdef CONFIG_MAC80211_DEBUG_COUNTERS
#endif
#ifdef CONFIG_MAC80211_MESH
#endif
#ifdef CONFIG_MAC80211_DEBUGFS
#endif
};  

Members

list

global linked list entry

hnext

hash table linked list pointer

local

pointer to the global information

ht_info

HT capabilities of this STA

supp_rates[IEEE80211_NUM_BANDS]

Bitmap of supported rates (per band)

addr[ETH_ALEN]

MAC address of this STA

aid

STA's unique AID (1..2007, 0 = not assigned yet), only used in AP (and IBSS?) mode

flags

STA flags, see enum ieee80211_sta_info_flags

ps_tx_buf

buffer of frames to transmit to this station when it leaves power saving state

tx_filtered

buffer of frames we already tried to transmit but were filtered by hardware due to STA having entered power saving state

rx_packets

Number of MSDUs received from this STA

rx_bytes

Number of bytes received from this STA

Description

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