1# Copyright (c) 2024 Silicon Laboratories Inc. 2# SPDX-License-Identifier: Apache-2.0 3 4config WIFI_SILABS_SIWX91X 5 bool "Silabs SiWx91x SoC series WiFi driver" 6 default y 7 depends on DT_HAS_SILABS_SIWX91X_WIFI_ENABLED 8 depends on NETWORKING 9 select WISECONNECT_NETWORK_STACK 10 select EVENTS 11 select NET_L2_WIFI_MGMT 12 help 13 Enable WiFi driver for the Silabs SiWx91x SoC series. 14 15if WIFI_SILABS_SIWX91X 16 17choice 18 prompt "Network stack" 19 default WIFI_SILABS_SIWX91X_NET_STACK_NATIVE 20 help 21 Choose "Native" stack if you want a better compatibility with Zephyr 22 features. "Offloaded" stack may provide better resource (power and 23 memory) consumption. 24 25config WIFI_SILABS_SIWX91X_NET_STACK_NATIVE 26 bool "Native" 27 select WIFI_USE_NATIVE_NETWORKING 28 select NET_L2_ETHERNET 29 30config WIFI_SILABS_SIWX91X_NET_STACK_OFFLOAD 31 bool "Offloaded" 32 select WIFI_OFFLOAD 33 34endchoice 35 36config NET_TCP_WORKQ_STACK_SIZE 37 default 2048 38 39config NET_RX_STACK_SIZE 40 default 2048 41 42config NET_MGMT_EVENT_STACK_SIZE 43 default 2048 44 45config NET_MGMT_EVENT_QUEUE_SIZE 46 default 10 47 48# Override the WIFI_MGMT_SCAN_SSID_FILT_MAX parameter for the Wi-Fi subsystem. 49# This device supports filtering scan results for only one SSID. 50config WIFI_MGMT_SCAN_SSID_FILT_MAX 51 default 1 52 53endif 54