ath5k_hw_num_tx_pending(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ath5k_hw_num_tx_pending(9) β€” like, the whole kernel API manual vibe

okay so bestie, welcome to the glow-up of this kernel API manual page, which lives in section 9 of the man pages (the kernel API manual, iykyk). this one is literally a tiny little function and it's honestly kind of iconic in its own low-key way. let's get into it ✨


🌸 NAME 🌸

ath5k_hw_num_tx_pending β€” get the number of pending frames for a given queue πŸŽ€

like, that's it. that's the whole personality. it tells you how many frames are still pending on a queue. slay.


✨ SYNOPSIS ✨

here's the signature, bestie β€” copy it exactly, no cap, don't you dare change a single character:

u32 ath5k_hw_num_tx_pending (struct ath5k_hw *ah , unsigned int queue );

the way that it takes a struct ath5k_hw *ah and an unsigned int queue and hands you back a u32… obsessed. πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

two args, both iconic, both necessary:

  • ah β€” the struct ath5k_hw. that's your hardware struct, the main character of this whole situation πŸ‘‘
  • queue β€” one of enum ath5k_tx_queue_id. literally has to be one of those, bestie. that's the whole vibe check for this parameter.

πŸ’– SEE ALSO πŸ’–

the friend group! go check these out, fr fr 🫢


πŸ’€ not me almost forgetting the sign-off. anyway β€” this little masterpiece lives in ./drivers/net/wireless/ath/ath5k, it's dated October 2026, and yes, the page is literally named ath5k_hw_num_tx_pending(9). periodt. πŸŒˆβ­πŸ’œ
πŸ“¦ where this page comes from