mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Merge branch 'bugfix/11r_disable_sdkconfig_v5.2' into 'release/v5.2'
fix(wifi): Ignore 11R, ENT AP when disabled in sdkconfig See merge request espressif/esp-idf!32222
This commit is contained in:
@ -250,12 +250,26 @@ extern const wpa_crypto_funcs_t g_wifi_default_wpa_crypto_funcs;
|
|||||||
#define WIFI_ENABLE_GMAC 0
|
#define WIFI_ENABLE_GMAC 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if CONFIG_ESP_WIFI_11R_SUPPORT
|
||||||
|
#define WIFI_ENABLE_11R (1<<6)
|
||||||
|
#else
|
||||||
|
#define WIFI_ENABLE_11R 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if CONFIG_ESP_WIFI_ENTERPRISE_SUPPORT
|
||||||
|
#define WIFI_ENABLE_ENTERPRISE (1<<7)
|
||||||
|
#else
|
||||||
|
#define WIFI_ENABLE_ENTERPRISE 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#define CONFIG_FEATURE_WPA3_SAE_BIT (1<<0)
|
#define CONFIG_FEATURE_WPA3_SAE_BIT (1<<0)
|
||||||
#define CONFIG_FEATURE_CACHE_TX_BUF_BIT (1<<1)
|
#define CONFIG_FEATURE_CACHE_TX_BUF_BIT (1<<1)
|
||||||
#define CONFIG_FEATURE_FTM_INITIATOR_BIT (1<<2)
|
#define CONFIG_FEATURE_FTM_INITIATOR_BIT (1<<2)
|
||||||
#define CONFIG_FEATURE_FTM_RESPONDER_BIT (1<<3)
|
#define CONFIG_FEATURE_FTM_RESPONDER_BIT (1<<3)
|
||||||
#define CONFIG_FEATURE_GCMP_BIT (1<<4)
|
#define CONFIG_FEATURE_GCMP_BIT (1<<4)
|
||||||
#define CONFIG_FEATURE_GMAC_BIT (1<<5)
|
#define CONFIG_FEATURE_GMAC_BIT (1<<5)
|
||||||
|
#define CONFIG_FEATURE_11R_BIT (1<<6)
|
||||||
|
#define CONFIG_FEATURE_WIFI_ENT_BIT (1<<7)
|
||||||
|
|
||||||
/* Set additional WiFi features and capabilities */
|
/* Set additional WiFi features and capabilities */
|
||||||
#define WIFI_FEATURE_CAPS (WIFI_ENABLE_WPA3_SAE | \
|
#define WIFI_FEATURE_CAPS (WIFI_ENABLE_WPA3_SAE | \
|
||||||
@ -263,7 +277,9 @@ extern const wpa_crypto_funcs_t g_wifi_default_wpa_crypto_funcs;
|
|||||||
WIFI_FTM_INITIATOR | \
|
WIFI_FTM_INITIATOR | \
|
||||||
WIFI_FTM_RESPONDER | \
|
WIFI_FTM_RESPONDER | \
|
||||||
WIFI_ENABLE_GCMP | \
|
WIFI_ENABLE_GCMP | \
|
||||||
WIFI_ENABLE_GMAC)
|
WIFI_ENABLE_GMAC | \
|
||||||
|
WIFI_ENABLE_11R | \
|
||||||
|
WIFI_ENABLE_ENTERPRISE)
|
||||||
|
|
||||||
#define WIFI_INIT_CONFIG_DEFAULT() { \
|
#define WIFI_INIT_CONFIG_DEFAULT() { \
|
||||||
.osi_funcs = &g_wifi_osi_funcs, \
|
.osi_funcs = &g_wifi_osi_funcs, \
|
||||||
|
Submodule components/esp_wifi/lib updated: 755ef0f286...4d3eea1727
Reference in New Issue
Block a user