ath5k_check_timer_win(9)
π ath5k_check_timer_win(9) π
okay so bestie, welcome to the Kernel API Manual β¨ you're about to meet ath5k_check_timer_win, and honestly? she's doing a lot of quiet heavy lifting. let's get into it π«Ά
πΈ NAME πΈ
ath5k_check_timer_win β check if timer B is timer A + window π
β¨ SYNOPSIS β¨
bool ath5k_check_timer_win (int a , int b , int window , int intval );
π ARGUMENTS π
aβ timer a (before b) βͺbβ timer b (after a) β©windowβ the difference between a and b πintvalβ timers are increased by this interval π
π¦ DESCRIPTION π¦
so this helper function checks if timer B is timer A + window, and it's lowkey iconic because it also covers the messy cases where timer A or B might have already been updated or wrapped around β and yeah, timers are 16 bit, so wrapping is very much a thing that happens π
returns true if O.K. β
no cap, that's the whole vibe check.
π SEE ALSO π
main character energy from the kernel file ./drivers/net/wireless/ath/ath5k/pcu.c β plus the whole friend group:
Protocol Control Unit (PCU) functions(9)ACK rates(9)ath5k_hw_get_frame_duration(9)ath5k_hw_get_default_slottime(9)ath5k_hw_get_default_sifs(9)ath5k_hw_update_mib_counters(9)ath5k_hw_write_rate_duration(9)ath5k_hw_set_ack_timeout(9)ath5k_hw_set_cts_timeout(9)ath5k_hw_set_lladdr(9)ath5k_hw_set_bssid(9)ath5k_hw_set_bssid_mask(9)ath5k_hw_set_mcast_filter(9)ath5k_hw_get_rx_filter(9)ath5k_hw_set_rx_filter(9)ath5k_hw_get_tsf64(9)ath5k_hw_set_tsf64(9)ath5k_hw_reset_tsf(9)ath5k_hw_init_beacon_timers(9)ath5k_hw_check_beacon_timers(9)ath5k_hw_set_coverage_class(9)ath5k_hw_start_rx_pcu(9)ath5k_hw_stop_rx_pcu(9)ath5k_hw_set_opmode(9)ath5k_hw_pcu_init(9)
and that's the tea π this lil page lives in ./drivers/net/wireless/ath/ath5k and it's dated October 2026 β go off, timers ππ
π¦ 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