Atk10k_pci: firmware crashed! QCA9377, causing wifi to go down for a few minutes

My wifi card now crashes seemingly at random, after the latest update. Here is the output of dmesg:

[20662.252271] ath10k_pci 0000:04:00.0: firmware crashed! (guid ecbbf950-2cf0-450c-beae-60910f6ce50f)
[20662.252283] ath10k_pci 0000:04:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 11ad:08a6
[20662.252286] ath10k_pci 0000:04:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 0 testmode 0
[20662.253536] ath10k_pci 0000:04:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
[20662.253972] ath10k_pci 0000:04:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
[20662.253976] ath10k_pci 0000:04:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[20662.254105] ath10k_pci 0000:04:00.0: firmware register dump:
[20662.254109] ath10k_pci 0000:04:00.0: [00]: 0x05020001 0x000015B3 0x009F7639 0x00955B31
[20662.254111] ath10k_pci 0000:04:00.0: [04]: 0x009F7639 0x00060134 0x0000001C 0x0042C211
[20662.254113] ath10k_pci 0000:04:00.0: [08]: 0x00000001 0x009F7608 0x00000000 0x00401CD0
[20662.254115] ath10k_pci 0000:04:00.0: [12]: 0x00000009 0xFFFFFFFF 0x009C34DD 0x009C34FC
[20662.254117] ath10k_pci 0000:04:00.0: [16]: 0x00952CC4 0x00910712 0x00000000 0x00916B1B
[20662.254119] ath10k_pci 0000:04:00.0: [20]: 0x409F7639 0x00401BF0 0x00050024 0x00000280
[20662.254121] ath10k_pci 0000:04:00.0: [24]: 0x80914954 0x00401C50 0x00000600 0xC09F7639
[20662.254123] ath10k_pci 0000:04:00.0: [28]: 0x80910955 0x00401C70 0x0000001E 0x004042E8
[20662.254125] ath10k_pci 0000:04:00.0: [32]: 0x809E2814 0x00401C90 0x0000001E 0x00007530
[20662.254127] ath10k_pci 0000:04:00.0: [36]: 0x4091063D 0x00401CB0 0x0000001E 0x00007530
[20662.254128] ath10k_pci 0000:04:00.0: [40]: 0x00000000 0x00401CD0 0x00050024 0x00000280
[20662.254130] ath10k_pci 0000:04:00.0: [44]: 0x00401E20 0x00401F30 0x00401E80 0x00000000
[20662.254132] ath10k_pci 0000:04:00.0: [48]: 0x00000000 0x00401CD0 0x00050024 0x00000280
[20662.254134] ath10k_pci 0000:04:00.0: [52]: 0x004292A0 0x00000009 0x00000010 0x00000600
[20662.254136] ath10k_pci 0000:04:00.0: [56]: 0x00000000 0x00000000 0x00000000 0x00000000
[20662.254138] ath10k_pci 0000:04:00.0: Copy Engine register dump:
[20662.254148] ath10k_pci 0000:04:00.0: [00]: 0x00034400  11  11   3   3
[20662.254156] ath10k_pci 0000:04:00.0: [01]: 0x00034800  15  15 156 157
[20662.254165] ath10k_pci 0000:04:00.0: [02]: 0x00034c00  27  27  90  91
[20662.254173] ath10k_pci 0000:04:00.0: [03]: 0x00035000  21  21  23  21
[20662.254181] ath10k_pci 0000:04:00.0: [04]: 0x00035400 5595 5595  33 239
[20662.254189] ath10k_pci 0000:04:00.0: [05]: 0x00035800   0   0  64   0
[20662.254197] ath10k_pci 0000:04:00.0: [06]: 0x00035c00  30  30  26  26
[20662.254206] ath10k_pci 0000:04:00.0: [07]: 0x00036000   1   1   1   1
[20662.664873] ath10k_pci 0000:04:00.0: device successfully recovered
[20662.984799] ath: EEPROM regdomain: 0x817c
[20662.984804] ath: EEPROM indicates we should expect a country code
[20662.984808] ath: doing EEPROM country->regdmn map search
[20662.984811] ath: country maps to regdmn code: 0x37
[20662.984816] ath: Country alpha2 being used: IT
[20662.984818] ath: Regpair used: 0x37
[20662.984823] ath: regdomain 0x817c dynamically updated by country element

The output of lspci | grep Network:

04:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)

My computer: Acer Aspire 3 A315-55G-565J

This does not happen on Windows.

Remove/rename /usr/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin.

If that worked you can put NoExtract = usr/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin into /etc/pacman.conf, so file won’t get reinstalled on the next linux-firmware update.

Anyhow, this is the only thing that helped in my case, you might want to try other solutions…