R7800 and WiFi crash

I have an issue where the WiFi on my R7800 crashes and stops broadcasting. The router does not reboot just the wifi stops running. The longest I have gone is 23 days without an issue.

I read through this forum and see similar looking issues recommending alternative firmware wifi drivers, but can anyone recommend what they are using? Do you have to reboot on a schedule to keep stability?

OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.319.48994-50b7ab5

I attached a USB drive to keep a longer system log as well but no hints there. Here is my kernel log before I had to reboot the entire router:

[201485.612872] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[206510.295759] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[495000.028184] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[635279.283668] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[671764.130096] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[672424.209473] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[676458.161856] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[821488.897503] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[1341265.254526] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[1400552.105163] ------------[ cut here ]------------
[1400552.105226] WARNING: CPU: 0 PID: 1909 at backports-4.19.137-1/net/wireless/util.c:1147 0xbf2e3d88 [cfg80211@bf2df000+0x37000]
[1400552.108911] invalid rate bw=0, mcs=15, nss=4
[1400552.120407] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat fuse ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ntfs nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage ext4 mbcache jbd2 exfat crc32c_generic leds_gpio xhci_plat_hcd
[1400552.174468]  xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug
[1400552.196698] CPU: 0 PID: 1909 Comm: hostapd Not tainted 4.14.195 #0
[1400552.213977] Hardware name: Generic DT based system
[1400552.220584] Function entered at [<c030f1c4>] from [<c030b390>]
[1400552.225526] Function entered at [<c030b390>] from [<c07c1064>]
[1400552.231517] Function entered at [<c07c1064>] from [<c031f878>]
[1400552.237505] Function entered at [<c031f878>] from [<c031f8d8>]
[1400552.243493] Function entered at [<c031f8d8>] from [<bf2e3d88>]
[1400552.249537] Function entered at [<bf2e3d88>] from [<bf2f183c>]
[1400552.255478] Function entered at [<bf2f183c>] from [<bf2fe654>]
[1400552.261468] Function entered at [<bf2fe654>] from [<bf2ff248>]
[1400552.267456] Function entered at [<bf2ff248>] from [<bf332b6c>]
[1400552.273467] Function entered at [<bf332b6c>] from [<bf332bfc>]
[1400552.279433] Function entered at [<bf332bfc>] from [<bf332c94>]
[1400552.285423] Function entered at [<bf332c94>] from [<bf2ed6d8>]
[1400552.291414] Function entered at [<bf2ed6d8>] from [<c06e1e5c>]
[1400552.297401] Function entered at [<c06e1e5c>] from [<c06e0800>]
[1400552.303389] Function entered at [<c06e0800>] from [<c06e0e50>]
[1400552.309379] Function entered at [<c06e0e50>] from [<c06e0010>]
[1400552.315370] Function entered at [<c06e0010>] from [<c06e042c>]
[1400552.321358] Function entered at [<c06e042c>] from [<c068a368>]
[1400552.327348] Function entered at [<c068a368>] from [<c068abd0>]
[1400552.333338] Function entered at [<c068abd0>] from [<c0307b60>]
[1400552.339451] ---[ end trace b1902ae03f36e22a ]---
[2112211.593213] ath10k_pci 0000:01:00.0: No VIF found for vdev 1
[2112211.593254] ath10k_pci 0000:01:00.0: no vif for vdev_id 1 found
[2112211.620384] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 1
[2112211.620774] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 1
[2112211.626250] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 1
[2112211.634594] br-lan: port 6(wlan0-1) entered disabled state
[2112211.651454] device wlan0-1 left promiscuous mode
[2112211.651500] br-lan: port 6(wlan0-1) entered disabled state
[2112211.878004] device wlan0 left promiscuous mode
[2112211.878205] br-lan: port 2(wlan0) entered disabled state
[2112211.933956] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 0
[2112211.934113] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 0
[2112211.939880] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 0
[2112218.520678] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[2112218.520706] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32
[2112218.602716] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[2112218.603574] ath10k_pci 0000:01:00.0: wmi print 'free: 84920 iram: 13316 sram: 11224'
[2112218.955991] ath10k_pci 0000:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4

