802.11r broken on Snapshot builds with MT76?

At home I have a setup with 3 Archer C6 v3.2, one is the main router and the other two are configured as access points (all running snapshot builds since this device is not yet in 21.02 builds).

I'm using two separate SSIDs for 2.4 and 5.0 GHz networks. All devices have the same SSIDs and passwords, and are configured with fixed and non-overlapping channels using WPA2-PSK.

In some situations when roaming from one AP to another the mobile devices take a couple of seconds (~5 seconds) to switch to the closer AP. While this is a minor annoyance for normal Internet browsing, it causes issues in VoIP calls.

I'm trying now to enable 802.11r to see if I can improve the roaming across the different APs. I tried the basic stuff (enabled 802.11r in LuCI and made sure that all devices are configured with the same mobility domain), however when roaming from one device to another the transition is not seamless.

For example, with an iPhone, with ping running to a local IP, when the transition occurs there are about 4 to 5 lost packets (i**.e. 4 to 5 seconds without network connectivity**).

I've also tried to change from "FT over DS" to "FT over the Air" to no effect.

I've increased the hostapd messages and I am checking via logread, see below. I move away from the monitored AP at 20:49:09 and I return at 20:54:53. During this time ping fails for at least 5 seconds.

While I am getting the message "WPA: FT authentication already completed - do not start 4-way handshake" which seems to indicate that 802.11r should be working, I am also getting the message "daemon.err hostapd: nl80211: kernel reports: key addition failed".

I will continue my troubleshooting, but I would really appreciate if anyone has any suggestion or insight to share about this issue.

Thanks!

Mon Sep 13 20:49:09 2021 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED XX:XX:XX:XX:XX:11
Mon Sep 13 20:49:09 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Mon Sep 13 20:49:09 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: binding station to interface 'wlan1'
Mon Sep 13 20:49:09 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: authentication OK (FT)
Mon Sep 13 20:49:09 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 MLME: MLME-AUTHENTICATE.indication(XX:XX:XX:XX:XX:11, FT)
Mon Sep 13 20:49:09 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: association OK (aid 2)
Mon Sep 13 20:49:09 2021 daemon.info hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: associated (aid 2)
Mon Sep 13 20:49:09 2021 daemon.notice hostapd: wlan1: AP-STA-CONNECTED XX:XX:XX:XX:XX:11
Mon Sep 13 20:49:09 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 MLME: MLME-REASSOCIATE.indication(XX:XX:XX:XX:XX:11)
Mon Sep 13 20:49:09 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: binding station to interface 'wlan1'
Mon Sep 13 20:49:09 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 WPA: event 6 notification
Mon Sep 13 20:49:09 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 WPA: FT authentication already completed - do not start 4-way handshake
Mon Sep 13 20:54:53 2021 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED XX:XX:XX:XX:XX:11
Mon Sep 13 20:54:53 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Mon Sep 13 20:54:53 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: binding station to interface 'wlan1'
Mon Sep 13 20:54:53 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: authentication OK (FT)
Mon Sep 13 20:54:53 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 MLME: MLME-AUTHENTICATE.indication(XX:XX:XX:XX:XX:11, FT)
Mon Sep 13 20:54:53 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: association OK (aid 2)
Mon Sep 13 20:54:53 2021 daemon.info hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: associated (aid 2)
Mon Sep 13 20:54:53 2021 daemon.notice hostapd: wlan1: AP-STA-CONNECTED XX:XX:XX:XX:XX:11
Mon Sep 13 20:54:53 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 MLME: MLME-REASSOCIATE.indication(XX:XX:XX:XX:XX:11)
Mon Sep 13 20:54:53 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: binding station to interface 'wlan1'
Mon Sep 13 20:54:53 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 WPA: event 6 notification
Mon Sep 13 20:54:53 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 WPA: FT authentication already completed - do not start 4-way handshake
1 Like

OK, changing back to "FT over DS" makes the error "daemon.err hostapd: nl80211: kernel reports: key addition failed" go away but then it seems that 802.11r stops working (since I stopped seeing message "WPA: FT authentication already completed - do not start 4-way handshake"):

