File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
soc/silabs/silabs_siwx91x/siwg917 Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,23 @@ config WIFI_SILABS_SIWX91X_SOCKET_SELECT_COUNT
205
205
device can handle, with a maximum value of 10. This implementation
206
206
is provided by the Network Co-Processor present on SiWx91x series.
207
207
208
+ config WIFI_SILABS_SIWX91X_SOCKETS
209
+ bool "Offloaded implementation to configure sockets"
210
+ help
211
+ Enable this option to configure the number of sockets in SiWx91x.
212
+ over the network .This implementation is provided by the Network
213
+ Co-Processor present on SiWx91x series.
214
+
215
+ config WIFI_SILABS_SIWX91X_TOTAL_SOCKETS
216
+ int "Offloaded implementation for maximum number of sockets"
217
+ default 10
218
+ range 1 10
219
+ depends on WIFI_SILABS_SIWX91X_SOCKETS
220
+ help
221
+ Configure this option for total number of sockets to use. A maximum
222
+ of 10 sockets are allowed to use. This implementation is provided
223
+ by the Network Co-Processor present on SiWx91x series.
224
+
208
225
config WIFI_SILABS_SIWX91X_ENABLE_ROAMING
209
226
bool "WiFi roaming support"
210
227
default y
Original file line number Diff line number Diff line change @@ -151,6 +151,10 @@ static void siwx91x_configure_network_stack(sl_si91x_boot_configuration_t *boot_
151
151
if (IS_ENABLED (CONFIG_WIFI_SILABS_SIWX91X_ENABLE_SINGLE_TLS_SOCKET )) {
152
152
boot_config -> tcp_ip_feature_bit_map |= SL_SI91X_TCP_IP_FEAT_SINGLE_SSL_SOCKET ;
153
153
}
154
+ #ifdef CONFIG_WIFI_SILABS_SIWX91X_SOCKETS
155
+ boot_config -> tcp_ip_feature_bit_map |=
156
+ SL_SI91X_TCP_IP_TOTAL_SOCKETS (CONFIG_WIFI_SILABS_SIWX91X_TOTAL_SOCKETS );
157
+ #endif
154
158
if (IS_ENABLED (CONFIG_WIFI_SILABS_SIWX91X_MQTT_CLIENT )) {
155
159
boot_config -> ext_tcp_ip_feature_bit_map |= SL_SI91X_EXT_EMB_MQTT_ENABLE ;
156
160
}
You can’t perform that action at this time.
0 commit comments