STRUCT ATH12K_REG_TPC_POWER_INFO(9)
π struct ath12k_reg_tpc_power_info(9) π
okay bestie, welcome to the Kernel API Manual β¨ β today's main character is struct ath12k_reg_tpc_power_info, aka the regulatory TPC power info struct. she's lowkey just a little bundle of power numbers and we're gonna learn her whole vibe. no cap.
πΈ NAME πΈ
struct ath12k_reg_tpc_power_info β regulatory TPC power info π«Ά
β¨ SYNOPSIS β¨
like, here's literally her whole shape. don't touch a single character, she's perfect:
struct ath12k_reg_tpc_power_info {
bool is_psd_power;
u8 eirp_power;
enum wmi_reg_6g_ap_type ap_power_type;
u8 num_pwr_levels;
u8 reg_max[ATH12K_NUM_PWR_LEVELS];
u8 ap_constraint_power;
s8 tpe[ATH12K_NUM_PWR_LEVELS];
struct ath12k_chan_power_info
chan_power_info[ATH12K_NUM_PWR_LEVELS];
};
π Members π
it's giving roster reveal, so let's meet the whole squad π
is_psd_powerβ the vibe check: is this PSD power or not?bool, so it's a yes/no girlie.eirp_powerβ maximum EIRP power, in dBm. β οΈ careful bestie: this one's valid only if power is PSD. otherwise she's just sitting there being decorative.ap_power_typeβ the type of power, anenum wmi_reg_6g_ap_type. the options are SP / LPI / VLP. pick your fighter π₯num_pwr_levelsβ the number of power levels. literally just a count, but an important one β¨reg_maxβ an array of maximum TX power (dBm) per PSD value. size:ATH12K_NUM_PWR_LEVELS. iconic.ap_constraint_powerβ AP constraint power, in dBm. πtpeβ the TPE values processed from the TPE IE. signed bytes (s8), one per level,ATH12K_NUM_PWR_LEVELSof them.chan_power_infoβ the power info to send to firmware π¨ (it's astruct ath12k_chan_power_info, arrayed out toATH12K_NUM_PWR_LEVELS).
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/wireless/ath/ath12k/mac.hβ go read it, iykyk π struct ath12k_chan_power_info(9)β her bestie, obviously π«Ά
π friendly reminder that eirp_power is only valid when the power is PSD. don't be out here reading it in the wrong context, bestie, that's not the move.
and that's the whole page, bestie!! π this lil icon came from the Kernel file ./drivers/net/wireless/ath/ath12k and she's dated October 2026 β periodt. go slay some regulatory power configs π
β¨πΈ
π¦ 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