ath5k_hw_get_frame_duration(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the struct ath5k_hw 🫢
  • band β€” one of enum nl80211_band 🌈
  • len β€” the frame’s length in bytes, yes bytes bestie πŸ“
  • rate β€” the struct 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:


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