1# es-WiFi driver options
2
3# Copyright (c) 2018 Linaro
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig WIFI_ESWIFI
7	bool "Inventek eS-WiFi support"
8	default y
9	depends on DT_HAS_INVENTEK_ESWIFI_ENABLED || DT_HAS_INVENTEK_ESWIFI_UART_ENABLED
10	select NET_L2_WIFI_MGMT
11	select WIFI_OFFLOAD
12	select NET_OFFLOAD
13	select NET_SOCKETS
14	imply NET_SOCKETS_OFFLOAD
15	select GPIO
16
17if WIFI_ESWIFI
18
19choice WIFI_ESWIFI_BUS
20	bool "Select BUS interface"
21	default WIFI_ESWIFI_BUS_SPI
22
23config WIFI_ESWIFI_BUS_SPI
24	bool "SPI Bus interface"
25	select SPI
26
27config WIFI_ESWIFI_BUS_UART
28	bool "UART Bus interface"
29	select SERIAL
30
31endchoice
32
33config WIFI_ESWIFI_THREAD_PRIO
34	int "esWiFi threads priority"
35	default 2
36	help
37	  This option sets the priority of the esWiFi threads.
38	  Do not touch it unless you know what you are doing.
39
40config WIFI_ESWIFI_SHELL
41	bool "esWiFi shell"
42	depends on SHELL
43	help
44	  Enable esWiFi shell
45
46endif
47