STRUCT ATH11K_CHAN_POWER_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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/20 MHz β†’ it is 6135
    • channel 37/40 MHz β†’ it is 6125
    • channel 37/80 MHz β†’ it is 6145
    • channel 37/160 MHz β†’ it is 6185

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. u16 and s8 are 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