I'm experiencing intermittent wifi issues with an Atheros QCA6174 on an XPS 13 9380 notebook. I started pinging my AP and noticed that ping times go from <10ms to >10,000ms when this happens. 64 bytes from 192.168.0.1: icmp_seq=1154 ttl=64 time=3.18 ms 64 bytes from 192.168.0.1: icmp_seq=1160 ttl=64 time=8572 ms 64 bytes from 192.168.0.1: icmp_seq=1161 ttl=64 time=7549 ms 64 bytes from 192.168.0.1: icmp_seq=1162 ttl=64 time=17518 ms 64 bytes from 192.168.0.1: icmp_seq=1163 ttl=64 time=16497 ms 64 bytes from 192.168.0.1: icmp_seq=1169 ttl=64 time=10412 ms There's also huge package loss. Various observations: * There's no warning in dmesg when this happens. * I'm only 1-2 meters from the AP and connection quality is good. Other devices connected to the same AP don't have problems. * rmmod & modprobe solves the issue, but only temporarily. * I tried to set a lower speed with "iwconfig wlp2s0 rate 11M" but that made no difference. * This is with 2.412 GHz. My AP doesn't have 5 GHz * The problem doesn't happen all the time. I haven't found a clear pattern yet. However, watching videos on YouTube usually (but not always) triggers it. (It also shows without YouTube, but YouTube is a good way to trigger it.) * When it happens, it happens every few minutes (without an obvious pattern). Sometimes it goes back to normal quickly (less than a minute) but sometimes it takes a long time and then I do 'rmmod'. * I've tried with different kernels: 5.15, 5.14, 5.10 (all from Debian) - all show this issue * I downloaded the latest firmware from https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0/4.4.1 (WLAN.RM.4.4.1-00288) This made no difference * The mainboard of my laptop was swapped about two weeks ago. I don't think I had this problem in the past (there were Internet issues from time to time, and I assumed it's the broadband; but maybe it was a wifi issue. It doesn't wasn't as bad as now though because I would have noticed. Now wifi is pretty much unusuable, at least for YouTube). The Atheros chip is the same brand, so not sure if the mainboard switch matters. (But it's weird because I didn't have the issues before.) I'm not sure about software changes in recent times but I can't think of anything too obvious. * I booted into Windows 10 and watched YouTube for two hours and didn't notice the same problem there. Is this a known issue? How can I provide more debugging info? Below is some more info about my system. I've also attached some ping logs. iwconfig Mode:Managed Frequency:2.412 GHz Access Point: ... Bit Rate=144.4 Mb/s Tx-Power=20 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:on Link Quality=61/70 Signal level=-49 dBm dmesg when loading driver: ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:02:00.0.bin (-2) ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/cal-pci-0000:02:00.0.bin (-2) ath10k_pci 0000:02:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-6.bin ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:143a ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0 ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00288- api 6 features wowlan,ignore-otp,mfp crc32 bf907c7c ath10k_pci 0000:02:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board-2.bin ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 e57aadc7 ath10k_pci 0000:02:00.0: htt-ver 3.87 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 ath: EEPROM regdomain: 0x6c ath: EEPROM indicates we should expect a direct regpair map ath: Country alpha2 being used: 00 ath: Regpair used: 0x6c ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0 lspci: 02:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32) Subsystem: Rivet Networks Killer 1435 Wireless-AC Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-