STRUCT ATH5K_TXQ(9)
π struct ath5k_txq(9) β Transmit queue state π
okay bestie, this is the Kernel API Manual entry for struct ath5k_txq, aka Transmit queue state β and honestly? The way this struct is just sitting here managing queue lore is iconic β¨π
πΈ NAME πΈ
struct ath5k_txq β Transmit queue state π
π¦ SYNOPSIS π¦
struct ath5k_txq {
unsigned int qnum;
u32 *link;
struct list_head q;
spinlock_t lock;
bool setup;
int txq_len;
int txq_max;
bool txq_poll_mark;
unsigned int txq_stuck;
};
π Members π
qnumβ Hardware q number πlinkβ Link ptr in last TX desc πqβ Transmit queue (struct list_head) π§lockβ Lock onqandlinkπsetupβ Is the queue configured πtxq_lenβ Number of queued buffers πtxq_maxβ Max allowed num of queued buffers πtxq_poll_markβ Used to check if queue got stuck πtxq_stuckβ Queue stuck counter π
β¨ Description β¨
okay so picture this: one of these exists for each hardware transmit queue π. Packets sent to us from above are assigned to queues based on their priority β that's just the system, no cap. Not all devices support a complete set of hardware transmit queues, and for those devices the array sc_ac2q will map multiple priorities to fewer hardware queues (typically all to one hardware queue). That's the whole vibe, fr fr π
π₯ SEE ALSO π₯
Kernel file ./drivers/net/wireless/ath/ath5k/ath5k.h enum β and then the whole friend group:
enum ath5k_version(9)enum ath5k_radio(9)Atheros XR(9)Atheros SuperAG(9)enum ath5k_driver_mode(9)enum ath5k_ant_mode(9)enum ath5k_bw_mode(9)struct ath5k_tx_status(9)enum ath5k_tx_queue(9)enum ath5k_tx_queue_subtype(9)enum ath5k_tx_queue_id(9)struct ath5k_txq_info(9)enum ath5k_pkt_type(9)struct ath5k_rx_status(9)enum ath5k_rfgain(9)struct ath5k_gain(9)struct ath5k_athchan_2ghz(9)enum ath5k_dmasize(9)Rate codes(9)enum ath5k_int(9)enum ath5k_calibration_mask(9)enum ath5k_power_mode(9)
Source/version: ./drivers/net/wireless/ath/ath5k Β· Date: October 2026 Β· struct ath5k_txq(9) β mwah, bye bestie πππ«Ά
π¦ 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