ath5k_ani_s...r_phy_errors(9)
π ath5k_ani_save_and_clear_phy_errors β from the Kernel API Manual π
okay so bestie, welcome to the Kernel API Manual entry for ath5k_ani_save_and_clear_phy_errors(9), and honestly? she's a little emergency-cleanup icon and we're gonna stan. β¨
πΈ NAME πΈ
ath5k_ani_save_and_clear_phy_errors β Clear and save PHY error counters π
π¦ SYNOPSIS π¦
int ath5k_ani_save_and_clear_phy_errors (struct ath5k_hw *ah , struct
ath5k_ani_state *as );
π ARGUMENTS π
ahβ literally thestruct ath5k_hw, that's the hardware baddie herself π«Άasβ and this one's thestruct ath5k_ani_state, the state bestie keeping track of things π
β¨ DESCRIPTION β¨
so the whole vibe here is: clear the PHY error counters as soon as possible, because this might get called from a MIB interrupt and we really don't wanna get interrupted again β like, no cap, the drama is real π. Then add the count of CCK and OFDM errors to our internal state so the algorithm can use it later. Yeah, we're being organized. We're that girl. π
She also gets called from interrupt and tasklet context β so multitasking queen behavior, fr fr. π
And the return tea β: returns 0 if both counters are zero. That's it. That's the condition. β
π SEE ALSO π
- 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_period_restart(9)ath5k_ani_calibration(9)ath5k_ani_mib_intr(9)ath5k_ani_phy_error_report(9)ath5k_enable_phy_err_counters(9)ath5k_disable_phy_err_counters(9)ath5k_ani_init(9)ath5k_ani_print_counters(9)
like, the whole friend group showed up to the function. obsessed. π§π
aaaand that's the page! mwah π β this lil gem lives in ./drivers/net/wireless/ath/ath5k, and the version/date on the tin is October 2026. slay, go read your counters. ππ¦
π¦ 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