ath5k_drain_tx_buffs(9)
π NAME π
ath5k_drain_tx_buffs β empties out the tx buffers, bestie. That's it, that's the job π«Ά
(also hi, this is the ath5k_drain_tx_buffs(9) page from the Kernel API Manual, mwah π
)
β¨ SYNOPSIS β¨
void ath5k_drain_tx_buffs (struct ath5k_hw *ah );
Like⦠it returns nothing (void), it takes one pointer, and it's gonna go through your queues. Periodt.
π ARGUMENTS π
ahβ thestruct ath5k_hw. That's the hardware struct, that's your whole vibe, that's the thing you're passing in. Noah, no draining, no nothing π
πΈ DESCRIPTION πΈ
Okay so picture this: you're about to do a reset, or you're shutting things down, and you need the tx buffers from all the queues to be empty first. That's literally what this does. Empties the tx buffers from every single queue, in preparation for a reset or during shutdown β¨
NB: this assumes that output has already been stopped, and that we do not need to block ath5k_tx_tasklet. So bestie, please don't come in here with output still running β this function is trusting you on that one ππ
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/wireless/ath/ath5k/base.c ath5k_beacon_update_timers(9),ath5k_beacon_config(9)
okay that's the whole page, go be iconic with your tx buffers πβ¨
signing off with love from ./drivers/net/wireless/ath/ath5k, dated October 2026 β and remember the header said ath5k_drain_tx_buffs(9), so you know the ath5k manual is the one you're in πππ«Ά
π¦ 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