STRUCT IWL_TT_PARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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