mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-27 13:03:51 +00:00
wpa_supplicant : Fix scan results for GCMP and GCMP-256 cipher.
Add support for recognising GCMP and GCMP-256 ciphers if used by AP. Update the scan example to show the correct cipher.
This commit is contained in:
@@ -110,6 +110,12 @@ wifi_cipher_type_t cipher_type_map_supp_to_public(unsigned wpa_cipher)
|
||||
case WPA_CIPHER_SMS4:
|
||||
return WIFI_CIPHER_TYPE_SMS4;
|
||||
|
||||
case WPA_CIPHER_GCMP:
|
||||
return WIFI_CIPHER_TYPE_GCMP;
|
||||
|
||||
case WPA_CIPHER_GCMP_256:
|
||||
return WIFI_CIPHER_TYPE_GCMP256;
|
||||
|
||||
default:
|
||||
return WIFI_CIPHER_TYPE_UNKNOWN;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user