summaryrefslogtreecommitdiff
path: root/drivers/staging/wilc1000/Kconfig
blob: 51bbf468fe45aa17679f7401bf1e02c4be0d1b52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
config WILC1000
	tristate "WILC1000 support (WiFi only)"
	depends on BROKEN
	depends on !S390
	depends on CFG80211 && WEXT_CORE && INET
	depends on MMC || SPI
	---help---
	  This module only support IEEE 802.11n WiFi.

choice
        prompt "Memory Allocation"
        depends on WILC1000
        default WILC1000_PREALLOCATE_AT_LOADING_DRIVER

config WILC1000_PREALLOCATE_AT_LOADING_DRIVER
	bool "Preallocate memory at loading driver"
	---help---
	  This choice supports static allocation of the memory
	  for the receive buffer. The driver will allocate the RX buffer
	  during initial time. The driver will also free the buffer
	  by calling network device stop.

config WILC1000_DYNAMICALLY_ALLOCATE_MEMROY
        bool "Dynamically allocate memory in real time"
        ---help---
	  This choice supports dynamic allocation of the memory
	  for the receive buffer. The driver will allocate the RX buffer
	  when it is required.
endchoice

choice
	prompt "Bus Type"
	depends on WILC1000
	default WILC1000_SDIO

	config WILC1000_SDIO
	bool "SDIO support"
	depends on MMC
	---help---
	  This module adds support for the SDIO interface of adapters using
	  WILC1000 chipset. The Atmel WILC1000 SDIO is a full speed interface.
	  It meets SDIO card specification version 2.0. The interface supports
	  the 1-bit/4-bit SD transfer mode at the clock range of 0-50 MHz.
	  The host can use this interface to read and write from any register
	  within the chip as well as configure the WILC1000 for data DMA.
	  To use this interface, pin9 (SDIO_SPI_CFG) must be grounded. Select
	  this if your platform is using the SDIO bus.

	config WILC1000_SPI
	depends on SPI
	bool "SPI support"
	---help---
	  This module adds support for the SPI interface of adapters using
	  WILC1000 chipset. The Atmel WILC1000 has a Serial Peripheral
	  Interface (SPI) that operates as a SPI slave. This SPI interface can
	  be used for control and for serial I/O of 802.11 data. The SPI is a
	  full-duplex slave synchronous serial interface that is available
	  immediately following reset when pin 9 (SDIO_SPI_CFG) is tied to
	  VDDIO. Select this if your platform is using the SPI bus.
endchoice

config WILC1000_HW_OOB_INTR
	bool "Use out of band interrupt"
	depends on WILC1000 && WILC1000_SDIO
	default n
	---help---
	  This option enables out-of-band interrupt support for the WILC1000
	  chipset. This OOB interrupt is intended to provide a faster interrupt
	  mechanism for SDIO host controllers that don't support SDIO interrupt.
	  Select this option If the SDIO host controller in your platform
	  doesn't support SDIO time devision interrupt.