STRUCT ATH11K_REG_TPC_POWER_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 an enum wmi_reg_6ghz_ap_type btw, 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 a u8 array sized ATH11K_NUM_PWR_LEVELS, no cap ✨
  • tpe β€” TPE values processed from TPE IE. it's an s8 array, sized ATH11K_NUM_PWR_LEVELS, and yes she's signed, we respect that 🫢
  • chan_power_info β€” power info to send to firmware. it's an array of struct ath11k_chan_power_info, sized ATH11K_NUM_PWR_LEVELS. this is the main character of the struct ngl πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/net/wireless/ath/ath11k/core.h struct ath11k_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