From 01323269ce9a51ef2c1ecd4306fb7372bcea4aea Mon Sep 17 00:00:00 2001 From: Sharad Patil Date: Tue, 25 Apr 2023 13:41:45 +0530 Subject: [PATCH 1/3] [Silabs] : SiWX917- Reduce the task stack and buffer size to reduce the RAM consumption --- examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h b/examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h index 09a44344bafb45..35e89f4b606792 100644 --- a/examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h +++ b/examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h @@ -21,9 +21,9 @@ * Interface to RSI Sapis */ -#define WFX_RSI_WLAN_TASK_SZ (1024 + 512 + 256 + 1024 + 512) /* Unknown how big this should be */ -#define WFX_RSI_TASK_SZ (1024 + 1024 + 1024) /* Stack for the WFX/RSI task */ -#define WFX_RSI_BUF_SZ (1024 * 15) /* May need tweak */ +#define WFX_RSI_WLAN_TASK_SZ (1024 + 512 + 256) /* Unknown how big this should be */ +#define WFX_RSI_TASK_SZ (1024 + 1024) /* Stack for the WFX/RSI task */ +#define WFX_RSI_BUF_SZ (1024 * 10) /* May need tweak */ #define WFX_RSI_CONFIG_MAX_JOIN (5) /* Max join retries */ /* From 7b977d105f697772c621eb5231c5140ab7c20317 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Tue, 25 Apr 2023 08:39:40 +0000 Subject: [PATCH 2/3] Restyled by clang-format --- examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h b/examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h index 35e89f4b606792..f45de9e43e98fe 100644 --- a/examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h +++ b/examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h @@ -22,9 +22,9 @@ */ #define WFX_RSI_WLAN_TASK_SZ (1024 + 512 + 256) /* Unknown how big this should be */ -#define WFX_RSI_TASK_SZ (1024 + 1024) /* Stack for the WFX/RSI task */ -#define WFX_RSI_BUF_SZ (1024 * 10) /* May need tweak */ -#define WFX_RSI_CONFIG_MAX_JOIN (5) /* Max join retries */ +#define WFX_RSI_TASK_SZ (1024 + 1024) /* Stack for the WFX/RSI task */ +#define WFX_RSI_BUF_SZ (1024 * 10) /* May need tweak */ +#define WFX_RSI_CONFIG_MAX_JOIN (5) /* Max join retries */ /* * Various events fielded by the wfx_rsi task From 69ce555eec9dc7aecf63a69188ff43b20ea3af0c Mon Sep 17 00:00:00 2001 From: Sharad Patil Date: Wed, 26 Apr 2023 20:01:19 +0530 Subject: [PATCH 3/3] Review Comment addressed --- examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h b/examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h index f45de9e43e98fe..cb1279590926c7 100644 --- a/examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h +++ b/examples/platform/silabs/SiWx917/SiWx917/wfx_rsi.h @@ -21,7 +21,7 @@ * Interface to RSI Sapis */ -#define WFX_RSI_WLAN_TASK_SZ (1024 + 512 + 256) /* Unknown how big this should be */ +#define WFX_RSI_WLAN_TASK_SZ (1024 + 512 + 256) /* Stack for the WLAN task */ #define WFX_RSI_TASK_SZ (1024 + 1024) /* Stack for the WFX/RSI task */ #define WFX_RSI_BUF_SZ (1024 * 10) /* May need tweak */ #define WFX_RSI_CONFIG_MAX_JOIN (5) /* Max join retries */