1# SimpleLink WiFi driver options
2
3# Copyright (c) 2018 Texas Instruments, Incorporated
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig WIFI_SIMPLELINK
7	bool "SimpleLink Wi-Fi driver support"
8	select SIMPLELINK_HOST_DRIVER
9	select WIFI_OFFLOAD
10	select NET_L2_WIFI_MGMT
11	select FDTABLE
12	select POSIX_SEMAPHORES
13
14if WIFI_SIMPLELINK
15
16config WIFI_SIMPLELINK_NAME
17	string "Driver name"
18	default "SimpleLink"
19
20config WIFI_SIMPLELINK_MAX_PACKET_SIZE
21	int "Maximum size of a packet, in bytes"
22	# MTU (ipv4) per: http://www.ti.com/lit/ug/swru455d/swru455d.pdf:
23	default 1472
24	help
25	  Set the maximum size of a network packet going through the chip.
26	  This sets the size of each buffer, in each buffer pool.
27	  Do not modify it unless you know what you are doing.
28
29config WIFI_SIMPLELINK_SCAN_COUNT
30	int "Number of entries in network scan table: Max: 30"
31	default 20
32	help
33	  The number of results to request on a Wi-Fi scan operation.
34	  Actual number returned may be less.  Maximum is 30.
35
36config WIFI_SIMPLELINK_MAX_SCAN_RETRIES
37	int "Number of retries to get network scan table"
38	default 10
39	help
40	  The number of times, separated by a one second interval, to retry
41	  a request for the network list.
42
43config WIFI_SIMPLELINK_FAST_CONNECT_TIMEOUT
44	int "Time (in seconds) to wait for fast connect on startup"
45	default 7
46	help
47	  SimpleLink uses the "FastConnect" feature to reconnect to the
48	  previously connected AP on startup. Should the Wi-Fi connection
49	  timeout, the SimpleLink driver will fail to initialize,
50	  and LOG an error.
51
52endif # WIFI_SIMPLELINK
53