Created attachment 306109 [details] lsmod WiFi works fine, and no performance loss but my `dmesg` is full of warnings like this: timed out to flush queue 2. It seems to happen roughly every 30 seconds (some-kind of roaming?) I am using kernel 6.8.4 (mainline). It'd be good if I could some-how limit how much is sent to my dmesg buffer. I don't want to lower the `print_k` level for the whole kernel -- just this driver.
Created attachment 306110 [details] dmesg
Created attachment 306111 [details] lspci
It seems this warning is issued ~10 seconds after `iwd` starts a `roam-scan`.
Created attachment 306156 [details] journal
I have done some more digging, it seems this is related to ieee80211_scan commands. This is the stack trace for the dev_warn log entry. [Tue Apr 16 00:00:25 2024] rtw_8821ce 0000:02:00.0: timed out to flush queue 2 [Tue Apr 16 00:00:25 2024] CPU: 1 PID: 363059 Comm: kworker/u8:1 Tainted: G OE 6.8.5-arch1-1 #1 5f12b795066ab8d27a5fe9971245067df4fb99ed [Tue Apr 16 00:00:25 2024] Hardware name: /, BIOS 5.26 09/26/2023 [Tue Apr 16 00:00:25 2024] Workqueue: events_unbound cfg80211_wiphy_work [cfg80211] [Tue Apr 16 00:00:25 2024] Call Trace: [Tue Apr 16 00:00:25 2024] <TASK> [Tue Apr 16 00:00:25 2024] dump_stack_lvl+0x47/0x60 [Tue Apr 16 00:00:25 2024] rtw_mac_flush_queues+0x148/0x190 [rtw88_core 0d7ad2d9d6116c633c0aab4e7bc6016d572d75d4] [Tue Apr 16 00:00:25 2024] rtw_ops_flush+0x5a/0x70 [rtw88_core 0d7ad2d9d6116c633c0aab4e7bc6016d572d75d4] [Tue Apr 16 00:00:25 2024] __ieee80211_flush_queues+0x10b/0x2e0 [mac80211 5d0b446baffe1290bc56d55aa496e941688b7b40] [Tue Apr 16 00:00:25 2024] ieee80211_scan_work+0x3e3/0x520 [mac80211 5d0b446baffe1290bc56d55aa496e941688b7b40] [Tue Apr 16 00:00:25 2024] cfg80211_wiphy_work+0xa7/0xe0 [cfg80211 b36d5437ba649ace42ea92e8f83a3ec499e0d5b7] [Tue Apr 16 00:00:25 2024] process_one_work+0x178/0x350 [Tue Apr 16 00:00:25 2024] worker_thread+0x30f/0x450 [Tue Apr 16 00:00:25 2024] ? __pfx_worker_thread+0x10/0x10 [Tue Apr 16 00:00:25 2024] kthread+0xe5/0x120 [Tue Apr 16 00:00:25 2024] ? __pfx_kthread+0x10/0x10 [Tue Apr 16 00:00:25 2024] ret_from_fork+0x31/0x50 [Tue Apr 16 00:00:25 2024] ? __pfx_kthread+0x10/0x10 [Tue Apr 16 00:00:25 2024] ret_from_fork_asm+0x1b/0x30 [Tue Apr 16 00:00:25 2024] </TASK> [Tue Apr 16 00:00:26 2024] rtw_8821ce 0000:02:00.0: failed to get tx report from firmware