1# Atmel WINC1500 WiFi driver options
2
3# Copyright (c) 2015 Intel Corporation
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig WIFI_WINC1500
7	bool "WINC1500 driver support"
8	select ATMEL_WINC1500
9	select WIFI_OFFLOAD
10	select NET_L2_WIFI_MGMT
11
12if WIFI_WINC1500
13
14config WIFI_WINC1500_NAME
15	string "Driver name"
16	default "WINC1500"
17
18config WINC1500_DRV_USE_OLD_SPI_SW
19	bool "Use old SPI access method in the vendor HAL"
20	help
21	  This option, when enabled, causes USE_OLD_SPI_SW
22	  setting to be passed to vendor HAL.
23
24config WIFI_WINC1500_THREAD_STACK_SIZE
25	int "HAL callback handler thread stack size"
26	default 2048
27	help
28	  This option sets the size of the stack used by the thread handling
29	  WINC1500 HAL callbacks. Do not touch it unless you know what you are
30	  doing.
31
32config WIFI_WINC1500_THREAD_PRIO
33	int "HAL callback handler thread priority"
34	default 2
35	help
36	  This option sets the priority of the thread handling WINC1500 HAL
37	  callbacks. Do not touch it unless you know what you are doing.
38
39config WIFI_WINC1500_BUF_CTR
40	int "Number of buffer per-buffer pool"
41	default 1
42	help
43	  Set the number of buffer the driver will have access to in each of
44	  its buffer pools.
45
46config WIFI_WINC1500_MAX_PACKET_SIZE
47	int "Maximum size of a packet, in bytes"
48	default 1500
49	help
50	  Set the maximum size of a network packet going through the chip.
51	  This sets the size of each buffer, in each buffer pools.
52	  Do not modify it unless you know what you are doing.
53
54config WIFI_WINC1500_OFFLOAD_MAX_SOCKETS
55	int "Maximum number of sockets that can be managed"
56	default 2
57	help
58	  Set the number of sockets that can be managed through the driver
59	  and the chip.
60
61choice
62	bool "In which region is the chip running?"
63	default WIFI_WINC1500_REGION_NORTH_AMERICA
64
65config WIFI_WINC1500_REGION_NORTH_AMERICA
66	bool "Region North America"
67
68config WIFI_WINC1500_REGION_EUROPE
69	bool "Region Europe"
70
71config WIFI_WINC1500_REGION_ASIA
72	bool "Region Asia"
73
74endchoice
75
76endif # WIFI_WINC1500
77