Internet connection gets very slow/stops completely

Hello Manjaro people,
I newly installed Manjaro on my desktop and my laptop, it’s been working flawlessly with my desktop, but my laptop has some problems it has always had with Linux…
Before switching to Manjaro I had Parrot OS (Debian based) installed on my laptop (my laptop has an intel pentium silver n5000 cpu, 8 gigs of ram, and a Qualcomm Atheros QCA9377 WiFi card).

Every time I was using the Internet, I was able to use it but suddenly it would stop and not work at all. I was still connected to the internet but I had no signal.
On Parrot OS I had the command iwconfig and to troubleshoot this problem I always manually typed the command sudo iwconfig wlan0 rate auto into the terminal and my internet would suddenly start working again.

So I thought it was a problem of the rate, but I cannot set the rate manually and iwlist bitrate says that the bitrate information is unknown. Current bitrate is always at 6Mb/s.
After installing the iwconfig command on my laptop running Manjaro now, I can use the command to set the bitrate to auto again and my internet starts working again when it stops working. I can also restart the network manager service and it will work again for a short while.
I really don’t know what it could be, I am using the ath10k_pci drivers, I feel like I’ve searched the whole web, to no avail…
I am using kernel 5.8.16-2.
I have also tried using the LTS kernel(5.4.72-1), but that also doesn’t work.

The output to dmesg | grep ath10k is:

[    4.102214] ath10k_pci 0000:02:00.0: enabling device (0000 -> 0002)
[    4.102988] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    4.370845] ath10k_pci 0000:02:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 1a3b:2b31
[    4.370849] ath10k_pci 0000:02:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 0 testmode 0
[    4.371439] ath10k_pci 0000:02:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
[    4.438947] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
[    4.515848] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
[    4.534311] ath10k_pci 0000:02:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[    4.631453] ath10k_pci 0000:02:00.0 wlo1: renamed from wlan0
[    5.997071] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
[    6.373650] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536

any help would be appreciated.

I have the same chipset on my laptop and can’t reproduce those issues. However, currently my Bluetooth is broken, but I have no idea when it stopped working as I barely use it. I haven’t done any troubleshooting yet.

One thing that helped in the past was setting the regulatory domain.

You might also see:

There are also several posts on the archived forum: