File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
modules/hal_silabs/wiseconnect
soc/silabs/silabs_siwx91x/siwg917 Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,15 @@ config WIFI_SILABS_SIWX91X_MQTT_CLIENT
98
98
than the Zephyr one. See also sl_mqtt_client.h in Silabs HAL for more
99
99
information about the API.
100
100
101
+ config WIFI_SILABS_SIWX91X_PING
102
+ bool "Offloaded implementation of ICMP client"
103
+ help
104
+ Enable this option to allow to use the MQTT(Internet Control Message
105
+ Protocol) implementation provided by the Network Co-Processor present
106
+ on SiWx91x series. This implementation usually require less resources
107
+ than the Zephyr one. See also sl_net_ping.h in Silabs HAL for more
108
+ information about the API.
109
+
101
110
config WIFI_SILABS_SIWX91X_ENABLE_ROAMING
102
111
bool "WiFi roaming support"
103
112
default y
Original file line number Diff line number Diff line change @@ -143,6 +143,12 @@ if(CONFIG_WIFI_SILABS_SIWX91X_NET_STACK_OFFLOAD)
143
143
zephyr_library_sources_ifdef (CONFIG_WIFI_SILABS_SIWX91X_MQTT_CLIENT
144
144
${WISECONNECT_DIR} /components/service/mqtt/si91x/sl_mqtt_client.c
145
145
)
146
+ zephyr_include_directories_ifdef (CONFIG_WIFI_SILABS_SIWX91X_PING
147
+ ${WISECONNECT_DIR} /components/device/silabs/si91x/wireless/icmp
148
+ )
149
+ zephyr_library_sources_ifdef (CONFIG_WIFI_SILABS_SIWX91X_PING
150
+ ${WISECONNECT_DIR} /components/device/silabs/si91x/wireless/icmp/sl_net_ping.c
151
+ )
146
152
endif () # CONFIG_WIFI_SILABS_SIWX91X_NET_STACK_OFFLOAD
147
153
if (CONFIG_BT_SILABS_SIWX91X )
148
154
zephyr_compile_definitions (
Original file line number Diff line number Diff line change @@ -133,6 +133,9 @@ static void siwx91x_configure_network_stack(sl_si91x_boot_configuration_t *boot_
133
133
if (IS_ENABLED (CONFIG_WIFI_SILABS_SIWX91X_HTTP_CLIENT )) {
134
134
boot_config -> tcp_ip_feature_bit_map |= SL_SI91X_TCP_IP_FEAT_HTTP_CLIENT ;
135
135
}
136
+ if (IS_ENABLED (CONFIG_WIFI_SILABS_SIWX91X_PING )) {
137
+ boot_config -> tcp_ip_feature_bit_map |= SL_SI91X_TCP_IP_FEAT_ICMP ;
138
+ }
136
139
if (IS_ENABLED (CONFIG_WIFI_SILABS_SIWX91X_MQTT_CLIENT )) {
137
140
boot_config -> ext_tcp_ip_feature_bit_map |= SL_SI91X_EXT_EMB_MQTT_ENABLE ;
138
141
}
You can’t perform that action at this time.
0 commit comments