STRUCT CT_KILL_NOTIF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🫢 struct ct_kill_notif(9) β€” from the Kernel API Manual, bestie πŸ’…

okay so picture this: it's a kernel API manual page, it's about a struct, and it's literally the whole CT-kill entry notification situation. The struct is called struct ct_kill_notif and it's the moment where your Wi-Fi firmware is like "hey, we're about to hit CT-kill" β€” and this one little struct is out here representing both versions of that notification. one struct, two eras. main character energy fr fr ✨


✨ NAME ✨

struct ct_kill_notif β€” the CT-kill entry notification. This structure represent both versions of this notification. yes she does both. versatile icon πŸ’–


🌸 SYNOPSIS 🌸

struct ct_kill_notif {
    __le16 temperature;
    u8 dts;
    u8 scheme;
 };

three fields, that's it, no cap. keep them exactly like that, bestie β€” don't be out here renaming things πŸŽ€


πŸ¦‹ Members πŸ¦‹

  • temperature β€” the current temperature, in celsius. that's the vibe check on how hot we're running πŸ”₯
  • dts β€” only in v2, iykyk. this is the DTS that trigger the CT Kill, as a bitmap:
    • bit 0: ToP master
    • bit 1: PA chain A master
    • bit 2: PA chain B master
    • bit 3: ToP slave
    • bit 4: PA chain A slave
    • bit 5: PA chain B slave
    • bits 6,7: reserved (set to 0) πŸ™ˆ

so basically six whole bits of drama and two reserved ones minding their own business ⭐

  • scheme β€” only for v2: the scheme that trigger the CT Kill (0-SW, 1-HW). soft or hard, pick your fighter πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives at ./drivers/net/wireless/intel/iwlwifi/fw/api/phy.h and it's giving very much "read me next" 🧚

and then the whole friend group shows up, all of them page-(9) girlies:

  • 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)
  • enum iwl_ctdp_cmd_operation(9)
  • struct iwl_ctdp_cmd(9)
  • struct temp_report_ths_cmd(9)

periodt. go read them, they ate 🌈


ngl this struct is smol but she's doing important work. technically it's just a firmware notification payload β€” respect the bits and set the reserved ones to 0 like the page says, okay? πŸ“

πŸ’œ that's the whole page! shoutout to the source path ./drivers/net/wireless/intel/i... and the date stamp October 2026 β€” that's the footer, babes, we're done here. bye bestie, slay your kernel dev journey πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from