STRUCT ATH11K_CHAN_POWER_INFO(9)
π struct ath11k_chan_power_info(9) π
okay so bestie, buckle up β this is a page from the Kernel API Manual and honestly it's short and sweet, so let's get into it β¨
πΈ NAME πΈ
struct ath11k_chan_power_info β it's the TPE holding the power info for each channel chunk. yes, that TPE. it's giving "small struct, big job" energy fr fr π«Ά
β¨ SYNOPSIS β¨
struct ath11k_chan_power_info {
u16 chan_cfreq;
s8 tx_power;
};
that's it. that's the whole struct. two members. iconic minimalism honestly π
π Members π
chan_cfreqβ this one's the channel center freq, in MHz. and okay, the way it changes depending on how wide your channel is?? literally so extra. here's the whole rundown, no cap:- channel
37/20MHz β it is6135 - channel
37/40MHz β it is6125 - channel
37/80MHz β it is6145 - channel
37/160MHz β it is6185
- channel
yes bestie, same channel, four different center freqs depending on the width. that's just how it is. π
tx_powerβ the transmit power, in dBm. simple. elegant. slay. π₯
π¦ SEE ALSO π¦
- the Kernel file
./drivers/net/wireless/ath/ath11k/core.h - and its bestie,
struct ath11k_reg_tpc_power_info(9)β go read that one too, iykyk π
ngl this struct is tiny but every field matters, so don't go renaming anything or changing types.u16ands8are exactly what they are. periodt. π
and that's the whole vibe check, bestie! π this lil page lives in ./drivers/net/wireless/ath/ath11k, and it's dated October 2026 β so mark your calendar and see you back here then π
ππ¦β¨ππ
π¦ 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