ath5k_ani_phy_error_report(9)
π 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β thestruct ath5k_hw. that's your hardware struct bestie, the whole vibe of the card lives in there πphyerrβ one ofenum 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:
- Kernel file
./drivers/net/wireless/ath/ath5k/ani.c Basic ANI Operation(9)ath5k_ani_set_noise_immunity_level(9)ath5k_ani_set_spur_immunity_level(9)ath5k_ani_set_firstep_level(9)ath5k_ani_set_ofdm_weak_signal_detection(9)ath5k_ani_set_cck_weak_signal_detection(9)ath5k_ani_raise_immunity(9)ath5k_ani_lower_immunity(9)ath5k_hw_ani_get_listen_time(9)ath5k_ani_save_and_clear_phy_errors(9)ath5k_ani_period_restart(9)ath5k_ani_calibration(9)ath5k_ani_mib_intr(9)ath5k_enable_phy_err_counters(9)ath5k_disable_phy_err_counters(9)ath5k_ani_init(9)ath5k_ani_print_counters(9)
bestie reminder:phyerris anenum 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms