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 @@ -116,6 +116,15 @@ config WIFI_SILABS_SIWX91X_WEBSOCKET_CLIENT
116
116
See also sl_websocket_client.h in Silabs HAL for more information
117
117
about the API.
118
118
119
+ config WIFI_SILABS_SIWX91X_MDNS_RESPONDER
120
+ bool "Offloaded implementation of MDNS responder"
121
+ help
122
+ Enable this option to allow to use the MDNS(Multicast Domain Name
123
+ System) implementation provided by the Network Co-Processor present
124
+ on SiWx91x series. This implementation usually require less resources
125
+ than the Zephyr one. See also sl_mdns.h in Silabs HAL for more
126
+ information about the API.
127
+
119
128
config WIFI_SILABS_SIWX91X_ENABLE_ROAMING
120
129
bool "WiFi roaming support"
121
130
default y
Original file line number Diff line number Diff line change @@ -155,6 +155,12 @@ if(CONFIG_WIFI_SILABS_SIWX91X_NET_STACK_OFFLOAD)
155
155
zephyr_library_sources_ifdef (CONFIG_WIFI_SILABS_SIWX91X_WEBSOCKET_CLIENT
156
156
${WISECONNECT_DIR} /components/service/sl_websocket_client/src/sl_websocket_client.c
157
157
)
158
+ zephyr_include_directories_ifdef (CONFIG_WIFI_SILABS_SIWX91X_MDNS_RESPONDER
159
+ ${WISECONNECT_DIR} /components/service/mdns/inc
160
+ )
161
+ zephyr_library_sources_ifdef (CONFIG_WIFI_SILABS_SIWX91X_MDNS_RESPONDER
162
+ ${WISECONNECT_DIR} /components/service/mdns/si91x/sl_mdns.c
163
+ )
158
164
endif () # CONFIG_WIFI_SILABS_SIWX91X_NET_STACK_OFFLOAD
159
165
if (CONFIG_BT_SILABS_SIWX91X )
160
166
zephyr_compile_definitions (
Original file line number Diff line number Diff line change @@ -136,6 +136,9 @@ static void siwx91x_configure_network_stack(sl_si91x_boot_configuration_t *boot_
136
136
if (IS_ENABLED (CONFIG_WIFI_SILABS_SIWX91X_PING )) {
137
137
boot_config -> tcp_ip_feature_bit_map |= SL_SI91X_TCP_IP_FEAT_ICMP ;
138
138
}
139
+ if (IS_ENABLED (CONFIG_WIFI_SILABS_SIWX91X_MDNS_RESPONDER )) {
140
+ boot_config -> tcp_ip_feature_bit_map |= SL_SI91X_TCP_IP_FEAT_MDNSD ;
141
+ }
139
142
if (IS_ENABLED (CONFIG_WIFI_SILABS_SIWX91X_MQTT_CLIENT )) {
140
143
boot_config -> ext_tcp_ip_feature_bit_map |= SL_SI91X_EXT_EMB_MQTT_ENABLE ;
141
144
}
You can’t perform that action at this time.
0 commit comments