Skip to content

Commit 3278e41

Browse files
committed
drivers: wifi: siwx91x: Adding SSL cloud memory
Added support to allocate additional memory for SSL/TLS connections, typically required for connections to cloud servers Signed-off-by: Rahul Gurram <rahul.gurram@silabs.com>
1 parent a4e0856 commit 3278e41

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

drivers/wifi/siwx91x/Kconfig.siwx91x

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,14 @@ config WIFI_SILABS_SIWX91X_ENABLE_SSL_16K_RECORD
180180
implementation is provided by the Network Co-Processor present on
181181
SiWx91x series.
182182

183+
config WIFI_SILABS_SIWX91X_SSL_MEMORY_CLOUD
184+
bool "Offloaded implementation for the SSL/TLS cloud connections"
185+
help
186+
Enable this option to allocate additional memory for SSL/TLS
187+
connections, typically required for connections to cloud servers,
188+
to avoid handshake failure.This implementation is provided by the
189+
Network Co-Processor present on SiWx91x series.
190+
183191
config WIFI_SILABS_SIWX91X_ENABLE_ROAMING
184192
bool "WiFi roaming support"
185193
default y

soc/silabs/silabs_siwx91x/siwg917/nwp.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ static void siwx91x_configure_network_stack(sl_si91x_boot_configuration_t *boot_
161161
if (IS_ENABLED(CONFIG_WIFI_SILABS_SIWX91X_ENABLE_SSL_16K_RECORD)) {
162162
boot_config->ext_tcp_ip_feature_bit_map |= SL_SI91X_EXT_TCP_IP_SSL_16K_RECORD;
163163
}
164+
if (IS_ENABLED(CONFIG_WIFI_SILABS_SIWX91X_SSL_MEMORY_CLOUD)) {
165+
boot_config->ext_tcp_ip_feature_bit_map |=
166+
SL_SI91X_EXT_TCP_IP_FEAT_SSL_MEMORY_CLOUD;
167+
}
164168
if (IS_ENABLED(CONFIG_WIFI_SILABS_SIWX91X_SSL_VERSIONS_SUPPORT)) {
165169
boot_config->ext_custom_feature_bit_map |=
166170
SL_SI91X_EXT_FEAT_SSL_VERSIONS_SUPPORT;

0 commit comments

Comments
 (0)