Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

struct_ieee80211_sta(9) [centos man page]

STRUCT 
IEEE80211_STA(9) Advanced driver interface STRUCT IEEE80211_STA(9) NAME
struct_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 rx_nss; enum ieee80211_sta_rx_bandwidth bandwidth; enum ieee80211_smps_mode smps_mode; u8 drv_priv[0]; }; 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 capabilities vht_cap VHT capabilities of this STA; restricted to our own capabilities 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. rx_nss in HT/VHT, the maximum number of spatial streams the station can receive at the moment, changed by operating mode notifications and capabilities. The value is only valid after the station moves to associated state. bandwidth current bandwidth the station can receive with smps_mode current SMPS mode (off, static or dynamic) drv_priv[0] 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. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT IEEE80211_STA(9)

Check Out this Related Man Page

IEEE80211_STA_SET_BU(9) 				     Advanced driver interface					   IEEE80211_STA_SET_BU(9)

NAME
ieee80211_sta_set_buffered - inform mac80211 about driver-buffered frames SYNOPSIS
void ieee80211_sta_set_buffered(struct ieee80211_sta * sta, u8 tid, bool buffered); ARGUMENTS
sta struct ieee80211_sta pointer for the sleeping station tid the TID that has buffered frames buffered indicates whether or not frames are buffered for this TID DESCRIPTION
If a driver buffers frames for a powersave station instead of passing them back to mac80211 for retransmission, the station may still need to be told that there are buffered frames via the TIM bit. This function informs mac80211 whether or not there are frames that are buffered in the driver for a given TID; mac80211 can then use this data to set the TIM bit (NOTE: This may call back into the driver's set_tim call! Beware of the locking!) If all frames are released to the station (due to PS-poll or uAPSD) then the driver needs to inform mac80211 that there no longer are frames buffered. However, when the station wakes up mac80211 assumes that all buffered frames will be transmitted and clears this data, drivers need to make sure they inform mac80211 about all buffered frames on the sleep transition (sta_notify with STA_NOTIFY_SLEEP). Note that technically mac80211 only needs to know this per AC, not per TID, but since driver buffering will inevitably happen per TID (since it is related to aggregation) it is easier to make mac80211 map the TID to the AC as required instead of keeping track in all drivers that use this API. AUTHOR
Johannes Berg <johannes@sipsolutions.net> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 IEEE80211_STA_SET_BU(9)
Man Page