ENUM IWL_STA_SLEEP_FLAG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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