1config WILC1000_DRIVER
2	bool "WILC1000 support (WiFi only)"
3	depends on CFG80211 && WEXT_CORE && INET
4	---help---
5	  This module only support IEEE 802.11n WiFi.
6
7if WILC1000_DRIVER
8
9config WILC1000
10	tristate
11
12choice
13        prompt "Memory Allocation"
14        default WILC1000_PREALLOCATE_AT_LOADING_DRIVER
15
16config WILC1000_PREALLOCATE_AT_LOADING_DRIVER
17	bool "Preallocate memory at loading driver"
18	---help---
19	  This choice supports static allocation of the memory
20	  for the receive buffer. The driver will allocate the RX buffer
21	  during initial time. The driver will also free the buffer
22	  by calling network device stop.
23
24config WILC1000_DYNAMICALLY_ALLOCATE_MEMROY
25        bool "Dynamically allocate memory in real time"
26        ---help---
27	  This choice supports dynamic allocation of the memory
28	  for the receive buffer. The driver will allocate the RX buffer
29	  when it is required.
30endchoice
31
32choice
33	prompt "Bus Type"
34	default WILC1000_SDIO
35
36config WILC1000_SDIO
37	bool "SDIO support"
38	depends on MMC
39	select WILC1000
40	---help---
41	  This module adds support for the SDIO interface of adapters using
42	  WILC1000 chipset. The Atmel WILC1000 SDIO is a full speed interface.
43	  It meets SDIO card specification version 2.0. The interface supports
44	  the 1-bit/4-bit SD transfer mode at the clock range of 0-50 MHz.
45	  The host can use this interface to read and write from any register
46	  within the chip as well as configure the WILC1000 for data DMA.
47	  To use this interface, pin9 (SDIO_SPI_CFG) must be grounded. Select
48	  this if your platform is using the SDIO bus.
49
50config WILC1000_SPI
51	depends on SPI
52	select WILC1000
53	bool "SPI support"
54	---help---
55	  This module adds support for the SPI interface of adapters using
56	  WILC1000 chipset. The Atmel WILC1000 has a Serial Peripheral
57	  Interface (SPI) that operates as a SPI slave. This SPI interface can
58	  be used for control and for serial I/O of 802.11 data. The SPI is a
59	  full-duplex slave synchronous serial interface that is available
60	  immediately following reset when pin 9 (SDIO_SPI_CFG) is tied to
61	  VDDIO. Select this if your platform is using the SPI bus.
62endchoice
63
64config WILC1000_HW_OOB_INTR
65	bool "Use out of band interrupt"
66	depends on WILC1000_SDIO
67	default n
68	---help---
69	  This option enables out-of-band interrupt support for the WILC1000
70	  chipset. This OOB interrupt is intended to provide a faster interrupt
71	  mechanism for SDIO host controllers that don't support SDIO interrupt.
72	  Select this option If the SDIO host controller in your platform
73	  doesn't support SDIO time devision interrupt.
74
75endif
76