mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
fix(wifi): Add support to recongize different WPA3 Authentication modes from specs
1. Add support to recognize APs supporting 'WPA3-Enterprise-Only Mode' and 'WPA3-Enterprise-Transition Mode' using authmodes WIFI_AUTH_WPA3_ENTERPRISE and WIFI_AUTH_WPA2_WPA3_ENTERPRISE, respectively. 2. Add placeholder enums in 'wifi_auth_mode_t' for maintaining forward compatibility with minor versions > v5.2
This commit is contained in:
@@ -52,6 +52,12 @@ static void print_auth_mode(int authmode)
|
||||
case WIFI_AUTH_WPA2_WPA3_PSK:
|
||||
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA2_WPA3_PSK");
|
||||
break;
|
||||
case WIFI_AUTH_WPA3_ENTERPRISE:
|
||||
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA3_ENTERPRISE");
|
||||
break;
|
||||
case WIFI_AUTH_WPA2_WPA3_ENTERPRISE:
|
||||
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA2_WPA3_ENTERPRISE");
|
||||
break;
|
||||
case WIFI_AUTH_WPA3_ENT_192:
|
||||
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA3_ENT_192");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user