Flint 4 (4.11.0 beta 4): Mac randomly loses connection until wifi reconnect, router drops it silently after SA Query timeout

Hi!

I have another issue with my Flint 4 (main router) + Flint 3 (mesh node) setup, this time on firmware 4.11.0. My MacBook on wifi randomly loses network connection. macOS still shows it as connected to wifi, but nothing loads until I turn wifi off and on again. Other devices are fine during this.

All 3 bands use the same SSID, but the security is different on each one:

  • 2.4 GHz: WPA2-PSK, PMF optional
  • 5 GHz: WPA2/WPA3 mixed, PMF optional
  • 6 GHz: WPA3 only, PMF required

I went through the logs. The Mac moves between bands quite often. When it is connected on 5 GHz and tries to join 6 GHz, the router rejects it with status 30 and sends an SA Query to the old band. Most of the time it works out, but when the SA Query times out the router deletes the Mac from 5 GHz without sending a deauth. The Mac doesn't know it was dropped, so it keeps sending on 5 GHz and the router answers with "can't find pEntry". This goes on until I reconnect manually.

Here is one case from today:

19:59:51 Mac connects on 5 GHz (rai0), gets DHCP, all fine
21:18:34 Mac tries 6 GHz (rax0) -> auth resp status=30, SA Query sent
21:21:37 same
21:24:48 same
21:33:16 same, but this time:
21:33:18 PMF_SAQueryTimeOut -> mac_entry_delete, rai0: STA disassociated
21:35:47 BN1 Peer_Vendor_Spec_Action: can't find pEntry
21:36:30 I reconnect manually, Mac joins 6 GHz again

The same thing happened to my iPhone at 19:17 (status=30, then SA Query timeout, then dropped). The only devices that show this in the logs are Apple ones. Maybe that's because they switch bands more often than other devices.

I think there are two problems here. First, the router deletes the client without telling it, so it ends up in a dead state instead of reconnecting by itself. Second, the security is different between bands on the same SSID, which probably makes the Mac do a full SAE handshake every time it changes band.

I haven't changed anything yet. I attached the full log export.

Can somebody please look into this?

logread-redacted.tar (769 KB)

I have the same issue. I think I will commission the IoT network and boot everything that doesn't support WPA3 over to that.

Hi,

Thank you for the detailed report and logs. We will share this case with our R&D team for further investigation.

To help us check the current wireless configuration, could you please send us a configuration backup of the router by private message? Please do not upload the backup publicly, as it may contain sensitive configuration information. Click the Technical Support avatar and then the Message button:

Please also let us know the exact MacBook and iPhone models and their macOS and iOS versions. If your account cannot start a private message, let us know and we can initiate one.

Same end state on Flint 4, different trigger (single-band WPA2 SSID, no roaming)

Adding a data point. GL-BE14000, firmware 4.9.2 and now 4.11.0 beta5 (build 1114), same behaviour on both.

Client: Intel MacBook, macOS 13.7.8, Broadcom 802.11ac. It is on a 5 GHz-only SSID with WPA2-PSK (CCMP), PMF optional, so there is no band change or SAE involved. Symptom is identical to the OP: the Mac stays associated, no traffic passes, only Wi-Fi off/on recovers it. The AP logs nothing before the stall. After the client re-associates we see the same PMF_SAQueryTimeOut, assoc ie is null and PN type mask is zero lines, so in our case the SA Query timeout is a consequence, not the trigger.

Frequency: 6–11 stalls per hour overnight, up to 13–18 per hour in the evening, for days. Also reproduced on 2.4 GHz and on a WPA3/MLO SSID.

Things that did not change the rate (tested one at a time, 1 h each with a client-side watchdog counting stalls): WPA2-only instead of WPA2/WPA3 mixed, PMF off, RROSupport=0, DSCP-to-UP remap on/off, ETxBfEnCond=0, router reboot, 4.9.2 → 4.11.0 beta5.

From AP-side counters on 4.9.2 during a stall: RX from the Mac continues, TX bytes towards the Mac stop and TX retry/drop counters grow (Previous BA is not finished yet, TxMsduDrop), BA window 64. So the AP appears to stop delivering downlink to that station while the station is still talking.

Related but separate issue, already with support as Ticket-154243 and thread 72275: TCP marked DSCP AF21 (SSH SYN-ACK) never reaches the client while everything else works.

Full logread, client logs and the test matrix are available; happy to test builds or collect specific debug output.

Hi,

We have released the Beta 6 firmware for Flint 4, which includes some optimizations and improvements for this issue. Could you try updating to this version and see if the connection issue still occurs?

Dear Will!

I installed 4.11.0 beta 6 and it still happens.

What I see in my logs (Oct 31, Mac 2a:02:ff:80:ef:a4):

15:54:05 CFG80211_CheckSAQueryNeed: [PMF] cross-BSS auth: STA=2a:02:ff:80:ef:a4, old BSSID=82:54:12:a4:98:5a (rai0), target BSSID=86:d5:74:ad:f7:82 (rax0), skip old-BSS SA Query
15:54:05 CFG80211_AuthRespHandler: send auth resp to 2a:02:ff:80:ef:a4 (alg=3, transaction=1, status=126, wcid=2)
15:54:06 PMF_MlmeSAQueryReq: [PMF] - Send SA Query Request to STA(2a:02:ff:80:ef:a4)
15:54:07 record_connect_info (caller: PMF_SAQueryTimeOut): WLAN station disconnected from 5Ghz Wifi radio, MAC-address: 2a:02:ff:80:ef:a4, reason=8
15:54:07 mac_entry_delete (caller: PMF_SAQueryTimeOut): wcid 2 ==(2a:02:ff:80:ef:a4) enqueue success
15:54:07 hostapd: rai0: STA 2a:02:ff:80:ef:a4 IEEE 802.11: disassociated
15:55:37 Peer_Vendor_Spec_Action() 986: can't find pEntry (BN1 = rai0)
15:56:12 Mac auths on rax0 again, DHCPACK 15:56:13

The 15:56 reconnect is me turning wifi off and on by hand. From 15:54:07 to 15:56:12 macOS showed wifi as connected, but nothing loaded.

What changed since the last firmware:

  • The new skip old-BSS SA Query line shows the cross-band join is handled differently now. But the router still sends an SA Query afterwards and it still times out.
  • The reject status is now mostly 126 (30 times) instead of 30. I don't see status=30 anymore, but that's just the normal SAE reply, not a fix.
  • The timeout path still ends in mac_entry_delete and a hostapd disassociated log line. I can't see any deauth frame sent to the client in these logs.

Hi,

Thank you for testing Beta 6 and for sharing the detailed timeline. We’re sorry to hear that the issue still occurs.

Could you please export the router logs immediately after the issue occurs and send the log file to us by private message? Please also include the approximate time when the issue occurred so that we can correlate it with the logs.

We will share the new test result and logs with our R&D team for further investigation.

Hi,

We have sent you a new beta firmware via private message that includes a change intended to address this issue. Could you please install it and let us know whether it resolves the problem for you?

If the issue still occurs, please export the router logs immediately afterward and send them to us by private message, together with the approximate time when the issue occurred. We will continue to analyze it. Thank you for your help with testing.