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