Merge branch 'bugfix/enable_ipv6_if_nan' into 'master'

bugfix(wifi): Enable IPv6 support via LWIP_IPV6 when WiFi Aware(NAN) is enabled

Closes WIFIBUG-1215

See merge request espressif/esp-idf!39385
This commit is contained in:
Nachiket Kukade
2025-06-03 12:07:42 +08:00
3 changed files with 6 additions and 2 deletions

View File

@ -574,6 +574,7 @@ menu "Wi-Fi"
bool "WiFi Aware" bool "WiFi Aware"
default n default n
depends on SOC_WIFI_NAN_SUPPORT depends on SOC_WIFI_NAN_SUPPORT
select LWIP_IPV6
help help
Enable WiFi Aware (NAN) feature. Enable WiFi Aware (NAN) feature.

View File

@ -23,8 +23,8 @@ SAVE_BIN_SIZE_TH = {
}, },
'disable_nan': { 'disable_nan': {
'esp32': 29600, 'esp32': 29600,
'esp32c5': 32400, 'esp32c5': 32000,
'esp32c61': 32400, 'esp32c61': 32000,
'esp32s2': 28000, 'esp32s2': 28000,
# other chips does not support nan # other chips does not support nan
'default': 0, 'default': 0,

View File

@ -31,6 +31,9 @@
#else #else
#define EXAMPLE_NAN_SVC_MSG "Hello" #define EXAMPLE_NAN_SVC_MSG "Hello"
#endif #endif
#ifndef ETH_ALEN
#define ETH_ALEN 6
#endif
static const char *TAG = "subscriber"; static const char *TAG = "subscriber";