Here is the system log around the time:

Wed Dec  9 14:05:22 2020 daemon.info hostapd: wlan1: STA 44:61:32:60:0b:cb IEEE 802.11: authenticated
Wed Dec  9 14:05:22 2020 daemon.info hostapd: wlan1: STA 44:61:32:60:0b:cb IEEE 802.11: associated (aid 4)
Wed Dec  9 14:05:23 2020 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 44:61:32:60:0b:cb
Wed Dec  9 14:05:23 2020 daemon.info hostapd: wlan1: STA 44:61:32:60:0b:cb WPA: pairwise key handshake completed (RSN)
Wed Dec  9 14:18:11 2020 kern.warn kernel: [4258288.972615] ath10k_pci 0000:01:00.0: failed to increase tx pending count: -16, dropping
Wed Dec  9 14:18:19 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 8c:49:62:5a:bf:e6
Wed Dec  9 14:18:21 2020 daemon.info hostapd: wlan0: STA 8c:49:62:5a:bf:e6 IEEE 802.11: authenticated
Wed Dec  9 14:18:21 2020 daemon.notice hostapd: wlan0: STA-OPMODE-MAX-BW-CHANGED 8c:49:62:5a:bf:e6 20
Wed Dec  9 14:18:21 2020 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED 8c:49:62:5a:bf:e6 2
Wed Dec  9 14:18:21 2020 daemon.info hostapd: wlan0: STA 8c:49:62:5a:bf:e6 IEEE 802.11: associated (aid 2)
Wed Dec  9 14:18:25 2020 kern.warn kernel: [4258303.666421] ath10k_pci 0000:01:00.0: failed to increase tx pending count: -16, dropping
Wed Dec  9 14:18:26 2020 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED 8c:49:62:5a:bf:e6 1
Wed Dec  9 14:18:26 2020 daemon.info hostapd: wlan0: STA 8c:49:62:5a:bf:e6 IEEE 802.11: authenticated

This morning my R7800 just rebooted entirely without warning. Even though I have system.log writing to a USB it did not capture the reason for the reboot. My guess is a kernel panic.

I'm going to add a cron job that runs every minute and dumps dmesg > logfile to see if I can capture the error on the next crash.

I'm using 19.07.4 with a clean config reset and then configuration. I haven't added any rc.local or other governor tweaks.

More dmesg log output but no observed wifi disconnects this time:

[  110.731338] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[  147.678875] ath10k_pci 0000:01:00.0: Invalid VHT mcs 15 peer stats
[307888.203552] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[594828.568543] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[644326.641792] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[646994.916372] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[679765.349712] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[682883.357116] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[746126.040653] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[762417.765937] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[822769.390877] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[832092.596671] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[855279.784127] ------------[ cut here ]------------
[855279.784192] WARNING: CPU: 0 PID: 1817 at backports-4.19.137-1/net/wireless/util.c:1147 0xbf2e3d88 [cfg80211@bf2df000+0x37000]
[855279.788074] invalid rate bw=0, mcs=15, nss=4
[855279.799268] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat fuse ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ntfs nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage ext4 mbcache jbd2 exfat crc32c_generic leds_gpio xhci_plat_hcd
[855279.852869]  xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug
[855279.875034] CPU: 0 PID: 1817 Comm: hostapd Not tainted 4.14.195 #0
[855279.892595] Hardware name: Generic DT based system
[855279.898768] Function entered at [<c030f1c4>] from [<c030b390>]
[855279.903622] Function entered at [<c030b390>] from [<c07c1064>]
[855279.909525] Function entered at [<c07c1064>] from [<c031f878>]
[855279.915428] Function entered at [<c031f878>] from [<c031f8d8>]
[855279.921329] Function entered at [<c031f8d8>] from [<bf2e3d88>]
[855279.927287] Function entered at [<bf2e3d88>] from [<bf2f183c>]
[855279.933140] Function entered at [<bf2f183c>] from [<bf2fe654>]
[855279.939044] Function entered at [<bf2fe654>] from [<bf2ff04c>]
[855279.944942] Function entered at [<bf2ff04c>] from [<c06e1e5c>]
[855279.950845] Function entered at [<c06e1e5c>] from [<c06e0800>]
[855279.956744] Function entered at [<c06e0800>] from [<c06e0e50>]
[855279.962647] Function entered at [<c06e0e50>] from [<c06e0010>]
[855279.968553] Function entered at [<c06e0010>] from [<c06e042c>]
[855279.974453] Function entered at [<c06e042c>] from [<c068a368>]
[855279.980358] Function entered at [<c068a368>] from [<c068abd0>]
[855279.986259] Function entered at [<c068abd0>] from [<c0307b60>]
[855279.992319] ---[ end trace ed82826b32cdd85e ]---
[990807.393470] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[998025.020470] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[1000098.919643] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[1000115.618844] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[1000134.954406] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2

