mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v8 0/2] wifi: ath12k: implement TX flow control
@ 2026-10-21  6:09 Jose Ignacio Tornos Martinez
  2026-10-21  6:09 ` [PATCH v8 1/2] wifi: ath12k: remove skb parameter from get_ring_selector Jose Ignacio Tornos Martinez
  2026-10-21  6:09 ` [PATCH v8 2/2] wifi: ath12k: implement custom wake_tx_queue with flow control Jose Ignacio Tornos Martinez
  0 siblings, 2 replies; 3+ messages in thread
From: Jose Ignacio Tornos Martinez @ 2026-10-21  6:09 UTC (permalink / raw)
  To: jjohnson
  Cc: ath11k, ath12k, linux-wireless, linux-kernel,
	Jose Ignacio Tornos Martinez

This series implements a custom wake_tx_queue operation for the ath12k
driver to prevent hardware ring overflow issues under heavy traffic.

Without proper flow control, the driver can hang and experiences -ENOMEM
errors ("failed to transmit frame -12") when the hardware TCL ring fills
up. These issues are more commonly observed in VMs with PCIe passthrough
but also occur on bare metal systems.

The implementation follows the pattern used in the iwlwifi driver,
adapted for ath12k hardware ring architecture, checking hardware ring
space before dequeuing packets from mac80211.

Testing shows stable operation with eliminated -ENOMEM errors, no hangs,
and improved throughput under heavy traffic conditions.

Jose Ignacio Tornos Martinez (2):
  wifi: ath12k: remove skb parameter from get_ring_selector
  wifi: ath12k: implement custom wake_tx_queue with flow control

v8: Split ath11k and ath12k into separate series to avoid conflict
    with Julius's airtime queue limits series (ath11k only) and help to
    unblock both
    No code changes from v7
v7: https://lore.kernel.org/all/20260917064825.12747-1-jtornosm@redhat.com/
--
2.54.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-21  6:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-21  6:09 [PATCH v8 0/2] wifi: ath12k: implement TX flow control Jose Ignacio Tornos Martinez
2026-10-21  6:09 ` [PATCH v8 1/2] wifi: ath12k: remove skb parameter from get_ring_selector Jose Ignacio Tornos Martinez
2026-10-21  6:09 ` [PATCH v8 2/2] wifi: ath12k: implement custom wake_tx_queue with flow control Jose Ignacio Tornos Martinez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®