EDITED: the error "daemon.err hostapd: nl80211: kernel reports: key addition failed" also appeared now with FT over DS, so it seems to be unrelated to this config.

Mon Sep 13 21:20:33 2021 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED XX:XX:XX:XX:XX:11
Mon Sep 13 21:20:33 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 WPA: event 2 notification
Mon Sep 13 21:20:33 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.1X: unauthorizing port
Mon Sep 13 21:20:33 2021 daemon.info hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: disassociated
Mon Sep 13 21:20:33 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 MLME: MLME-DISASSOCIATE.indication(XX:XX:XX:XX:XX:11, 8)
Mon Sep 13 21:20:33 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 MLME: MLME-DELETEKEYS.request(XX:XX:XX:XX:XX:11)
Mon Sep 13 21:20:34 2021 daemon.info hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Mon Sep 13 21:20:34 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 MLME: MLME-DEAUTHENTICATE.indication(XX:XX:XX:XX:XX:11, 2)
Mon Sep 13 21:20:34 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 MLME: MLME-DELETEKEYS.request(XX:XX:XX:XX:XX:11)
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: authentication OK (open system)
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 MLME: MLME-AUTHENTICATE.indication(XX:XX:XX:XX:XX:11, OPEN_SYSTEM)
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 MLME: MLME-DELETEKEYS.request(XX:XX:XX:XX:XX:11)
Mon Sep 13 21:20:43 2021 daemon.info hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: authenticated
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: association OK (aid 1)
Mon Sep 13 21:20:43 2021 daemon.info hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: associated (aid 1)
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 MLME: MLME-ASSOCIATE.indication(XX:XX:XX:XX:XX:11)
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 MLME: MLME-DELETEKEYS.request(XX:XX:XX:XX:XX:11)
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: binding station to interface 'wlan1'
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 WPA: event 1 notification
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 WPA: start authentication
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.1X: unauthorizing port
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 WPA: sending 1/4 msg of 4-Way Handshake
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 WPA: received EAPOL-Key frame (2/4 Pairwise)
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 WPA: sending 3/4 msg of 4-Way Handshake
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 WPA: received EAPOL-Key frame (4/4 Pairwise)
Mon Sep 13 21:20:43 2021 daemon.notice hostapd: wlan1: AP-STA-CONNECTED XX:XX:XX:XX:XX:11
Mon Sep 13 21:20:43 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.1X: authorizing port
Mon Sep 13 21:20:43 2021 daemon.info hostapd: wlan1: STA XX:XX:XX:XX:XX:11 WPA: pairwise key handshake completed (RSN)
Mon Sep 13 21:20:43 2021 daemon.notice hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED XX:XX:XX:XX:XX:11
Mon Sep 13 21:21:25 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: binding station to interface 'wlan1'
Mon Sep 13 21:21:25 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: association OK (aid 1)
Mon Sep 13 21:21:25 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 WPA: event 8 notification
Mon Sep 13 21:21:25 2021 daemon.info hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: associated (aid 1)
Mon Sep 13 21:21:25 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 MLME: MLME-REASSOCIATE.indication(XX:XX:XX:XX:XX:11)
Mon Sep 13 21:21:25 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 IEEE 802.11: binding station to interface 'wlan1'
Mon Sep 13 21:21:25 2021 daemon.debug hostapd: wlan1: STA XX:XX:XX:XX:XX:11 WPA: event 6 notification

Well, it seems that 802.11r is definitively broken. I am getting many daemon.err hostapd: nl80211: kernel reports: key addition failed errors on the three devices (as seen below in one device this error happes every 10 seconds).

I believe that for now I will have to disable 802.11r and wait for this to be fixed in the future;

