Skip to content

Commit 86c3416

Browse files
committed
drivers: wifi: siwx91x: SSL 16k record
Added support for 16K SSL record sizes, which improves performance for SSL connections that use larger record sizes Signed-off-by: Rahul Gurram <rahul.gurram@silabs.com>
1 parent 038dcc4 commit 86c3416

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

drivers/wifi/siwx91x/Kconfig.siwx91x

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,14 @@ config WIFI_SILABS_SIWX91X_SSL_VERSIONS_SUPPORT
172172
SSL/TLS versions.This implementation is provided by the Network
173173
Co-Processor present on SiWx91x series.
174174

175+
config WIFI_SILABS_SIWX91X_ENABLE_SSL_16K_RECORD
176+
bool "Offloaded implementation to support SSL 16K record"
177+
help
178+
Enable this option to support for 16K SSL record sizes, which improves
179+
performance for SSL connections that use larger record sizes. This
180+
implementation is provided by the Network Co-Processor present on
181+
SiWx91x series.
182+
175183
config WIFI_SILABS_SIWX91X_ENABLE_ROAMING
176184
bool "WiFi roaming support"
177185
default y

soc/silabs/silabs_siwx91x/siwg917/nwp.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ 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_ENABLE_SSL_16K_RECORD)) {
162+
boot_config->ext_tcp_ip_feature_bit_map |= SL_SI91X_EXT_TCP_IP_SSL_16K_RECORD;
163+
}
161164
if (IS_ENABLED(CONFIG_WIFI_SILABS_SIWX91X_SSL_VERSIONS_SUPPORT)) {
162165
boot_config->ext_custom_feature_bit_map |=
163166
SL_SI91X_EXT_FEAT_SSL_VERSIONS_SUPPORT;

0 commit comments

Comments
 (0)