STRUCT ATH11K_REG_TPC_POWER_INFO(9)
π struct ath11k_reg_tpc_power_info(9) π
okay so bestie, welcome to the kernel API manual for struct ath11k_reg_tpc_power_info β that's the regulatory TPC power info struct, and yes the header line tried to abbreviate it as struct ath11...c_power_info(9) but we're not doing that to her, she has a full name π
β¨ NAME β¨
struct ath11k_reg_tpc_power_info β regulatory TPC power info. that's it, that's the vibe check π¦
π SYNOPSIS π
here's the whole struct, copied exactly because we do not freestyle code:
struct ath11k_reg_tpc_power_info {
bool is_psd_power;
u8 eirp_power;
enum wmi_reg_6ghz_ap_type ap_power_type;
u8 num_pwr_levels;
u8 reg_max[ATH11K_NUM_PWR_LEVELS];
s8 tpe[ATH11K_NUM_PWR_LEVELS];
struct ath11k_chan_power_info
chan_power_info[ATH11K_NUM_PWR_LEVELS];
};
that's her. that's the whole iconic lineup π
π Members π
is_psd_powerβ literally just tells you whether this is PSD power or not. yes/no, that's the whole job πeirp_powerβ the Maximum EIRP power, in dBm, and bestie listen: this one's only valid if the power is PSD. so if it's not PSD, don't come for her πap_power_typeβ the type of power, and the options are SP/LPI/VLP. she's anenum wmi_reg_6ghz_ap_typebtw, keep that in mind π§num_pwr_levelsβ number of power levels. just the count, that's the whole tea βreg_maxβ an Array of maximum TX power (dBm) per PSD value. it's au8array sizedATH11K_NUM_PWR_LEVELS, no cap β¨tpeβ TPE values processed from TPE IE. it's ans8array, sizedATH11K_NUM_PWR_LEVELS, and yes she's signed, we respect that π«Άchan_power_infoβ power info to send to firmware. it's an array ofstruct ath11k_chan_power_info, sizedATH11K_NUM_PWR_LEVELS. this is the main character of the struct ngl π
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/wireless/ath/ath11k/core.hstructath11k_chan_power_info(9)β go read her too, she's right there iykyk π
lowkey reminder: eirp_power is only valid when the power is PSD. that's not me being dramatic, that's just the facts π
and that's the whole page bestie, no notes πΈ this one came from the source ./drivers/net/wireless/ath/ath11k, dated October 2026, and it's the manual for struct ath11k_reg_tpc_power_info(9) β slay, go forth and configure your power levels responsibly β¨ππ
π¦ 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