STRUCT IWL_TT_MGMT(9)
π struct iwl_tt_mgmt(9) β the Kernel API Manual, but make it make sense
okay so bestie, welcome to the glow-up of struct iwl_tt_mgmt(9) β the Thermal Throttling Management structure β¨ this is the little control room that keeps your wifi card from literally melting, and we're gonna go through it field by field, no skips, no cap π«Ά
πΈ NAME πΈ
struct iwl_tt_mgmt β the Thermal Throttling Management structure. that's it, that's the whole vibe: it manages the throttling, thermally. π₯
β¨ SYNOPSIS β¨
here's the whole struct, looking iconic, copied exactly because we do not paraphrase code in this house:
struct iwl_tt_mgmt {
enum iwl_tt_state state;
bool advanced_tt;
u8 tt_power_mode;
bool ct_kill_toggle;
#ifdef CONFIG_IWLWIFI_DEBUG;
s32 tt_previous_temp;
#endif;
struct iwl_tt_restriction *restriction;
struct iwl_tt_trans *transaction;
struct timer_list ct_kill_exit_tm;
struct timer_list ct_kill_waiting_tm;
};
like, look at her. all those fields. main character struct energy, honestly π
π Members π
okay so let's meet the squad one by one π
stateβ the current Thermal Throttling state. the mood ring of the whole operation. πadvanced_ttβ aboolthat says whether advanced thermal throttle is required. highkey important. βtt_power_modeβ the Thermal Throttling power mode index being used to set the power level when the thermal throttling state!= IWL_TI_0. and when it is throttling,tt_power_modeshould be set to a different power mode based on the current tt state. iykyk πct_kill_toggleβ used to toggle the CSR bit when checking uCode temperature. little flip-flop, big job. π¦tt_previous_tempβ the last measured temperature. the receipt, basically. π§Ύ (also: it only exists whenCONFIG_IWLWIFI_DEBUGis on, because debug-gated fields are a whole aesthetic π)restrictionβ ptr to the restriction tbl, used by advance thermal throttling to determine how many tx/rx streams should be used in the tt state; and also whether HT can be enabled or not. so like, it decides how much wifi you're allowed to have. πtransactionβ ptr to the adv trans table, used by advance thermal throttling state transaction. the transition queen herself. πct_kill_exit_tmβ timer to exit thermal kill. your get-out-of-jail timer. β°ct_kill_waiting_tmβ timer to enter thermal kill. your get-into-jail timer. π
π¦ SEE ALSO π¦
go touch grass in the kernel source, bestie:
Kernel file ./drivers/net/wireless/intel/iwlwifi/dvm/tt.h struct iwl_tt_restriction(9), struct iwl_tt_trans(9)
heads up bestie:tt_previous_tempis wrapped in#ifdef CONFIG:IWLWIFI_DEBUGin the source, so if you're poking at it without that config, it's giving absent π«₯ β andtt_power_modeonly needs its own distinct power mode whenstate != IWL_TI_0, so don't go setting it for no reason fr fr.
πΈ okay that's the page!! sourced from ./drivers/net/wireless/intel/i... and dated October 2026 β mwah, go keep those thermals in check, ily, bye ππ
π¦ 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