ENUM IEEE80211_STA_INFO_FLAGS(9)
πΈ NAME πΈ
enum ieee80211_sta_info_flags β the station flags enum, bestie π (also known as the Kernel API Manual, in case you were wondering which manual you were reading π)
β¨ SYNOPSIS β¨
enum ieee80211_sta_info_flags {
WLAN_STA_AUTH ,
WLAN_STA_ASSOC ,
WLAN_STA_PS_STA ,
WLAN_STA_AUTHORIZED ,
WLAN_STA_SHORT_PREAMBLE ,
WLAN_STA_WDS ,
WLAN_STA_CLEAR_PS_FILT ,
WLAN_STA_MFP ,
WLAN_STA_BLOCK_BA ,
WLAN_STA_PS_DRIVER ,
WLAN_STA_PSPOLL ,
WLAN_STA_TDLS_PEER ,
WLAN_STA_TDLS_PEER_AUTH ,
WLAN_STA_TDLS_INITIATOR ,
WLAN_STA_TDLS_CHAN_SWITCH ,
WLAN_STA_TDLS_OFF_CHANNEL ,
WLAN_STA_TDLS_WIDER_BW ,
WLAN_STA_UAPSD ,
WLAN_STA_SP ,
WLAN_STA_4ADDR_EVENT ,
WLAN_STA_INSERTED ,
WLAN_STA_RATE_CONTROL ,
WLAN_STA_TOFFSET_KNOWN ,
WLAN_STA_MPSP_OWNER ,
WLAN_STA_MPSP_RECIPIENT ,
WLAN_STA_PS_DELIVER ,
WLAN_STA_USES_ENCRYPTION ,
WLAN_STA_DECAP_OFFLOAD ,
NUM_WLAN_STA_FLAGS
};
π Constants π
okay so here's the whole cast of characters, one by one, no skipping π
WLAN_STA_AUTHβ station is authenticated β¨WLAN_STA_ASSOCβ station is associated π«ΆWLAN_STA_PS_STAβ station is in power-save mode π΄WLAN_STA_AUTHORIZEDβ station is authorized to send/receive traffic. Heads up: this bit is always checked, so it needs to be enabled for all stations when virtual port control is not in use πWLAN_STA_SHORT_PREAMBLEβ station is capable of receiving short-preamble frames π¦WLAN_STA_WDSβ station is one of our WDS peers π€WLAN_STA_CLEAR_PS_FILTβ clear the PS filter in hardware (using theIEEE80211_TX_CTL_CLEAR_PS_FILTcontrol flag) when the next frame to this station is transmitted π§ΉWLAN_STA_MFPβ management frame protection is used with this STA πWLAN_STA_BLOCK_BAβ used to deny ADDBA requests (both TX and RX) during suspend/resume and station removal π«WLAN_STA_PS_DRIVERβ driver requires keeping this station in power-save mode logically, so it can flush frames that might still be in the queues πWLAN_STA_PSPOLLβ station sent PS-poll while the driver was keeping the station in power-save mode; reply when the driver unblocks π¨WLAN_STA_TDLS_PEERβ station is a TDLS peer πWLAN_STA_TDLS_PEER_AUTHβ this TDLS peer is authorized to send direct packets, which means the link is enabled βWLAN_STA_TDLS_INITIATORβ we are the initiator of the TDLS link with this station πββοΈWLAN_STA_TDLS_CHAN_SWITCHβ this TDLS peer supports TDLS channel-switching πWLAN_STA_TDLS_OFF_CHANNELβ the local STA is currently off-channel with this TDLS peer π΄WLAN_STA_TDLS_WIDER_BWβ this TDLS peer supports working on a wider bw on the BSS base channel πΆWLAN_STA_UAPSDβ station requested unscheduled SP while the driver was keeping the station in power-save mode; reply when the driver unblocks the station β³WLAN_STA_SPβ station is in a service period, so don't try to reply to other uAPSD trigger frames or PS-Poll π ββοΈWLAN_STA_4ADDR_EVENTβ 4-addr event was already sent for this frame π¬WLAN_STA_INSERTEDβ this station is inserted into the hash table ποΈWLAN_STA_RATE_CONTROLβ rate control was initialized for this station πWLAN_STA_TOFFSET_KNOWNβ toffset calculated for this station is valid βοΈWLAN_STA_MPSP_OWNERβ local STA is owner of a mesh Peer Service Period πWLAN_STA_MPSP_RECIPIENTβ local STA is recipient of a MPSP πWLAN_STA_PS_DELIVERβ station woke up, but we're still blocking TX until pending frames are delivered πWLAN_STA_USES_ENCRYPTIONβ this station was configured for encryption, so drop all packets without a key later πWLAN_STA_DECAP_OFFLOADβ this station uses rx decap offload πNUM_WLAN_STA_FLAGSβ the number of defined flags π’
π¦ Description π¦
So likeβ¦ these flags are used with struct sta_info's flags member β but only indirectly, through set_sta_flag and friends π«. That's the whole vibe. iykyk.
π« SEE ALSO π«
Kernel file ./net/mac80211/sta_info.h β and the whole friend group:
struct tid_ampdu_tx(9)struct tid_ampdu_rx(9)struct sta_ampdu_mlme(9)struct ieee80211_fast_tx(9)struct ieee80211_fast_rx(9)struct mesh_sta(9)struct link_sta_info(9)struct ieee80211_sta_removed_link_stats(9)struct sta_info(9)__sta_info_flush(9)sta_info_flush(9)
okay that's the whole page, bestie, you ate that π«Άβ¨ this lil gem lives in ./net/mac80211, dated October 2026, and it's filed under enum ieee80...a_info_flags(9) in the Kernel API Manual β slay, go read some kernel source, ily πππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms