mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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:
parent
818ba42a8b
commit
47e8de1d4d
@ -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 @@
|
||||
Subproject commit c5f428854abaf40104fe8c6a3d198d1836069d77
|
||||
Subproject commit 2b823173bb72ac120e1ed9698d0f294e24cf1db2
|
Loading…
x
Reference in New Issue
Block a user