Thu Sep 16 08:45:35 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:45:59 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:46:04 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:46:24 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:46:25 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:46:26 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:46:28 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:46:29 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:46:35 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:46:37 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:46:47 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:46:56 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:47:01 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:47:35 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:47:39 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:48:25 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:48:30 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:48:44 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:48:45 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:48:47 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:50:05 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:50:06 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:50:14 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:50:16 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:50:17 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:50:19 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:50:20 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:50:21 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:50:30 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:50:32 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:50:33 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:50:38 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:51:27 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:51:42 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:51:47 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:51:49 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:51:50 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:51:51 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:51:57 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:52:01 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:52:17 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:52:18 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:52:37 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:52:43 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:53:36 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:53:46 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:53:51 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:53:56 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:54:01 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:54:03 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:54:13 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:54:38 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:54:39 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:54:41 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:54:42 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:54:47 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:55:08 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:55:09 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:55:38 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:55:40 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:55:45 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:55:50 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:55:52 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:55:53 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:55:55 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:55:56 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:55:58 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:56:03 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:56:44 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:56:49 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:57:35 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:59:09 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:59:20 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:59:40 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 08:59:44 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:04:20 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:04:38 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:04:43 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:05:24 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:05:29 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:05:45 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:06:40 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:09:12 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:09:14 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:09:25 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:09:35 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:09:36 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:09:46 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:09:47 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:09:53 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:10:34 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:11:29 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:11:34 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:11:39 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:11:44 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:13:38 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:13:43 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:13:44 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:13:49 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:13:51 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:13:52 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:20:28 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:21:58 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:30:52 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:45:27 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:45:36 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:45:47 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:47:41 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:49:52 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:50:22 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:50:27 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:50:28 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:50:30 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:50:31 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:50:32 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:50:38 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:50:43 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:50:53 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:50:58 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:51:00 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:51:01 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:51:06 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:51:21 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:51:27 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:51:28 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:51:33 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:51:34 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:51:36 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:51:37 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:51:42 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:52:07 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:52:08 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:53:41 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:54:14 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:54:19 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:54:33 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:54:35 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:54:36 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:55:30 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:55:44 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:56:05 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:56:13 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:56:57 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:57:07 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:57:08 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:57:19 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:57:24 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:57:26 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:57:27 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:57:29 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:57:30 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:57:36 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:57:37 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:57:39 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:57:49 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:57:49 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:57:58 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:58:33 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:58:38 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:58:54 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:58:59 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:59:01 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:59:11 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:59:12 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Thu Sep 16 09:59:22 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
1 Like

Has this been fixed in recent snapshots?

I’m using a snapshot from beginning of October, which still has this issue. There are many changes in the m76 drivers committed in the last two weeks. Perhaps it’s time to test with newer snapshots…

I'm using a Belkin RT3200 with a snapshot from about 13 days ago and enabled 802.11r. Roaming between APs seems to be better now, but I now have one iPhone that causes STA-OPMODE-N_SS-CHANGED and deauthenticated due to inactivity issues:

Thu Oct 28 06:47:07 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:47:08 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:47:10 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:47:14 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:47:54 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:47:54 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:47:57 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:48:03 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:48:21 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:48:22 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:48:24 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:48:28 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:48:36 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:48:48 2021 daemon.info hostapd: wlan1: STA xx:xx:xx:xx:xx:88 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Thu Oct 28 06:49:09 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:49:27 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:49:58 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:50:30 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:51:37 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:53:39 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:53:42 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:53:50 2021 daemon.info hostapd: wlan1: STA xx:xx:xx:xx:xx:88 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Thu Oct 28 06:57:23 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:57:25 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:57:58 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:58:01 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:58:02 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:58:09 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:58:16 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:58:29 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:58:47 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:59:03 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 06:59:35 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 07:00:09 2021 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED xx:xx:xx:xx:xx:88 1
Thu Oct 28 07:00:12 2021 daemon.info hostapd: wlan1: STA xx:xx:xx:xx:xx:88 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

A ton of STA-OPMODE-N_SS-CHANGED messages along with 3 deauthentications within 10 minutes. These issues did not show up until I enabled 802.11r

Same issue here with the Netgear R6020 using openwrt-21.02.1-ramips-mt76x8