fix(wifi): fix spiram ignore issue

This commit is contained in:
wangtao@espressif.com
2024-10-29 14:54:00 +08:00
parent 17264b1b74
commit 59e0ed5a6c

View File

@@ -220,10 +220,10 @@ extern const wpa_crypto_funcs_t g_wifi_default_wpa_crypto_funcs;
#define WIFI_ENABLE_WPA3_SAE 0 #define WIFI_ENABLE_WPA3_SAE 0
#endif #endif
#if CONFIG_SPIRAM #if WIFI_CACHE_TX_BUFFER_NUM > 0
#define WIFI_ENABLE_SPIRAM (1<<1) #define WIFI_ENABLE_CACHE_TX_BUFFER (1<<1)
#else #else
#define WIFI_ENABLE_SPIRAM 0 #define WIFI_ENABLE_CACHE_TX_BUFFER 0
#endif #endif
#if CONFIG_ESP_WIFI_FTM_INITIATOR_SUPPORT #if CONFIG_ESP_WIFI_FTM_INITIATOR_SUPPORT
@@ -273,7 +273,7 @@ extern const wpa_crypto_funcs_t g_wifi_default_wpa_crypto_funcs;
/* 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 | \
WIFI_ENABLE_SPIRAM | \ WIFI_ENABLE_CACHE_TX_BUFFER | \
WIFI_FTM_INITIATOR | \ WIFI_FTM_INITIATOR | \
WIFI_FTM_RESPONDER | \ WIFI_FTM_RESPONDER | \
WIFI_ENABLE_GCMP | \ WIFI_ENABLE_GCMP | \