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