STRUCT CT_KILL_NOTIF(9)
π«Ά 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
- 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