ath5k_hw_num_tx_pending(9)
π 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β thestruct ath5k_hw. that's your hardware struct, the main character of this whole situation πqueueβ one ofenum 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 π«Ά
- the kernel file
./drivers/net/wireless/ath/ath5k/qcu.cβ Queue Control Unit (QCU)/DCF Control Unit (DCU) functions(9) ath5k_hw_release_tx_queue(9)ath5k_cw_validate(9)ath5k_hw_get_tx_queueprops(9)ath5k_hw_set_tx_queueprops(9)ath5k_hw_setup_tx_queue(9)ath5k_hw_set_tx_retry_limits(9)ath5k_hw_reset_tx_queue(9)ath5k_hw_set_ifs_intervals(9)ath5k_hw_init_queues(9)
π 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 namedath5k_hw_num_tx_pending(9). periodt. πβπ
π¦ 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