From 696d65c7b452304e805ad49cbd36d4568ee409f0 Mon Sep 17 00:00:00 2001 From: akshat Date: Fri, 23 May 2025 11:51:46 +0530 Subject: [PATCH 1/3] bugfix(wifi): Enable IPv6 support via LWIP_IPV6 when WiFi Aware(NAN) is enabled --- components/esp_wifi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/components/esp_wifi/Kconfig b/components/esp_wifi/Kconfig index 96ab678d40..9becd30ba2 100644 --- a/components/esp_wifi/Kconfig +++ b/components/esp_wifi/Kconfig @@ -574,6 +574,7 @@ menu "Wi-Fi" bool "WiFi Aware" default n depends on SOC_WIFI_NAN_SUPPORT + select LWIP_IPV6 help Enable WiFi Aware (NAN) feature. From 74ffc556cb8310613e8da4b7ef57eb6ea01f95de Mon Sep 17 00:00:00 2001 From: akshat Date: Wed, 28 May 2025 15:20:28 +0530 Subject: [PATCH 2/3] bugfix(wifi): Define ETH_ALEN for IPV6 Communication Type --- .../test_apps/bin_size_apsta/pytest_bin_size_apsta.py | 4 ++-- .../wifi/wifi_aware/nan_subscriber/main/subscriber_main.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/components/esp_wifi/test_apps/bin_size_apsta/pytest_bin_size_apsta.py b/components/esp_wifi/test_apps/bin_size_apsta/pytest_bin_size_apsta.py index 56b556ebdd..a014517091 100644 --- a/components/esp_wifi/test_apps/bin_size_apsta/pytest_bin_size_apsta.py +++ b/components/esp_wifi/test_apps/bin_size_apsta/pytest_bin_size_apsta.py @@ -23,8 +23,8 @@ SAVE_BIN_SIZE_TH = { }, 'disable_nan': { 'esp32': 29600, - 'esp32c5': 32400, - 'esp32c61': 32400, + 'esp32c5': 32000, + 'esp32c61': 32000, 'esp32s2': 28000, # other chips does not support nan 'default': 0, diff --git a/examples/wifi/wifi_aware/nan_subscriber/main/subscriber_main.c b/examples/wifi/wifi_aware/nan_subscriber/main/subscriber_main.c index e7038c7f71..845042802b 100644 --- a/examples/wifi/wifi_aware/nan_subscriber/main/subscriber_main.c +++ b/examples/wifi/wifi_aware/nan_subscriber/main/subscriber_main.c @@ -31,6 +31,9 @@ #else #define EXAMPLE_NAN_SVC_MSG "Hello" #endif +#ifndef ETH_ALEN +#define ETH_ALEN 6 +#endif static const char *TAG = "subscriber"; From 48336d423b6f6c788b4b40874dcdd923c7dc8361 Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 23 Jul 2025 19:53:54 +0800 Subject: [PATCH 3/3] mqtt/ssl_ds: use larger partition table in the example --- examples/protocols/mqtt/ssl_ds/sdkconfig.defaults | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/protocols/mqtt/ssl_ds/sdkconfig.defaults b/examples/protocols/mqtt/ssl_ds/sdkconfig.defaults index 94e282f1d6..48a8a9ebde 100644 --- a/examples/protocols/mqtt/ssl_ds/sdkconfig.defaults +++ b/examples/protocols/mqtt/ssl_ds/sdkconfig.defaults @@ -5,3 +5,4 @@ CONFIG_PARTITION_TABLE_CUSTOM=y # uses this offset for `esp_secure_cert` and hence this change aligns this example # to work on those modules. CONFIG_PARTITION_TABLE_OFFSET=0xC000 +CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y