File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
modules/hal_silabs/wiseconnect
soc/silabs/silabs_siwx91x/siwg917 Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,15 @@ config WIFI_SILABS_SIWX91X_MDNS_RESPONDER
125
125
than the Zephyr one. See also sl_mdns.h in Silabs HAL for more
126
126
information about the API.
127
127
128
+ config WIFI_SILABS_SIWX91X_DNS_CLIENT
129
+ bool "Offloaded implementation of DNS client"
130
+ help
131
+ Enable this option to allow to use the DNS(Domain Name System)
132
+ implementation provided by the Network Co-Processor present on
133
+ SiWx91x series. This implementation usually require less
134
+ resources than the Zephyr one. See also sl_net_dns.h in Silabs
135
+ HAL for more information about the API.
136
+
128
137
config WIFI_SILABS_SIWX91X_ENABLE_ROAMING
129
138
bool "WiFi roaming support"
130
139
default y
Original file line number Diff line number Diff line change @@ -161,6 +161,9 @@ if(CONFIG_WIFI_SILABS_SIWX91X_NET_STACK_OFFLOAD)
161
161
zephyr_library_sources_ifdef (CONFIG_WIFI_SILABS_SIWX91X_MDNS_RESPONDER
162
162
${WISECONNECT_DIR} /components/service/mdns/si91x/sl_mdns.c
163
163
)
164
+ zephyr_library_sources_ifdef (CONFIG_WIFI_SILABS_SIWX91X_DNS_CLIENT
165
+ ${WISECONNECT_DIR} /components/device/silabs/si91x/wireless/sl_net/src/sl_net_si91x.c
166
+ )
164
167
endif () # CONFIG_WIFI_SILABS_SIWX91X_NET_STACK_OFFLOAD
165
168
if (CONFIG_BT_SILABS_SIWX91X )
166
169
zephyr_compile_definitions (
Original file line number Diff line number Diff line change @@ -139,6 +139,9 @@ static void siwx91x_configure_network_stack(sl_si91x_boot_configuration_t *boot_
139
139
if (IS_ENABLED (CONFIG_WIFI_SILABS_SIWX91X_MDNS_RESPONDER )) {
140
140
boot_config -> tcp_ip_feature_bit_map |= SL_SI91X_TCP_IP_FEAT_MDNSD ;
141
141
}
142
+ if (IS_ENABLED (CONFIG_WIFI_SILABS_SIWX91X_DNS_CLIENT )) {
143
+ boot_config -> tcp_ip_feature_bit_map |= SL_SI91X_TCP_IP_FEAT_DNS_CLIENT ;
144
+ }
142
145
if (IS_ENABLED (CONFIG_WIFI_SILABS_SIWX91X_MQTT_CLIENT )) {
143
146
boot_config -> ext_tcp_ip_feature_bit_map |= SL_SI91X_EXT_EMB_MQTT_ENABLE ;
144
147
}
You can’t perform that action at this time.
0 commit comments