ath5k_hw_get_frame_duration(9)
π NAME π
okay bestie, meet ath5k_hw_get_frame_duration(9) from the Kernel API Manual. Its whole job is literally: Get tx time of a frame β¨.
β¨ SYNOPSIS β¨
the signature, verbatim, because we do not mess with code π :
int ath5k_hw_get_frame_duration (struct ath5k_hw *ah , enum nl80211_band
band , int len , struct ieee80211_rate *rate , bool shortpre );
π ARGUMENTS π
ahβ thestruct ath5k_hwπ«Άbandβ one ofenum nl80211_bandπlenβ the frameβs length in bytes, yes bytes bestie πrateβ thestruct ieee80211_rateπ«shortpreβ indicate short preample π (thatβs the pageβs spelling, not me being chaotic)
also: itβs spelled shortpre, and the description says βIndicate short preampleβ β keep that exact vibe π
π¦ DESCRIPTION π¦
okay so this one calculates the tx duration of a frame from its rate and length. the original says βgiven itβs rate and lengthβ β we keep the facts, not the grammar policing π.
it also extends ieee80211_generic_frame_duration for non standard bwmodes β¨.
π SEE ALSO π
the kernel file is ./drivers/net/wireless/ath/ath5k/pcu.c β thatβs home base πΎ. also the whole crew is:
Protocol Control Unit (PCU) functions(9)ACK rates(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_check_timer_win(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)
this lil page comes from ./drivers/net/wireless/ath/ath5k, dated October 2026, and itβs the ath5k_hw_get_frame_duration(9) manual. mwah πβ¨
π¦ 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