ath5k_ani_calibration(9)
okay bestie, welcome to the ath5k_ani_calibration(9) page β it lives in the Kernel API Manual, and it's literally the main ANI calibration function. π
β¨
πΈ NAME πΈ
ath5k_ani_calibration β the main ANI calibration function. No cap, that's the whole name. π
β¨ SYNOPSIS β¨
void ath5k_ani_calibration (struct ath5k_hw *ah );
π ARGUMENTS π
ahβ thestruct ath5k_hw. That's the one and only argument, bestie. π«Ά
π¦ DESCRIPTION π¦
So here's the vibe: we count OFDM and CCK errors relative to the time where we did not send or receive β the "listen" time β and then raise or lower immunity accordingly. π₯
This is called regularly (every second) from the calibration timer, but also when an error threshold has been reached. Yes, both. π
In order to synchronize access from different contexts, this should be called only indirectly by scheduling the ANI tasklet! So don't just call it directly, okay? That's the synchronization rule, periodt. β οΈ
π 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_save_and_clear_phy_errors(9)ath5k_ani_period_restart(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)
and that's the page, bestie! π«Ά source/version: ./drivers/net/wireless/ath/ath5k Β· date: October 2026 Β· page: ath5k_ani_calibration(9) π
π¦ 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