Skip to content

Commit 5036509

Browse files
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
2 parents 50ef594 + ad164f5 commit 5036509

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

components/esp_wifi/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,7 @@ menu "Wi-Fi"
574574
bool "WiFi Aware"
575575
default n
576576
depends on SOC_WIFI_NAN_SUPPORT
577+
select LWIP_IPV6
577578
help
578579
Enable WiFi Aware (NAN) feature.
579580

components/esp_wifi/test_apps/bin_size_apsta/pytest_bin_size_apsta.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
},
2424
'disable_nan': {
2525
'esp32': 29600,
26-
'esp32c5': 32400,
27-
'esp32c61': 32400,
26+
'esp32c5': 32000,
27+
'esp32c61': 32000,
2828
'esp32s2': 28000,
2929
# other chips does not support nan
3030
'default': 0,

examples/wifi/wifi_aware/nan_subscriber/main/subscriber_main.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
#else
3232
#define EXAMPLE_NAN_SVC_MSG "Hello"
3333
#endif
34+
#ifndef ETH_ALEN
35+
#define ETH_ALEN 6
36+
#endif
3437

3538
static const char *TAG = "subscriber";
3639

0 commit comments

Comments
 (0)