Wifi dropping on device connected to Redmi AX6000 – phy1-ap0: AP-STA-DISCONNECTED

Hi, I have an issue with the Redmi AX6000. The router and OpenWrt is perfectly stable, running for days without any other issue apart from this one.

There is a device (Window laptop) which keeps disconnecting (dropping) from time to time on the 5GHz network. All other clients seem alright. The log says following:

Wed Mar 29 14:07:56 2023 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Wed Mar 29 14:07:57 2023 user.info usteer: station xx:xx:xx:xx:xx:xx disconnected from node hostapd.phy1-ap0
Wed Mar 29 14:07:57 2023 daemon.info hostapd: phy0-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Wed Mar 29 14:07:57 2023 daemon.info hostapd: phy0-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 1)
Wed Mar 29 14:07:57 2023 daemon.notice hostapd: phy0-ap0: STA-OPMODE-SMPS-MODE-CHANGED xx:xx:xx:xx:xx:xx off
Wed Mar 29 14:07:57 2023 daemon.notice hostapd: phy0-ap0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx auth_alg=open
Wed Mar 29 14:07:57 2023 daemon.info hostapd: phy0-ap0: STA xx:xx:xx:xx:xx:xx RADIUS: starting accounting session 0B041081C001D574
Wed Mar 29 14:07:57 2023 daemon.info hostapd: phy0-ap0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Wed Mar 29 14:07:57 2023 daemon.notice hostapd: phy0-ap0: EAPOL-4WAY-HS-COMPLETED xx:xx:xx:xx:xx:xx
Wed Mar 29 14:07:58 2023 daemon.info dnsmasq-dhcp[12902]: DHCPREQUEST(br-lan) 192.168.1.27 xx:xx:xx:xx:xx:xx
Wed Mar 29 14:07:58 2023 daemon.info dnsmasq-dhcp[12902]: DHCPACK(br-lan) 192.168.1.27 xx:xx:xx:xx:xx:xx PC-NAME

Does anyone have a clue?

Thanks a lot!

So it drops on 2.4GHz as well.
The Issue seems similar to:
https://github.com/openwrt/mt76/issues/385

(Also on Mediatech)

Plus dealing with a similar issue like here:
https://forum.openwrt.org/t/sta-opmode-smps-mode-changed-what-that-mean/38884

Log:

