mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 05:34:32 +02:00
Merge branch 'bugfix/wpa2_suiteb_192bit_reason_code_v5.3' into 'release/v5.3'
Sending disconnect event in connect fail and add enterprise check... See merge request espressif/esp-idf!40098
This commit is contained in:
@@ -1483,7 +1483,7 @@ esp_err_t esp_wifi_force_wakeup_release(void);
|
|||||||
/**
|
/**
|
||||||
* @brief configure country
|
* @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
|
* 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
|
* 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
|
* then the country info that will be used is JP. If the station disconnected
|
||||||
|
Submodule components/esp_wifi/lib updated: a4be6e36da...902e91a7e6
@@ -2363,7 +2363,7 @@ int wpa_set_bss(char *macddr, char * bssid, u8 pairwise_cipher, u8 group_cipher,
|
|||||||
}
|
}
|
||||||
#ifdef CONFIG_SUITEB192
|
#ifdef CONFIG_SUITEB192
|
||||||
extern bool g_wpa_suiteb_certification;
|
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) {
|
if (sm->mgmt_group_cipher != WPA_CIPHER_BIP_GMAC_256) {
|
||||||
wpa_printf(MSG_ERROR, "suite-b 192bit certification, only GMAC256 is supported");
|
wpa_printf(MSG_ERROR, "suite-b 192bit certification, only GMAC256 is supported");
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user