STRUCT IWL_TT_PARAMS(9)
π struct iwl_tt_params β a Kernel API Manual moment (section 9, bestie)
okay so picture this: you're deep in the iwlwifi driver, your chip is literally getting hot π₯, and the kernel needs to know exactly when to start throttling things before your laptop turns into a pancake griddle. That's this struct, girl. struct iwl_tt_params = the thermal throttling parameters, and it's giving main character energy for your thermals π‘οΈβ¨
β¨ NAME β¨
struct iwl_tt_params β thermal throttling parameters π
π¦ SYNOPSIS π¦
struct iwl_tt_params {
u32 ct_kill_entry;
u32 ct_kill_exit;
u32 ct_kill_duration;
u32 dynamic_smps_entry;
u32 dynamic_smps_exit;
u32 tx_protection_entry;
u32 tx_protection_exit;
struct iwl_tt_tx_backoff tx_backoff[TT_TX_BACKOFF_SIZE];
u8 support_ct_kill:1, support_dynamic_smps:1,
support_tx_protection:1, support_tx_backoff:1;
};
no cap, those last four are bitfields, so they each get one lil u8 bit to live in π£
πΈ Members πΈ
okay bestie, member-by-member, let's go π
ct_kill_entryβ the CT Kill entry threshold. that's the temp at which CT Kill kicks in π₯ct_kill_exitβ the CT Kill exit threshold. this is your way back out πͺct_kill_durationβ the time intervals (in uSec) during which the driver needs to check whether it should exit CT Kill. yes, uSec, microseconds, she's precise β±οΈdynamic_smps_entryβ the Dynamic SMPS entry threshold β¨dynamic_smps_exitβ the Dynamic SMPS exit threshold β¨tx_protection_entryβ the TX protection entry threshold π‘tx_protection_exitβ the TX protection exit threshold π‘tx_backoffβ an array of thresholds for tx-backoff, in ascending order. lowkey important: ascending, so don't be chaotic and shuffle it πsupport_ct_killβ Support CT Kill? πsupport_dynamic_smpsβ Support dynamic SMPS? πsupport_tx_protectionβ Support tx protection? πsupport_tx_backoffβ Support tx-backoff? π
bestie note π«Ά: those support_* bits are literally just yes/no flags β the hardware/driver either does the thing or it doesn't, and the struct wants the tea.
π SEE ALSO π
go look at the kernel file ./drivers/net/wireless/intel/iwlwifi/iwl-config.h, plus these beauties:
enum iwl_nvm_type(9)struct iwl_fw_mon_reg(9)struct iwl_fw_mon_regs(9)struct iwl_family_base_params(9)struct iwl_mac_cfg(9)struct iwl_rf_cfg(9)
aaaand that's the page, icon π source path was ./drivers/net/wireless/intel/i... (yes, it's truncated in the original, that's just how she is π) and the date on it is October 2026, so mark your calendar bestie ποΈπ periodt β¨
π¦ 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