Skip to content

Commit 5259f9b

Browse files
committed
drivers: wifi: siwx91x: Adding Three SSL bitmap
To support the SiWx917 Three SSL Sockets, Need to enable the Three SSL bitmap in the intilization Signed-off-by: Rahul Gurram <rahul.gurram@silabs.com>
1 parent 68b0181 commit 5259f9b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

drivers/wifi/siwx91x/Kconfig.siwx91x

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,13 @@ config WIFI_SILABS_SIWX91X_ENABLE_SINGLE_TLS_SOCKET
150150
implementation over the network provided by the Network
151151
Co-Processor present on SiWx91x series.
152152

153+
config WIFI_SILABS_SIWX91X_ENABLE_THREE_SSL_SOCKETS
154+
bool "Offloaded implementation of 3 SSL/TLS sockets"
155+
help
156+
Enable this option to support up to three SSL socket implementations
157+
over the network, utilizing the Network Co-Processor available in
158+
the SiWx91x series.
159+
153160
config WIFI_SILABS_SIWX91X_ENABLE_ROAMING
154161
bool "WiFi roaming support"
155162
default y

soc/silabs/silabs_siwx91x/siwg917/nwp.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ static void siwx91x_configure_network_stack(sl_si91x_boot_configuration_t *boot_
151151
if (IS_ENABLED(CONFIG_WIFI_SILABS_SIWX91X_MQTT_CLIENT)) {
152152
boot_config->ext_tcp_ip_feature_bit_map |= SL_SI91X_EXT_EMB_MQTT_ENABLE;
153153
}
154+
if (IS_ENABLED(CONFIG_WIFI_SILABS_SIWX91X_ENABLE_THREE_SSL_SOCKETS)) {
155+
boot_config->ext_tcp_ip_feature_bit_map |=
156+
SL_SI91X_EXT_TCP_IP_FEAT_SSL_THREE_SOCKETS;
157+
}
154158
boot_config->ext_tcp_ip_feature_bit_map |= SL_SI91X_EXT_TCP_IP_WINDOW_SCALING;
155159
boot_config->ext_tcp_ip_feature_bit_map |= SL_SI91X_EXT_TCP_IP_TOTAL_SELECTS(10);
156160

0 commit comments

Comments
 (0)