Skip to content

Commit c89a966

Browse files
committed
drivers: wifi: siwx91x: Muliple TLS version
To support the SiWx917 Multiple TLS version, Need to enable the SSL version bitmap in the intilization Signed-off-by: Rahul Gurram <rahul.gurram@silabs.com>
1 parent c6f51cb commit c89a966

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
@@ -164,6 +164,14 @@ config WIFI_SILABS_SIWX91X_SSL_HIGH_STREAMING
164164
This implementation is provided by the Network Co-Processor present
165165
on SiWx91x series.
166166

167+
config WIFI_SILABS_SIWX91X_SSL_VERSIONS_SUPPORT
168+
bool "Offloaded implementation of SSL/TLS multiple versions support"
169+
help
170+
Enable this option to allow the device to support multiple versions
171+
of SSL/TLS over TCP, providing flexibility in handling different
172+
SSL/TLS versions.This implementation is provided by the Network
173+
Co-Processor present on SiWx91x series.
174+
167175
config WIFI_SILABS_SIWX91X_ENABLE_ROAMING
168176
bool "WiFi roaming support"
169177
default y

soc/silabs/silabs_siwx91x/siwg917/nwp.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ static void siwx91x_configure_network_stack(sl_si91x_boot_configuration_t *boot_
158158
boot_config->ext_tcp_ip_feature_bit_map |=
159159
SL_SI91X_EXT_TCP_IP_FEAT_SSL_THREE_SOCKETS;
160160
}
161+
if (IS_ENABLED(CONFIG_WIFI_SILABS_SIWX91X_SSL_VERSIONS_SUPPORT)) {
162+
boot_config->ext_custom_feature_bit_map |=
163+
SL_SI91X_EXT_FEAT_SSL_VERSIONS_SUPPORT;
164+
}
161165
boot_config->ext_tcp_ip_feature_bit_map |= SL_SI91X_EXT_TCP_IP_WINDOW_SCALING;
162166
boot_config->ext_tcp_ip_feature_bit_map |= SL_SI91X_EXT_TCP_IP_TOTAL_SELECTS(10);
163167

0 commit comments

Comments
 (0)