mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
Merge branch 'bugfix/wpa2_suiteb_192bit_reason_code' into 'master'
fix(wifi): Add enterprise check for Suite-B 192-bit certification Closes WIFIBUG-1070 See merge request espressif/esp-idf!37498
This commit is contained in:
@ -1529,7 +1529,7 @@ esp_err_t esp_wifi_force_wakeup_release(void);
|
||||
/**
|
||||
* @brief configure country
|
||||
*
|
||||
* @attention 1. When ieee80211d_enabled, the country info of the AP to which
|
||||
* @attention 1. When ieee80211d_enabled is enabled, the country info of the AP to which
|
||||
* the station is connected is used. E.g. if the configured country is US
|
||||
* and the country info of the AP to which the station is connected is JP
|
||||
* then the country info that will be used is JP. If the station disconnected
|
||||
|
Submodule components/esp_wifi/lib updated: 643e8bfd44...598507db92
@ -2386,7 +2386,7 @@ int wpa_set_bss(char *macddr, char * bssid, u8 pairwise_cipher, u8 group_cipher,
|
||||
}
|
||||
#ifdef CONFIG_SUITEB192
|
||||
extern bool g_wpa_suiteb_certification;
|
||||
if (g_wpa_suiteb_certification) {
|
||||
if (is_wpa2_enterprise_connection() && g_wpa_suiteb_certification) {
|
||||
if (sm->mgmt_group_cipher != WPA_CIPHER_BIP_GMAC_256) {
|
||||
wpa_printf(MSG_ERROR, "suite-b 192bit certification, only GMAC256 is supported");
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user