ath5k_hw_set_txdp(9)
β¨ NAME: ath5k_hw_set_txdp(9) β¨
okay bestie, welcome to the ath5k_hw_set_txdp(9) page from the Kernel API Manual π. This one is literally about setting the TX Descriptor's address for a specific queue. Main character DMA energy, no cap.
πΈ SYNOPSIS πΈ
like, here's the exact signature, bestie:
int ath5k_hw_set_txdp (struct ath5k_hw *ah , unsigned int queue , u32
phys_addr );
π ARGUMENTS π
ahβ thestruct ath5k_hwπqueueβ the hw queue numberphys_addrβ the physical address
π¦ DESCRIPTION π¦
Set TX descriptor's address for a specific queue. That's the vibe, fr fr.
For 5210 we ignore the queue number and we use tx queue type since we only have 2 queues, so as above we use TXDP0 for normal data queue and TXDP1 for beacon queue. iconic little special case π
.
For newer chips with QCU/DCU we just set the corresponding TXDP register. slay.
Returns-EINVALif queue type is invalid for5210and-EIOif queue is still active. So yeah, that's the error vibe check π.
π SEE ALSO π
- Kernel file
./drivers/net/wireless/ath/ath5k/dma.cDMA and interrupt masking functions(9) ath5k_hw_start_rx_dma(9)ath5k_hw_stop_rx_dma(9)ath5k_hw_get_rxdp(9)ath5k_hw_set_rxdp(9)ath5k_hw_start_tx_dma(9)ath5k_hw_stop_tx_dma(9)ath5k_hw_stop_beacon_queue(9)ath5k_hw_get_txdp(9)ath5k_hw_update_tx_triglevel(9)ath5k_hw_is_intr_pending(9)ath5k_hw_get_isr(9)ath5k_hw_set_imr(9)ath5k_hw_dma_init(9)ath5k_hw_dma_stop(9)
that's the whole page, bestie π«Ά β xoxo from source/version ./drivers/net/wireless/ath/ath5k, dated October 2026 π
π¦ 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