ath5k_hw_re...rfgain_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ath5k_hw_request_rfgain_probe β€” a Kernel API Manual moment (yes, section 9, we're fancy)

okay so bestie, welcome to the ath5k corner of the kernel, where we're talking about one tiny function that lives in the middle of the PHY drama. This is ath5k_hw_request_rfgain_probe(9), straight out of the Kernel API Manual, and it's honestly giving "small but crucial supporting character" energy. πŸŽ€


✨ NAME ✨

ath5k_hw_request_rfgain_probe β€” literally just: Request a PAPD probe packet. That's the whole gig. She does one thing and she does it cute. πŸ’–


🌸 SYNOPSIS 🌸

void ath5k_hw_request_rfgain_probe (struct ath5k_hw *ah );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ah β€” the struct ath5k_hw. your whole hardware situation in one pointer, bestie. everything she needs, nothing she doesn't. 🫢

πŸ’« DESCRIPTION πŸ’«

So what she actually does: she schedules a gain probe check on the next transmitted packet. Like, she's not doing the measuring herself, she's just putting it on the calendar for the next packet out the door. πŸ“…βœ¨

And that means our next packet is going to be sent with lower tx power, and then a Peak to Average Power Detector (PAPD) swings in and tries to measure the gain. It's a whole little operation. The next packet is basically doing double duty β€” traffic and science. iykyk. πŸ”₯

TODO (and she said it herself, no cap): Force a tx packet (bypassing PCU arbitrator etc) just after we enable the probe so that we don't mess with standard traffic. so yeah β€” right now the probe rides along with regular traffic, which is lowkey not ideal, and the fix is to shove a dedicated tx packet through instead. noted. πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

Okay this is the part where she tags literally everyone in the group chat. Cue the mass mention, because the whole ath5k PHY friend group is here:

like, that's the entire extended friend group and honestly? iconic. πŸ‘‘


and that's the tea πŸ’… this page lives at ./drivers/net/wireless/ath/ath5k and it's stamped October 2026 β€” so when you cite her, cite her right, bestie. mwah. πŸ“πŸ§šπŸ’œ

πŸ“¦ where this page comes from