From 0ce1c19ba62414f6c6d00aa690c56fdae7eb297b Mon Sep 17 00:00:00 2001 From: Triveni Danda Date: Wed, 22 Jan 2025 16:25:44 +0530 Subject: [PATCH 1/3] samples: wifi: softap: Split nRF54H20 and nRF54L15 target entries Separate the target entries for nRF54H20 and nRF54L15 to maintain distinct extra arguments. Signed-off-by: Triveni Danda --- samples/wifi/softap/sample.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/samples/wifi/softap/sample.yaml b/samples/wifi/softap/sample.yaml index e2e73c3850f8..253464d82c11 100644 --- a/samples/wifi/softap/sample.yaml +++ b/samples/wifi/softap/sample.yaml @@ -44,7 +44,7 @@ tests: - ci_build - sysbuild - ci_samples_wifi - sample.nrf7002eb_interposer_p1.nrf7002eb.softap: + sample.nrf54h20.softap: sysbuild: true build_only: true extra_args: @@ -52,9 +52,21 @@ tests: - softap_SNIPPET=nrf70-wifi integration_platforms: - nrf54h20dk/nrf54h20/cpuapp - - nrf54l15dk/nrf54l15/cpuapp platform_allow: - nrf54h20dk/nrf54h20/cpuapp + tags: + - ci_build + - sysbuild + - ci_samples_wifi + sample.nrf54l15.softap: + sysbuild: true + build_only: true + extra_args: + - softap_SHIELD="nrf7002eb_interposer_p1;nrf7002eb" + - softap_SNIPPET=nrf70-wifi + integration_platforms: + - nrf54l15dk/nrf54l15/cpuapp + platform_allow: - nrf54l15dk/nrf54l15/cpuapp tags: - ci_build From dc1085c081dcc3e86fb80ab2207fbe2b2920743a Mon Sep 17 00:00:00 2001 From: Triveni Danda Date: Wed, 22 Jan 2025 16:44:55 +0530 Subject: [PATCH 2/3] samples: wifi: softap: Add extra Kconfig to adjust heap size for nRF54H20 Add extra Kconfig argument to set heap size for the nRF54H20 target. Signed-off-by: Triveni Danda --- samples/wifi/softap/sample.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/wifi/softap/sample.yaml b/samples/wifi/softap/sample.yaml index 253464d82c11..312ddbb28545 100644 --- a/samples/wifi/softap/sample.yaml +++ b/samples/wifi/softap/sample.yaml @@ -50,6 +50,7 @@ tests: extra_args: - softap_SHIELD="nrf7002eb_interposer_p1;nrf7002eb" - softap_SNIPPET=nrf70-wifi + - CONFIG_HEAP_MEM_POOL_SIZE=183600 integration_platforms: - nrf54h20dk/nrf54h20/cpuapp platform_allow: From 3dae141cfa9dfef53aee3871061c498276636389 Mon Sep 17 00:00:00 2001 From: Triveni Danda Date: Fri, 24 Jan 2025 14:17:14 +0530 Subject: [PATCH 3/3] samples: wifi: softap: Fix connection issue in security mode Resolve the WPA2 connection failure caused by insufficient heap memory for cryptographic operations. Signed-off-by: Triveni Danda --- samples/wifi/softap/prj.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/wifi/softap/prj.conf b/samples/wifi/softap/prj.conf index b0020910f617..4d0adc8184ac 100644 --- a/samples/wifi/softap/prj.conf +++ b/samples/wifi/softap/prj.conf @@ -52,6 +52,7 @@ CONFIG_MAIN_STACK_SIZE=5200 CONFIG_NET_TX_STACK_SIZE=4096 CONFIG_NET_RX_STACK_SIZE=4096 CONFIG_SOFTAP_SAMPLE_START_WIFI_THREAD_STACK_SIZE=5200 +CONFIG_MBEDTLS_HEAP_SIZE=1024 # Debugging CONFIG_STACK_SENTINEL=y