STRUCT IEEE80211_STA(9) Advanced driver interface STRUCT IEEE80211_STA(9)NAMEstruct_ieee80211_sta - station table entry
SYNOPSIS
struct ieee80211_sta {
u32 supp_rates[IEEE80211_NUM_BANDS];
u8 addr[ETH_ALEN];
u16 aid;
struct ieee80211_sta_ht_cap ht_cap;
struct ieee80211_sta_vht_cap vht_cap;
bool wme;
u8 uapsd_queues;
u8 max_sp;
u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *))));
};
MEMBERS
supp_rates[IEEE80211_NUM_BANDS]
Bitmap of supported rates (per band)
addr[ETH_ALEN]
MAC address
aid
AID we assigned to the station if we're an AP
ht_cap
HT capabilities of this STA; restricted to our own TX capabilities
vht_cap
VHT capabilities of this STA; Not restricting any capabilities of
remote STA. Taking as is.
wme
indicates whether the STA supports WME. Only valid during AP-mode.
uapsd_queues
bitmap of queues configured for uapsd. Only valid if wme is
supported.
max_sp
max Service Period. Only valid if wme is supported.
drv_priv[0] __attribute__((__aligned__(sizeof(void *))))
data area for driver use, will always be aligned to sizeof(void *),
size is determined in hw information.
DESCRIPTION
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.
AUTHOR
Johannes Berg <johannes@sipsolutions.net>
Author.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 STRUCT IEEE80211_STA(9)