Unfortunately I can’t give out much information on how to reproduce the bug, because it appears randomly
I’m on a laptop, and when I’m using the wifi sometimes it gets so slow that is unusable (200+ ms on pinging the network gateway). Restarting the adapted seems to solve it, but it’s not a really good way of doing things, especially during gaming.
The hardare is probably not at fault, because on Windows 10 it works perfectly, and usually it works well on Manjaro too, but on random intervals it does this.
I have looked at the journalctl for the last 5 times when it happened, and it didn’t really show anything that relates to networking.
The problem persisted through kernel 5.10 and upwards. I’m currently using 5.16.7-1
Some users may encounter errors with powersave on this card. This is shown with occasional disconnects that are not recognized by high level network managers (netctl, NetworkManager). This error can be confirmed by running dmesg -w as root or journalctl -f as root and looking for output related to powersave and the rtl8723ae/rtl8723be module. If you are having this issue, use the fwlps=0 kernel option, which should prevent the WiFi card from automatically sleeping and halting connection.
So, try seeing that kernel option. To do so:
Edit the file, for the grub configuration, as root:
sudo nano /etc/default/grub
Look for the line starting with GRUB_CMDLINE_LINUX_DEFAULT= insert fwlps=0 at the end, just before the last quote. For example, mine would then be:
And I though I was tech savvy enough to find that on google.
Thanks a lot, you really helped me, because I had enough of this bug. It happened in the middle of important meetings, and games, or just browsing the internet… I’ll test it for a few days, and after that I’ll mark your answer as the solution.