PHY RELATED FUNCTIONS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this is from the Kernel API Manual, section (9), and bestie… it's a lot. buckle up πŸ’…


✨ DESCRIPTION ✨

so basically this page is all about the low-level functions that handle baseband and the analog frontend (RF) parts. and like β€” ngl β€” this is by far the most complex part of the hw code 😭 so pls pls pls make sure you actually know what you're doing before you touch anything. this is not the vibe to fake it through 🫢

here's the rundown of what this whole thing covers:

  • Channel setting/switching β€” the classic bop between channels πŸ’ƒ
  • Automatic Gain Control (AGC) calibration β€” gain but make it self-regulating ✨
  • Noise Floor calibration β€” figuring out how quiet the quiet actually is πŸ”‡
  • I/Q imbalance calibration (QAM correction) β€” fixing that little offset situation πŸŽ€
  • Calibration due to thermal changes (gain_F) β€” because she gets warm and needs a minute 🌑️
  • Spur noise mitigation β€” yeeting the spurious noise, as one does πŸ’€
  • RF/PHY initialization for the various operating modes and bwmodes β€” getting her ready for every mood and every bwmode πŸ’œ
  • Antenna control β€” antennas being main characters, as they should πŸ‘‘
  • TX power control per channel/rate/packet type β€” power levels, but make them specific ⚑
also keep in mind (and this is so real of us) we never got documentation for most of these functions 😭 what we have comes mostly from Atheros's code, reverse engineering and patent docs/presentations etc. so like… we're all just doing our best here fr fr πŸ™ˆ

πŸ”— SEE ALSO πŸ”—

the kernel file lives at ./drivers/net/wireless/ath/ath5k/phy.c β€” go read it, bestie, it's giving primary source πŸ“–

and here's everyone else you should go say hi to:


πŸ’– that's the whole page, bestie β€” you ate that πŸ’–

this lil slice of lore comes to you from ./drivers/net/wireless/ath/ath5k, dated October 2026 πŸŽ€ go forth and calibrate responsibly, mwah 🫢✨

πŸ“¦ where this page comes from