STRUCT ATH_TX_STATS(9)
π struct ath_tx_stats(9)
okay so this is a page from the Kernel API Manual bestie, and it's literally about struct ath_tx_stats β the stats struct that keeps receipts on all your TX. it's giving "who's counting?" and the answer is: this struct. she's counting. π
β¨ NAME β¨
struct ath_tx_stats β Statistics about TX π
πΈ SYNOPSIS πΈ
like, here's the whole glow-up, one field at a time, no cap:
struct ath_tx_stats {
u32 tx_pkts_all;
u32 tx_bytes_all;
u32 queued;
u32 completed;
u32 xretries;
u32 a_aggr;
u32 a_queued_hw;
u32 a_completed;
u32 a_retries;
u32 a_xretries;
u32 txerr_filtered;
u32 fifo_underrun;
u32 xtxop;
u32 timer_exp;
u32 desc_cfg_err;
u32 data_underrun;
u32 delim_underrun;
u32 puttxbuf;
u32 txstart;
u32 txprocdesc;
u32 txfailed;
};
π¦ Members π¦
okay bestie, field-by-field tour, let's go π
tx_pkts_allβ No. of total frames transmitted, including ones that may have had errors. she counts everything, messy or not πtx_bytes_allβ No. of total bytes transmitted, including ones that may have had errors. same energy, but in bytes πqueuedβ Total MPDUs (non-aggr) queuedcompletedβ Total MPDUs (non-aggr) completed β¨xretriesβ Total MPDUs with xretriesa_aggrβ Total no. of aggregates queueda_queued_hwβ Total AMPDUs queued to hardwarea_completedβ Total AMPDUs completed π«Άa_retriesβ No. of AMPDUs retried (SW)a_xretriesβ No. of AMPDUs dropped due to xretries πtxerr_filteredβ No. of frames withTXERR_FILTflag set.fifo_underrunβ FIFO underrun occurrences. Valid only for:- non-aggregate condition.
- first packet of aggregate.
xtxopβ No. of frames filtered because of TXOP limittimer_expβ Transmit timer expiry β°desc_cfg_errβ Descriptor configuration errorsdata_underrunβ TX data underrun errorsdelim_underrunβ TX delimiter underrun errorsputtxbufβ Number of times hardware was giventxbufto write.txstartβ Number of times hardware was told to start tx. πtxprocdescβ Number of times tx descriptor was processedtxfailedβ Out-of-memory or other errors in xmit path. the sad one fr fr π
ngl, note the fifo_underrun caveat β those occurrences are only valid for the two cases listed above. don't come for her about it, she told you upfront π«Ά
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/wireless/ath/ath9k/debug.h - struct
ath_interrupt_stats(9)β her sister page, go give her a read too π
and that's the whole page, bestie β slay π β¨
shoutout to the source, ./drivers/net/wireless/ath/ath9k, dated October 2026 β iconic of them to keep the receipts, 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