ath5k_ani_phy_error_report(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ath5k_ani_phy_error_report(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes it's a (9) page, that's the kernel-doc girlies, we respect them 🫢. Today's main character is ath5k_ani_phy_error_report, and honestly? she's doing a very specific little job and she's doing it well. no cap.


✨ NAME ✨

ath5k_ani_phy_error_report β€” the girlies on older HW use this to report PHY errors πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void ath5k_ani_phy_error_report (struct ath5k_hw *ah , enum
ath5k_phy_error_code phyerr );

literally just that. two arguments, no return value, void, she gives nothing back and expects nothing in return. iconic behaviour tbh.


πŸŽ€ ARGUMENTS πŸŽ€

  • ah β€” the struct ath5k_hw. that's your hardware struct bestie, the whole vibe of the card lives in there πŸ’–
  • phyerr β€” one of enum ath5k_phy_error_code. i.e. which flavour of PHY error we're reporting, pick one from the enum, please and thank you πŸ“

πŸ”₯ DESCRIPTION πŸ”₯

so here's the tea β˜•: this function gets called by hardware that doesn't have PHY error counters β€” like, they simply didn't ship with them, not their fault, we don't judge πŸ™ˆ β€” and it reports PHY errors on a frame-by-frame basis instead.

which is different from the normal girlies who get to do it via the interrupt ✨. those cards get the fancy counter treatment; these cards have to hand you each error one frame at a time. and ath5k_ani_phy_error_report is the function that takes that handoff. lowkey important, highkey underrated πŸ‘‘


🌈 SEE ALSO 🌈

the whole friend group, fr fr β€” go say hi:


bestie reminder: phyerr is an enum ath5k_phy_error_code, so don't go throwing random ints at it and acting surprised πŸ™ˆ. also this path is for hardware without PHY error counters β€” the counter-having girlies go through the interrupt instead. iykyk πŸ’…

that's the whole page, mwah πŸ’‹ β€” sourced straight from ./drivers/net/wireless/ath/ath5k, dated October 2026, and this manual page is literally called ath5k_ani_phy_error_report(9). slay, ate, no crumbs left, periodt πŸŒΈπŸ§šπŸ’œ

πŸ“¦ where this page comes from