Re: [PATCH 1/2] wifi: ath11k: implement custom wake_tx_queue with flow control
Jose Ignacio Tornos Martinez <[email protected]> Tue, 14 Jul 2026 18:02:38 +0200
| Newsgroups | org.infradead.lists.ath11k,org.infradead.lists.ath12k,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless |
|---|---|
| Message-ID | <[email protected]> |
Hi Zhi-Jun, > While you are reworking it would you mind looking at the previous attempt? > > It tried to follow the behaviour in ath10k but lacks throttling mechanism. > > https://lore.kernel.org/linux-wireless/[email protected]/ Thanks for the pointer. I have looked at Tamizh's patch and the main difference with this approach is that the ring free space check is done before dequeuing, so the skb is never consumed when the ring is full. This avoids frame drops and the -ENOMEM errors we were seeing. I think no additional push mechanism from TX completions is needed since wake_tx_queue is called frequently enough under traffic to resume dequeuing when ring space becomes available. Best regards, Jose Ignacio