This morning the WiFi crashed and reset itself, but the entire router did not reboot.

root@OpenWrt:/mnt/sda1/LOGS# uptime
 15:35:11 up 23 days, 29 min,  load average: 0.00, 0.00, 0.00
root@OpenWrt:/mnt/sda1/LOGS# uptime -s
2021-01-19 15:05:44
[619012.645384] ------------[ cut here ]------------
[619012.645444] WARNING: CPU: 1 PID: 1894 at backports-4.19.137-1/net/wireless/util.c:1147 0xbf2b0d88 [cfg80211@bf2ac000+0x37000]
[619012.649108] invalid rate bw=0, mcs=15, nss=4
[619012.660499] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage ext4 mbcache jbd2 crc32c_generic leds_gpio xhci_plat_hcd xhci_pci
[619012.713650]  xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug
[619012.735868] CPU: 1 PID: 1894 Comm: hostapd Not tainted 4.14.209 #0
[619012.752545] Hardware name: Generic DT based system
[619012.758624] Function entered at [<c030f1c4>] from [<c030b390>]
[619012.763482] Function entered at [<c030b390>] from [<c07c21a4>]
[619012.769384] Function entered at [<c07c21a4>] from [<c031f91c>]
[619012.775287] Function entered at [<c031f91c>] from [<c031f97c>]
[619012.781189] Function entered at [<c031f97c>] from [<bf2b0d88>]
[619012.787123] Function entered at [<bf2b0d88>] from [<bf2be83c>]
[619012.792999] Function entered at [<bf2be83c>] from [<bf2cb654>]
[619012.798901] Function entered at [<bf2cb654>] from [<bf2cc248>]
[619012.804800] Function entered at [<bf2cc248>] from [<bf2ffb68>]
[619012.810716] Function entered at [<bf2ffb68>] from [<bf2ffbf8>]
[619012.816607] Function entered at [<bf2ffbf8>] from [<bf2ffc90>]
[619012.822510] Function entered at [<bf2ffc90>] from [<bf2ba6d8>]
[619012.828412] Function entered at [<bf2ba6d8>] from [<c06e2e1c>]
[619012.834315] Function entered at [<c06e2e1c>] from [<c06e17c0>]
[619012.840216] Function entered at [<c06e17c0>] from [<c06e1e10>]
[619012.846118] Function entered at [<c06e1e10>] from [<c06e0fd0>]
[619012.852022] Function entered at [<c06e0fd0>] from [<c06e13ec>]
[619012.857926] Function entered at [<c06e13ec>] from [<c068b2d0>]
[619012.863828] Function entered at [<c068b2d0>] from [<c068bb38>]
[619012.869731] Function entered at [<c068bb38>] from [<c0307b60>]
[619012.875725] ---[ end trace 392e9d161862475a ]---
[651813.525003] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[651829.659554] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[667005.071881] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[667025.133845] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[667149.567903] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[734141.146485] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[975145.075957] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[1402840.442406] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[1402856.528481] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[1600881.700645] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[1842120.820145] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[1848005.574660] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[1849200.124473] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[1929775.423034] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[1986191.960831] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[1987674.139299] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2

