Losing wifi connection

Hi!

My openWRT router is connected to a wifi through radio1 in client mode. Normally, this works just fine, but once in a while the router seems to lose the connection and can't recover.

Dmesg would look like this:

[ 6293.576839] ath10k_ahb a800000.wifi: peer-unmap-event: unknown peer id 1
[ 6293.577174] ath10k_ahb a800000.wifi: peer-unmap-event: unknown peer id 1
[ 6293.583252] ath10k_ahb a800000.wifi: peer-unmap-event: unknown peer id 1
[ 6341.075092] wlan1: authenticate with a0:04:60:85:47:4d
[ 6341.082165] wlan1: send auth to a0:04:60:85:47:4d (try 1/3)
[ 6341.433394] wlan1: send auth to a0:04:60:85:47:4d (try 2/3)
[ 6341.834891] wlan1: send auth to a0:04:60:85:47:4d (try 3/3)
[ 6342.236295] wlan1: authentication with a0:04:60:85:47:4d timed out
[ 6342.273732] ath10k_ahb a800000.wifi: peer-unmap-event: unknown peer id 1
[ 6349.844977] wlan1: authenticate with a0:04:60:85:47:4d
[ 6349.854989] wlan1: send auth to a0:04:60:85:47:4d (try 1/3)
[ 6350.206227] wlan1: send auth to a0:04:60:85:47:4d (try 2/3)
[ 6350.607679] wlan1: send auth to a0:04:60:85:47:4d (try 3/3)
[ 6351.009067] wlan1: authentication with a0:04:60:85:47:4d timed out
[ 6351.043690] ath10k_ahb a800000.wifi: peer-unmap-event: unknown peer id 1

After that if I "scan" on radio1 (which is the 5 GHz) through the luci webinterface, I don't see any networks at all anymore. (I still see some on radio0, which is 2.4 Ghz) However, when I restart the radio1 (also through LuCi) the radio automatically connects to the wifi network again and everything looks fine. Dmesg looks like this

[ 7689.076966] ath10k_ahb a800000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[ 7689.077022] ath10k_ahb a800000.wifi: msdu-desc: 2500  skid: 32
[ 7689.112865] ath10k_ahb a800000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[ 7689.113869] ath10k_ahb a800000.wifi: wmi print 'free: 56528 iram: 23400 sram: 32520'
[ 7689.376428] ath10k_ahb a800000.wifi: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[ 7689.376658] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 7692.691796] wlan1: authenticate with a0:04:60:85:47:4d
[ 7692.887644] wlan1: send auth to a0:04:60:85:47:4d (try 1/3)
[ 7692.890166] wlan1: authenticated
[ 7692.900328] wlan1: associate with a0:04:60:85:47:4d (try 1/3)
[ 7692.901353] wlan1: RX AssocResp from a0:04:60:85:47:4d (capab=0x1011 status=0 aid=4)
[ 7692.906394] wlan1: associated
[ 7692.924166] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready

Do you guys know why this happens and what I could do such I don't have to connect to the router via cable and perform a manual step?

I am using an 8devices habanero board.

Thanks a lot!