STRUCT ATH12K_CHAN_POWER_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct ath12k_chan_power_info(9) β€” like, the whole vibe 🌸

okay bestie, so we're deep in the Kernel API Manual for struct ath1...n_power_info(9) and honestly? it's giving niche-but-iconic. this one is a little struct that carries TPE power info, one channel chunk at a time. let's get into it πŸ’…


✨ NAME ✨

struct ath12k_chan_power_info β€” literally just the TPE holding the power info for each channel chunk 🫢


🌈 SYNOPSIS 🌈

struct ath12k_chan_power_info {
    u16 chan_cfreq;
    s8 tx_power;
};

two members, zero drama. look at her. so clean. πŸŽ€


πŸ’– Members πŸ’–

  • chan_cfreq β€” the channel center freq, in MHz ⭐ and no, it's not one number for everything, the way that bandwidth changes things is lowkey the whole point. here's the tea, channel 37 at each width:
    • 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

like… the center moves because the chunk gets wider, and she's just out here tracking it fr fr 😭

  • tx_power β€” the transmit power, in dBm πŸ”₯ that's it. that's the field. main character energy, honestly πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/net/wireless/ath/ath12k/mac.h β€” that's where this struct lives, iykyk πŸ“
  • struct ath12k_reg_tpc_power_info(9) β€” her bestie, the bigger TPC power info situation, go read that one next πŸ’œ

ngl, nothing here is dangerous, it's just a lil data struct β€” but please respect the freqs, they're exact for a reason πŸ™ˆ

and that's a wrap, bestie! 🌸 source/version: ./drivers/net/wireless/ath/ath12k, dated October 2026, closing out struct ath1...n_power_info(9) β€” slay, go compile something πŸŽ€βœ¨πŸ’–

πŸ“¦ where this page comes from