STRUCT IWL_CTDP_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct iwl_ctdp_cmd(9) β€” like, the whole kernel API manual vibe, bestie

okay so welcome to the glow-up of struct iwl_ctdp_cmd(9), straight out of the Kernel API Manual. Yes, this is a real manpage and yes, we're gonna make it cute. Sit down, grab a lil snack πŸ“, and let's get into it.


✨ NAME ✨

struct iwl_ctdp_cmd β€” the struct that tracks and manages the FW power consumption budget 🫢

no cap, that's literally its whole job. it keeps an eye on how much power the firmware is allowed to burn and manages that budget. main character energy fr.


🌸 SYNOPSIS 🌸

struct iwl_ctdp_cmd {
    __le32 operation;
    __le32 budget;
    __le32 window_size;
 };

three fields. that's it. that's the whole struct. she's small but she's iconic πŸ’…


πŸŽ€ Members πŸŽ€

  • operation β€” this one tells you what's going on, and the answer lives in enum iwl_ctdp_cmd_operation. go look there, iykyk πŸ”₯
  • budget β€” the budget itself, measured in milliwatt. yes, milliwatt, not some other unit, don't come for me 😭
  • window_size β€” okay so here's the tea: this one is defined in API but not used. it's giving decorative. defined and then just… vibing πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

like, literally go read these too, they're all in the kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/phy.h:

  • enum iwl_phy_ops_subcmd_ids(9)
  • struct iwl_dts_measurement_cmd(9)
  • enum iwl_dts_control_measurement_mode(9)
  • enum iwl_dts_used(9)
  • enum iwl_dts_bit_mode(9)
  • struct iwl_ext_dts_measurement_cmd(9)
  • struct iwl_dts_measurement_notif_v1(9)
  • struct iwl_dts_measurement_notif(9)
  • struct iwl_dts_measurement_resp(9)
  • struct ct_kill_notif(9)
  • enum iwl_ctdp_cmd_operation(9)
  • struct temp_report_ths_cmd(9)

that's the whole friend group, say hi to all of them πŸ’–


ngl bestie, the only plot twist here is window_size being defined in the API but not used. everything else is exactly what it says on the tin. periodt. πŸ‘‘

🌈 okay that's the page!! this lil cutie comes to you from ./drivers/net/wireless/intel/i... and it's dated October 2026, and we're all reading struct iwl_ctdp_cmd(9) together. slay, ate, no crumbs left. bye bestie, go manage that FW power budget πŸ’œβœ¨

πŸ“¦ where this page comes from