ENUM IWL_DEVICE_POWER_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum iwl_device_power_flags(9) πŸ’–

okay bestie, so this is a page from the Kernel API Manual β€” yes, the kernel, that big scary thing β€” and it's literally just about the masks for device power command flags. tiny page, big vibes, we love a low-effort icon. ✨


✨ NAME ✨

enum iwl_device_power_flags β€” the masks for device power command flags 🫢


🌸 SYNOPSIS 🌸

enum iwl_device_power_flags {
    DEVICE_POWER_FLAGS_POWER_SAVE_ENA_MSK ,
    DEVICE_POWER_FLAGS_ALLOW_MEM_RETENTION_MSK ,
    DEVICE_POWER_FLAGS_NO_SLEEP_TILL_D3_MSK ,
    DEVICE_POWER_FLAGS_32K_CLK_VALID_MSK

};

like, that's the whole enum, she's cute, she's compact, she's giving "four flags and a dream" πŸ’…


πŸŽ€ Constants πŸŽ€

bestie these are the actual members, and ngl each one is doing its own little job:

  • DEVICE_POWER_FLAGS_POWER_SAVE_ENA_MSK β€” receiver and transmitter. '0' - does not allow. πŸ’€ (yes, that's literally all it says, we're all just doing our best here)
  • DEVICE_POWER_FLAGS_ALLOW_MEM_RETENTION_MSK β€” this one's the Device Retention indication: '1' indicate retention is enabled. πŸ‘‘ keep that memory alive, queen
  • DEVICE_POWER_FLAGS_NO_SLEEP_TILL_D3_MSK β€” prevent power save until entering d3 is completed. no napping on the job 😀
  • DEVICE_POWER_FLAGS_32K_CLK_VALID_MSK β€” the 32Khz external slow clock valid indication, and '1' indicate cloack is valid. πŸ¦‹ (yes, "cloack" β€” we're quoting it exactly, don't come for me, the typo is historical)

πŸ¦‹ SEE ALSO πŸ¦‹

so if you're the kind of girlie who likes to go down a rabbit hole, the kernel file lives at ./drivers/net/wireless/intel/iwlwifi/fw/api/power.h β€” and while you're there, here's the whole friend group 🌈:

  • enum iwl_ltr_config_flags(9)
  • struct iwl_ltr_config_cmd_v1(9)
  • struct iwl_ltr_config_cmd(9)
  • enum iwl_power_flags(9)
  • struct iwl_powertable_cmd(9)
  • struct iwl_device_power_cmd(9)
  • struct iwl_mac_power_cmd_v2(9)
  • struct iwl_mac_power_cmd(9)
  • struct iwl_dev_tx_power_common(9)
  • struct iwl_dev_tx_power_cmd_v3(9)
  • struct iwl_dev_tx_power_cmd_v4(9)
  • struct iwl_dev_tx_power_cmd_v5(9)
  • struct iwl_dev_tx_power_cmd_v8(9)
  • struct iwl_dev_tx_power_cmd_v3_v8(9)
  • struct iwl_dev_tx_power_cmd_v9(9)
  • struct iwl_dev_tx_power_cmd_v10(9)
  • enum iwl_geo_per_chain_offset_operation(9)
  • struct iwl_per_chain_offset(9)
  • struct iwl_geo_tx_power_profiles_cmd_v1(9)
  • struct iwl_geo_tx_power_profiles_cmd_v2(9)
  • struct iwl_geo_tx_power_profiles_cmd_v3(9)
  • struct iwl_geo_tx_power_profiles_cmd_v4(9)
  • struct iwl_geo_tx_power_profiles_cmd_v5(9)
  • struct iwl_geo_tx_power_profiles_cmd_v6(9)
  • struct iwl_geo_tx_power_profiles_resp(9)
  • enum iwl_ppag_flags(9)
  • union iwl_ppag_table_cmd(9)
  • struct iwl_sar_offset_mapping_cmd(9)
  • struct iwl_beacon_filter_cmd(9)
  • struct iwl_txpower_constraints_cmd(9)

like, that's a lot of siblings, but every single one of them matters, so we're listing them all. no cap. πŸ”₯


ngl this whole page is basically "here are four bit masks, have fun" and honestly? iconic. use them responsibly, bestie. πŸ’œ

and that's a wrap! πŸŽ€ this little beauty is dated October 2026, it's the enum iwl_device_power_flags(9) page, and the source path got cutely truncated to ./drivers/net/wireless/intel/i... in the footer β€” go read the full power.h if you want the director's cut. mwah! πŸ’–πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from