I've had Ubuntu 23.04 on my desktop gaming PC for about a month and recently (as in around a week ago) the Wi-Fi has near constantly been "disconnecting". The Wi-Fi icon shows that I'm connected, but it's like no actual data is being sent or received. Another thing is that every now and then, the Wi-FI totally and utterly breaks down. Connecting at all is impossible unless I reboot. When it happened again today I checked journalctl and there was a bunch of errors. I'll post some of the screenshots I took.
The Wi-Fi adapter I'm using is a Linksys WUSB6300 V2 with rtw_8822bu drivers that came already installed in the system, which uses the Linux 6.2.0-20-generic kernel. Many times when the connection goes out journalctl is filled with "timed out to flush queue 3" but when the Wi-Fi drops entirely it has 1 and 3 thrown in there too.
This is usually what it looks like when the Wi-Fi shuts off entirely. I noticed an interesting "failed to download firmware" error a few times in there
Some other messages I've noticed are "CTRL-EVENT-BEACON-LOSS" which is almost always followed by "timed out to flush queue 3". Another message which sometimes accompanies the flush queue one is "failed to get tx report from firmware" but that only happens every here and there.
The bottom portion contains the "CTRL-EVENT-BEACON-LOSS" message
Sometimes, the flush out queue error is also accompanied by some "mac power on failed" errors. When that happens, I see "timed out to flush queue 1" and "timed out to flush queue 2" alongside the one with 3 in it (which I pointed out above):
There's also some stuff about idle and ips state. No clue what that could mean
This whole thing seems to be kinda random. I can go days at a time with no problems, but then all of a sudden it cuts out every 30 seconds followed by having to reboot over and over again. This is the first time I've posted something on here so I apologize if I was bad at writing all this out. I'm hoping I can find some way to fix the problem and I appreciate any and all help! If someone needs a tad bit more info let me know.