linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [REGRESSION] ath10k: failed to flush transmit queue
@ 2024-07-12  2:23 Cedric Veilleux
  2024-07-12  8:08 ` Felix Fietkau
  0 siblings, 1 reply; 4+ messages in thread
From: Cedric Veilleux @ 2024-07-12  2:23 UTC (permalink / raw)
  To: linux-wireless

AP mode.
Both 2.4 and 5ghz channels.

Using WLE600VX (QCA986x/988x), we are seeing the following errors in
kernel logs:

[12978.022077] ath10k_pci 0000:04:00.0: failed to flush transmit queue
(skip 0 ar-state 1): 0
[13343.069189] ath10k_pci 0000:04:00.0: failed to flush transmit queue
(skip 0 ar-state 1): 0

They are somewhat random but frequent. Can happen once a day or many
times per hour.

They are associated with 3-4 seconds of radio silence. Full packet
loss. Then everything resumes normally, STA are still associated and
traffic resumes.

I have tested with major kernel versions:

6.1.97: stable (tested for many days on 10+ access points)
6.2.16: stable (tested for few hours single machine)
6.3.13: stable (tested for few hours single machine)

6.4.16: unstable  (we have errors within an hour)
6.5.13: unstable  (we have errors within an hour)
6.6.39: unstable  (we have errors within an hour)
6.7.12: unstable  (we have errors within an hour)
6.8.10: unstable  (we have errors within an hour)
6.9.7: unstable  (we have errors within an hour)

From these tests I believe something changed in 6.4 series causing
instabilities and the dreaded "failed to flush transmit queue" error.

This is a custom linux distribution. Only change is the kernel. All
other packages are same versions. Everything rebuilt from source using
bitbake/yocto. Same linux-firmware files.


module initialization output logs:

[    9.335682] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2
irq_mode 0 reset_mode 0
[    9.543221] ath10k_pci 0000:04:00.0: qca988x hw2.0 target
0x4100016c chip_id 0x043222ff sub 0000:0000
[    9.543270] ath10k_pci 0000:04:00.0: kconfig debug 1 debugfs 0
tracing 0 dfs 1 testmode 0
[    9.544296] ath10k_pci 0000:04:00.0: firmware ver 10.2.4-1.0-00047
api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 35bd9258
[    9.603583] ath10k_pci 0000:04:00.0: board_file api 1 bmi_id N/A
crc32 bebc7c08
[   10.985663] ath10k_pci 0000:04:00.0: htt-ver 2.1 wmi-op 5 htt-op 2
cal otp max-sta 128 raw 0 hwcrypto 1

This is followed by hostapd starting and the "failed to flush transmit
queue" errors within an hour.


If there is a way to further debug and collect information please let me know.


Regards,
Cedric

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

end of thread, other threads:[~2025-02-20 13:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-12  2:23 [REGRESSION] ath10k: failed to flush transmit queue Cedric Veilleux
2024-07-12  8:08 ` Felix Fietkau
2024-07-31 18:13   ` Kalle Valo
2025-02-20 13:55     ` James Prestwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).