ENUM IWL_DEVICE_POWER_FLAGS(9)
π 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, queenDEVICE_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
- 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