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_MAX_DATA_SIZE
34	int "esWiFi message size"
35	default 1600
36	range 500 4000
37	help
38	  This option sets the size of the esWiFi message buffer.
39	  It can be increased to handle larger messages, like scan results.
40
41config WIFI_ESWIFI_THREAD_PRIO
42	int "esWiFi threads priority"
43	default 2
44	help
45	  This option sets the priority of the esWiFi threads.
46	  Do not touch it unless you know what you are doing.
47
48config WIFI_ESWIFI_SHELL
49	bool "esWiFi shell"
50	depends on SHELL
51	help
52	  Enable esWiFi shell
53
54endif
55