mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix(wifi): fix check wifi remote api fail issue
This commit is contained in:
@@ -860,6 +860,13 @@ config WIFI_RMT_MODEM_RF_FLAG_UPDATE_DEBUG
|
||||
This option enables assert checks to verify that modem RF power state
|
||||
is correctly cleared before pmu sleep.
|
||||
|
||||
config WIFI_RMT_PASSIVE_HIDDEN_AP_SUPPORT
|
||||
bool "Support station connection to hidden APs using passive scan when country policy is auto"
|
||||
default n
|
||||
help
|
||||
Select this option to enable/disable support for station connections
|
||||
to hidden APs using passive scan when the country policy is set to auto.
|
||||
|
||||
if !ESP_WIFI_ENABLED
|
||||
rsource "Kconfig.wifi_is_remote.in"
|
||||
endif # ESP_WIFI_ENABLED
|
||||
|
||||
@@ -480,3 +480,9 @@ if WIFI_RMT_MODEM_RF_FLAG_UPDATE_DEBUG
|
||||
depends on WIFI_RMT_ENHANCED_LIGHT_SLEEP
|
||||
default WIFI_RMT_MODEM_RF_FLAG_UPDATE_DEBUG
|
||||
endif
|
||||
|
||||
if WIFI_RMT_PASSIVE_HIDDEN_AP_SUPPORT
|
||||
config ESP_WIFI_PASSIVE_HIDDEN_AP_SUPPORT # ignore: multiple-definition
|
||||
bool
|
||||
default WIFI_RMT_PASSIVE_HIDDEN_AP_SUPPORT
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -284,6 +284,12 @@ extern wifi_osi_funcs_t g_wifi_osi_funcs;
|
||||
#define WIFI_ENABLE_BSS_MAX_IDLE 0
|
||||
#endif
|
||||
|
||||
#if CONFIG_WIFI_RMT_PASSIVE_HIDDEN_AP_SUPPORT
|
||||
#define WIFI_ENABLE_PASSIVE_HIDDEN_AP (1<<9)
|
||||
#else
|
||||
#define WIFI_ENABLE_PASSIVE_HIDDEN_AP 0
|
||||
#endif
|
||||
|
||||
#define CONFIG_FEATURE_WPA3_SAE_BIT (1<<0)
|
||||
#define CONFIG_FEATURE_CACHE_TX_BUF_BIT (1<<1)
|
||||
#define CONFIG_FEATURE_FTM_INITIATOR_BIT (1<<2)
|
||||
@@ -293,6 +299,7 @@ extern wifi_osi_funcs_t g_wifi_osi_funcs;
|
||||
#define CONFIG_FEATURE_11R_BIT (1<<6)
|
||||
#define CONFIG_FEATURE_WIFI_ENT_BIT (1<<7)
|
||||
#define CONFIG_FEATURE_BSS_MAX_IDLE_BIT (1<<8)
|
||||
#define CONFIG_FEATURE_WIFI_PASSIVE_HIDDEN_AP_BIT (1<<9)
|
||||
|
||||
/* Set additional WiFi features and capabilities */
|
||||
#define WIFI_FEATURE_CAPS (WIFI_ENABLE_WPA3_SAE | \
|
||||
@@ -303,7 +310,8 @@ extern wifi_osi_funcs_t g_wifi_osi_funcs;
|
||||
WIFI_ENABLE_GMAC | \
|
||||
WIFI_ENABLE_11R | \
|
||||
WIFI_ENABLE_ENTERPRISE | \
|
||||
WIFI_ENABLE_BSS_MAX_IDLE)
|
||||
WIFI_ENABLE_BSS_MAX_IDLE | \
|
||||
WIFI_ENABLE_PASSIVE_HIDDEN_AP)
|
||||
|
||||
#define WIFI_INIT_CONFIG_DEFAULT() { \
|
||||
.osi_funcs = &g_wifi_osi_funcs, \
|
||||
|
||||
Reference in New Issue
Block a user