root@OpenWrt:/mnt/sda1/LOGS# cat /etc/os-release
NAME="OpenWrt"
VERSION="19.07.5"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 19.07.5"
VERSION_ID="19.07.5"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r11257-5090152ae3"
OPENWRT_BOARD="ipq806x/generic"
OPENWRT_ARCH="arm_cortex-a15_neon-vfpv4"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 19.07.5 r11257-5090152ae3"

My next step is to try the .6 upgrade to see if long-term stability improves.

28 days uptime but this and my Internet connection became spotty:

OpenWrt 19.07.7

[1831721.777722] ------------[ cut here ]------------
[1831721.777766] WARNING: CPU: 0 PID: 0 at /builder/shared-workdir/build/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/ath10k-ct-regular/ath10k-ct-2019-09-09-5e8cd86f/ath10k-4.19/htt_rx.c:1206 0xbf38bbe0 [ath10k_core@bf36e000+0x57000]
[1831721.782363] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage ext4 mbcache jbd2 crc32c_generic leds_gpio xhci_plat_hcd xhci_pci
[1831721.853418]  xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug
[1831721.875603] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.14.221 #0
[1831721.892348] Hardware name: Generic DT based system
[1831721.899904] Function entered at [<c030f1c4>] from [<c030b390>]
[1831721.904933] Function entered at [<c030b390>] from [<c07c2a84>]
[1831721.910924] Function entered at [<c07c2a84>] from [<c031f91c>]
[1831721.916913] Function entered at [<c031f91c>] from [<c031fa08>]
[1831721.922901] Function entered at [<c031fa08>] from [<bf38bbe0>]
[1831721.928940] Function entered at [<bf38bbe0>] from [<bf38d1e0>]
[1831721.934884] Function entered at [<bf38d1e0>] from [<bf38d9d0>]
[1831721.940873] Function entered at [<bf38d9d0>] from [<bf3c9758>]
[1831721.946877] Function entered at [<bf3c9758>] from [<c06ab344>]
[1831721.952851] Function entered at [<c06ab344>] from [<c03015c8>]
[1831721.958840] Function entered at [<c03015c8>] from [<c0323ed0>]
[1831721.964828] Function entered at [<c0323ed0>] from [<c0362c00>]
[1831721.970819] Function entered at [<c0362c00>] from [<c0301488>]
[1831721.976806] Function entered at [<c0301488>] from [<c030bf8c>]
[1831721.982796] Exception stack(0xc0a01f48 to 0xc0a01f90)
[1831721.988808] 1f40:                   00000001 00000000 00000000 c0315100 ffffe000 c0a03cb8
[1831721.993765] 1f60: c0a03c6c 00000000 00000000 c092ea28 00000000 00000000 c0a01f90 c0a01f98
[1831722.002084] 1f80: c030854c c0308550 60000013 ffffffff
[1831722.010401] Function entered at [<c030bf8c>] from [<c0308550>]
[1831722.015611] Function entered at [<c0308550>] from [<c0358a60>]
[1831722.021861] Function entered at [<c0358a60>] from [<c0358da8>]
[1831722.027848] Function entered at [<c0358da8>] from [<c0900c58>]
[1831722.033944] ---[ end trace e25f2026fb2a2405 ]---
[2110647.742680] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[2110663.932026] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[2110871.157315] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2
[2116873.161661] ath10k_pci 0000:01:00.0: NIC rx-max-rate: 0 calculated-max: 0 rxnss_override: 0x80000000  nss160: 1  spatial-streams: 2

Have you tried snapshot or 21.02 branch?

driver in 19.07 branch is old