ENUM IWL_STA_SLEEP_FLAG(9)
β¨ enum iwl_sta_sleep_flag(9) β¨
okay bestie, welcome to the Kernel API Manual π this one is literally a little enum from the kernel, and it's giving "tiny but iconic" β it's called enum iwl_sta_sleep_flag, and it describes the type of sleep of the station. yes. stations sleep. we love a well-rested station π
π¦ NAME π¦
enum iwl_sta_sleep_flag β type of sleep of the station π€
πΈ SYNOPSIS πΈ
no cap, this is the whole shape of it. copy it exactly, don't be weird about it:
enum iwl_sta_sleep_flag {
STA_SLEEP_STATE_AWAKE ,
STA_SLEEP_STATE_PS_POLL ,
STA_SLEEP_STATE_UAPSD ,
STA_SLEEP_STATE_MOREDATA
};
four constants, four vibes, one enum. slay π
π Constants π
okay so these are the four states, and ngl each one has main character energy:
STA_SLEEP_STATE_AWAKEβ station is awake βοΈ not sleeping, not napping, just up and living.STA_SLEEP_STATE_PS_POLLβ station is PS-polling π«Ά it's out here doing the PS-poll thing.STA_SLEEP_STATE_UAPSDβ station uses U-APSD β‘ literally, that's the fact.STA_SLEEP_STATE_MOREDATAβ set more-data bit on (last) released frame π¨ the more-data bit gets set on that last released frame. periodt.
π SEE ALSO π
iykyk, all the sibling enums and structs live in the kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/sta.h. go say hi to the whole family π:
enum iwl_sta_flags(9)enum iwl_sta_key_flag(9)enum iwl_sta_modify_flag(9)enum iwl_sta_mode(9)struct iwl_mvm_add_sta_cmd_v7(9)enum iwl_sta_type(9)struct iwl_mvm_add_sta_cmd(9)struct iwl_mvm_add_sta_key_common(9)struct iwl_mvm_add_sta_key_cmd_v1(9)struct iwl_mvm_add_sta_key_cmd(9)enum iwl_mvm_add_sta_rsp_status(9)struct iwl_mvm_rm_sta_cmd(9)struct iwl_mvm_mgmt_mcast_key_cmd_v1(9)struct iwl_mvm_mgmt_mcast_key_cmd(9)struct iwl_mvm_eosp_notification(9)
fr fr, the path gets cut off in the original footer as ./drivers/net/wireless/intel/i... β that's just the truncation, the full file is the one up in SEE ALSO π
and that's the page, bestie π«Ά this came out of ./drivers/net/wireless/intel/i... β October 2026 β and the whole thing is filed under enum iwl_sta_sleep_flag(9). mwah, go take a nap, you've earned it π€π
π¦ 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