Hey, I'm using latest snapshot on my Archer C7 v5 and having client disconnects when the client is going between bands, its not usual but its happening. Please take a look at below log.
Going to wlan0 (5GHz) because the signal is good
Sat Sep 5 17:23:29 2020 daemon.debug hostapd: wlan0: STA 43:xx:xx:xx:xx:b3 IEEE 802.11: binding station to interface 'wlan0'
Sat Sep 5 17:23:29 2020 daemon.debug hostapd: wlan0: STA 43:xx:xx:xx:xx:b3 IEEE 802.11: authentication OK (FT)
Sat Sep 5 17:23:29 2020 daemon.debug hostapd: wlan0: STA 43:xx:xx:xx:xx:b3 MLME: MLME-AUTHENTICATE.indication(43:xx:xx:xx:xx:b3, FT)
Sat Sep 5 17:23:29 2020 daemon.debug hostapd: wlan0: STA 43:xx:xx:xx:xx:b3 IEEE 802.11: association OK (aid 2)
Sat Sep 5 17:23:29 2020 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED 43:xx:xx:xx:xx:b3 2
Sat Sep 5 17:23:29 2020 daemon.info hostapd: wlan0: STA 43:xx:xx:xx:xx:b3 IEEE 802.11: associated (aid 2)
Sat Sep 5 17:23:29 2020 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 43:xx:xx:xx:xx:b3
Sat Sep 5 17:23:29 2020 daemon.debug hostapd: wlan0: STA 43:xx:xx:xx:xx:b3 MLME: MLME-REASSOCIATE.indication(43:xx:xx:xx:xx:b3)
Sat Sep 5 17:23:29 2020 daemon.debug hostapd: wlan0: STA 43:xx:xx:xx:xx:b3 IEEE 802.11: binding station to interface 'wlan0'
Sat Sep 5 17:23:29 2020 daemon.debug hostapd: wlan0: STA 43:xx:xx:xx:xx:b3 WPA: event 6 notification
Sat Sep 5 17:23:29 2020 daemon.notice hostapd: wlan1: Prune association for 43:xx:xx:xx:xx:b3
Sat Sep 5 17:23:29 2020 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 43:xx:xx:xx:xx:b3
Sat Sep 5 17:23:29 2020 daemon.debug hostapd: wlan0: STA 43:xx:xx:xx:xx:b3 WPA: FT authentication already completed - do not start 4-way handshake
Sat Sep 5 17:23:31 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 MLME: MLME-DISASSOCIATE.indication(43:xx:xx:xx:xx:b3, 1)
Sat Sep 5 17:23:31 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 MLME: MLME-DELETEKEYS.request(43:xx:xx:xx:xx:b3)
Sat Sep 5 17:23:42 2020 daemon.err hostapd: nl80211: kernel reports: key addition failed
Client decides to go to wlan1 (2GHz) imminently due to its roaming algorithm, but realize above that DEAUTHENTICATE and DELETEKEYS sequence didn't even get a chance to run for wlan1 after DISASSOCIATE
Sat Sep 5 17:23:42 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 IEEE 802.11: binding station to interface 'wlan1'
Sat Sep 5 17:23:42 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 IEEE 802.11: authentication OK (FT)
Sat Sep 5 17:23:42 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 MLME: MLME-AUTHENTICATE.indication(43:xx:xx:xx:xx:b3, FT)
Sat Sep 5 17:23:42 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 IEEE 802.11: association OK (aid 7)
Sat Sep 5 17:23:42 2020 daemon.info hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 IEEE 802.11: associated (aid 7)
Sat Sep 5 17:23:42 2020 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 43:xx:xx:xx:xx:b3
Sat Sep 5 17:23:42 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 MLME: MLME-REASSOCIATE.indication(43:xx:xx:xx:xx:b3)
Sat Sep 5 17:23:42 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 IEEE 802.11: binding station to interface 'wlan1'
Sat Sep 5 17:23:42 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 WPA: event 6 notification
Sat Sep 5 17:23:42 2020 daemon.notice hostapd: wlan0: Prune association for 43:xx:xx:xx:xx:b3
Sat Sep 5 17:23:42 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 43:xx:xx:xx:xx:b3
Sat Sep 5 17:23:42 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 WPA: FT authentication already completed - do not start 4-way handshake
Sat Sep 5 17:23:44 2020 daemon.debug hostapd: wlan0: STA 43:xx:xx:xx:xx:b3 MLME: MLME-DISASSOCIATE.indication(43:xx:xx:xx:xx:b3, 1)
Sat Sep 5 17:23:44 2020 daemon.debug hostapd: wlan0: STA 43:xx:xx:xx:xx:b3 MLME: MLME-DELETEKEYS.request(43:xx:xx:xx:xx:b3)
Sat Sep 5 17:24:12 2020 daemon.info hostapd: wlan0: STA 43:xx:xx:xx:xx:b3 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sat Sep 5 17:24:12 2020 daemon.debug hostapd: wlan0: STA 43:xx:xx:xx:xx:b3 MLME: MLME-DEAUTHENTICATE.indication(43:xx:xx:xx:xx:b3, 2)
Sat Sep 5 17:24:12 2020 daemon.debug hostapd: wlan0: STA 43:xx:xx:xx:xx:b3 MLME: MLME-DELETEKEYS.request(43:xx:xx:xx:xx:b3)
My algorithm to steer client (bss_tm_req) gives 2 minutes heads up after associating a band in order to not hurry up things that may go haywire (but it got rejected here)
Sat Sep 5 17:26:10 2020 user.notice 5GRoam: 43:xx:xx:xx:xx:b3 is being steered...
Sat Sep 5 17:26:11 2020 daemon.notice hostapd: wlan1: BSS-TM-RESP 43:xx:xx:xx:xx:b3 status_code=1 bss_termination_delay=0
Sat Sep 5 17:26:13 2020 user.notice 5GRoam: 43:xx:xx:xx:xx:b3 is steered to 5GHz with -58
Look here client is disconnected without its will (indication is 2 not 8) suspecting because above it didn't get a chance to do DEAUTHENTICATE and DELETEKEYS on wlan1 and I think that's why it got indication 2 and disassociated from the band
Indication 2 is previous authentication/association no longer valid
Indication 8 is client has left the AP by its own.
Also below wlan1 has 2 repeated disassociation indicators which is weird, indicator 1 means no reason.
I know for a fact that when I turn off Wi-Fi on my phone, I get indication 8
Sat Sep 5 17:27:12 2020 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 43:xx:xx:xx:xx:b3
Sat Sep 5 17:27:12 2020 daemon.info hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 IEEE 802.11: disassociated due to inactivity
Sat Sep 5 17:27:12 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 MLME: MLME-DISASSOCIATE.indication(43:xx:xx:xx:xx:b3, 2)
Sat Sep 5 17:27:12 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 MLME: MLME-DELETEKEYS.request(43:xx:xx:xx:xx:b3)
Sat Sep 5 17:27:12 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 MLME: MLME-DISASSOCIATE.indication(43:xx:xx:xx:xx:b3, 1)
Sat Sep 5 17:27:12 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 MLME: MLME-DELETEKEYS.request(43:xx:xx:xx:xx:b3)
Sat Sep 5 17:27:13 2020 daemon.info hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sat Sep 5 17:27:13 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 MLME: MLME-DEAUTHENTICATE.indication(43:xx:xx:xx:xx:b3, 2)
Sat Sep 5 17:27:13 2020 daemon.debug hostapd: wlan1: STA 43:xx:xx:xx:xx:b3 MLME: MLME-DELETEKEYS.request(43:xx:xx:xx:xx:b3)
After that I manually turn on the client (my phone) screen and found out that it has no Wi-Fi icon and it connects automatically again as nothing happened with 4-way-handshake. My phone has power saving turned off for both Wi-Fi and the dual-bands on Archer C7 v5.
So what do you think happening here? How can I fix it?