struct ieee80211_sta — station table entry
struct ieee80211_sta { u32 supp_rates[IEEE80211_NUM_BANDS]; u8 addr[ETH_ALEN]; u16 aid; struct ieee80211_sta_ht_cap ht_cap; u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *)))); };
Bitmap of supported rates (per band)
MAC address
AID we assigned to the station if we're an AP
HT capabilities of this STA; restricted to our own TX capabilities
data area for driver use, will always be aligned to sizeof(void *), size is determined in hw information.
A station table entry represents a station we are possibly
communicating with. Since stations are RCU-managed in
mac80211, any ieee80211_sta pointer you get access to must
either be protected by rcu_read_lock
explicitly or implicitly,
or you must take good care to not use such a pointer after a
call to your sta_remove callback that removed it.