fix(esp_wifi): Add more descriptive reasons for disconnect
Adds 3 more ddisconnect reasons in case of No AP found.
1. REASON_NO_AP_FOUND_IN_RSSI_THRESHOLD : AP rejected because it did
not meet rssi threshold.
2. REASON_NO_AP_FOUND_IN_AUTHMODE THRESHOLD : AP rejected because it
did not meet security threshold.
3. REASON_NO_AP_FOUND_WITH_COMPATIBLE_ SECURITY : AP rejected because
of incompatible security configuration. These situations could include
-- bss offerring WEP, but our password is not WEP compliant,
-- Encrypted AP bss but we have no password config set.
-- AP is Enterprise but we have not setup enterprise config and vice versa
Closes https://github.com/espressif/esp-idf/issues/5957
This commit is contained in:
@@ -133,6 +133,9 @@ typedef enum {
|
||||
WIFI_REASON_ROAMING = 207,
|
||||
WIFI_REASON_ASSOC_COMEBACK_TIME_TOO_LONG = 208,
|
||||
WIFI_REASON_SA_QUERY_TIMEOUT = 209,
|
||||
WIFI_REASON_NO_AP_FOUND_W_COMPATIBLE_SECURITY = 210,
|
||||
WIFI_REASON_NO_AP_FOUND_IN_AUTHMODE_THRESHOLD = 211,
|
||||
WIFI_REASON_NO_AP_FOUND_IN_RSSI_THRESHOLD = 212,
|
||||
} wifi_err_reason_t;
|
||||
|
||||
typedef enum {
|
||||
|
||||
+1
-1
Submodule components/esp_wifi/lib updated: c5f428854a...2b823173bb
Reference in New Issue
Block a user