[PATCH 0/3] wifi: Forgive transient errors
Johannes Emerich <[email protected]> Wed, 15 Apr 2026 12:14:58 +0200
| Newsgroups | dev.linux.lists.connman |
|---|---|
| Message-ID | <[email protected]> |
In our kiosk system built with ConnMan (currently 1.42) and wpa_supplicant we have observed frequent "dead-end" errors in customer installations, especially where WPA3-SAE is used. ConnMan has perfectly functional WiFi services enter an error state and will not automatically retry them, so manual intervention of some sort is required (reboot or manual reselection of WiFi). We were able to identify various cases where ConnMan's wifi plugin gives up on services prematurely. Our hundreds-strong customer base has been running our patched version of ConnMan since mid-December 2025 and reports of WiFi disconnects have been much reduced in 2026. Note that our customers are running ConnMan 1.42 with one additional patch, which is a revert of 289c7fc5c0e64f14463937cf28eabb347700c161. I don't understand the reasoning behind this commit, which argues that ConnMan should not explicitly allow retries, because wpa_supplicant already has a retry logic. Since ConnMan actively prevents wpa_supplicant from continuing to retry once the service enters an error state, this reasoning seems flawed. However, since the change has been in ConnMan since 2014 and seems to have been generally accepted, I don't assume a patch suggesting to reinstate a general retry mechanism would be accepted. Johannes Emerich (3): wifi: Extend auth retry mechanism to WPA3-SAE wifi: Limit invalid-key to repeated auth failure wifi: Allow retries for more assoc failure cases plugins/wifi.c | 88 +++++++++++++++++++++++++++----------------------- 1 file changed, 48 insertions(+), 40 deletions(-) -- 2.51.2