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