Wed Mar 29 15:57:54 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Wed Mar 29 15:57:54 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 4)
Wed Mar 29 15:57:54 2023 daemon.notice hostapd: phy1-ap0: STA-OPMODE-SMPS-MODE-CHANGED xx:xx:xx:xx:xx:xx off
Wed Mar 29 15:57:54 2023 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx auth_alg=open
Wed Mar 29 15:57:54 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx RADIUS: starting accounting session 572AAAB7D1979566
Wed Mar 29 15:57:54 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Wed Mar 29 15:57:54 2023 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED xx:xx:xx:xx:xx:xx
Wed Mar 29 15:58:20 2023 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Wed Mar 29 15:58:20 2023 user.info usteer: station xx:xx:xx:xx:xx:xx disconnected from node hostapd.phy1-ap0
Wed Mar 29 15:59:09 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Wed Mar 29 15:59:09 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 4)
Wed Mar 29 15:59:09 2023 daemon.notice hostapd: phy1-ap0: STA-OPMODE-SMPS-MODE-CHANGED xx:xx:xx:xx:xx:xx off
Wed Mar 29 15:59:09 2023 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx auth_alg=open
Wed Mar 29 15:59:09 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx RADIUS: starting accounting session 988C2E24F478713F
Wed Mar 29 15:59:09 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Wed Mar 29 15:59:09 2023 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED xx:xx:xx:xx:xx:xx
Wed Mar 29 15:59:35 2023 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Wed Mar 29 15:59:35 2023 user.info usteer: station xx:xx:xx:xx:xx:xx disconnected from node hostapd.phy1-ap0
Wed Mar 29 16:00:39 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Wed Mar 29 16:00:39 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 4)
Wed Mar 29 16:00:39 2023 daemon.notice hostapd: phy1-ap0: STA-OPMODE-SMPS-MODE-CHANGED xx:xx:xx:xx:xx:xx off
Wed Mar 29 16:00:39 2023 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx auth_alg=open
Wed Mar 29 16:00:39 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx RADIUS: starting accounting session 22848795585FDA52
Wed Mar 29 16:00:39 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Wed Mar 29 16:00:39 2023 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED xx:xx:xx:xx:xx:xx
Wed Mar 29 16:00:51 2023 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Wed Mar 29 16:00:51 2023 user.info usteer: station xx:xx:xx:xx:xx:xx disconnected from node hostapd.phy1-ap0
Wed Mar 29 16:01:38 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Wed Mar 29 16:01:38 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 4)
Wed Mar 29 16:01:38 2023 daemon.notice hostapd: phy1-ap0: STA-OPMODE-SMPS-MODE-CHANGED xx:xx:xx:xx:xx:xx off
Wed Mar 29 16:01:38 2023 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx auth_alg=open
Wed Mar 29 16:01:38 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx RADIUS: starting accounting session EE56427926D755F8
Wed Mar 29 16:01:38 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Wed Mar 29 16:01:38 2023 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED xx:xx:xx:xx:xx:xx
Wed Mar 29 16:01:50 2023 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Wed Mar 29 16:01:50 2023 user.info usteer: station xx:xx:xx:xx:xx:xx disconnected from node hostapd.phy1-ap0
Wed Mar 29 16:02:54 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Wed Mar 29 16:02:54 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 4)
Wed Mar 29 16:02:54 2023 daemon.notice hostapd: phy1-ap0: STA-OPMODE-SMPS-MODE-CHANGED xx:xx:xx:xx:xx:xx off
Wed Mar 29 16:02:54 2023 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx auth_alg=open
Wed Mar 29 16:02:54 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx RADIUS: starting accounting session 62F43290A9530E22
Wed Mar 29 16:02:54 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Wed Mar 29 16:02:54 2023 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED xx:xx:xx:xx:xx:xx
Wed Mar 29 16:03:20 2023 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Wed Mar 29 16:03:20 2023 user.info usteer: station xx:xx:xx:xx:xx:xx disconnected from node hostapd.phy1-ap0
Wed Mar 29 16:04:09 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Wed Mar 29 16:04:09 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 4)
Wed Mar 29 16:04:09 2023 daemon.notice hostapd: phy1-ap0: STA-OPMODE-SMPS-MODE-CHANGED xx:xx:xx:xx:xx:xx off
Wed Mar 29 16:04:09 2023 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx auth_alg=open
Wed Mar 29 16:04:09 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx RADIUS: starting accounting session 0FD996758E005688
Wed Mar 29 16:04:09 2023 daemon.info hostapd: phy1-ap0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Wed Mar 29 16:04:09 2023 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED xx:xx:xx:xx:xx:xx

I will try to change the wifi adapter settings, but there is apparently something wrong with OpenWrt on AX6000.

Considering that no other devices connected to the router have issues, there’s the possibility that the wifi card in the laptop is going down the drain and there’s nothing wrong with the router… I’ve had wifi cards in laptops go bad on me before.

2 Likes

Yeah, the first error is really weird and I too think there is something wrong with the client's wifi adapter – either wrong settings, or as you said, a dying adapter.

About the second issue, this is actually on a different adapter and I think this is OpenWrt/Mediatech related, as per the last link...

I have a Honeywell T10 thermostat that gives about that message between 6-8 times per hour. 4 days of uptime and 2 solid days of messages like this:

# logread|grep DISC
Tue Mar 28 17:07:19 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 17:20:38 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 17:35:57 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 17:54:56 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 18:00:15 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 18:07:34 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 18:16:54 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 18:28:13 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 18:41:33 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 18:45:28 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 18:50:47 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 18:54:43 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 19:00:02 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 19:07:22 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 19:16:41 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 19:28:01 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 19:31:57 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 19:37:16 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 19:44:36 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue Mar 28 19:53:55 2023 daemon.notice hostapd: phy1-ap3: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx

Not sure if this is new or always happened. I hate that device.

what version of OpenWrt are you running?

Snapsnot for a few days ago

I’ve seen mixed reviews with Honeywell’s T line. I ended up getting the Honeywell Home RTH9585WF that uses TCC which can be imported into their Resideo app from TCC app. It works like a charm and I never experience wifi/internet connectivity issues unless the internet or power goes down. But it comes right back up and connects without any manual intervention.