blob: c246b0d904df33ad633f7d472fab6167a5b99bff [file] [log] [blame]
Johnny Kimc5c77ba2015-05-11 14:30:56 +09001config WILC1000
2 tristate "WILC1000 support (WiFi only)"
Guenter Roecke3cb7422015-05-27 21:32:43 -07003 depends on !S390
Arnd Bergmann9535ebc2015-05-28 16:35:42 +02004 depends on CFG80211 && WEXT_CORE && INET
5 depends on MMC || SPI
Johnny Kimc5c77ba2015-05-11 14:30:56 +09006 ---help---
Arnd Bergmann9535ebc2015-05-28 16:35:42 +02007 This module only support IEEE 802.11n WiFi.
Johnny Kimc5c77ba2015-05-11 14:30:56 +09008
9choice
10 prompt "Memory Allocation"
11 depends on WILC1000
12 default WILC1000_PREALLOCATE_AT_LOADING_DRIVER
13
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020014config WILC1000_PREALLOCATE_AT_LOADING_DRIVER
15 bool "Preallocate memory at loading driver"
16 ---help---
17 This choice supports static allocation of the memory
18 for the receive buffer. The driver will allocate the RX buffer
19 during initial time. The driver will also free the buffer
20 by calling network device stop.
Johnny Kimc5c77ba2015-05-11 14:30:56 +090021
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020022config WILC1000_DYNAMICALLY_ALLOCATE_MEMROY
23 bool "Dynamically allocate memory in real time"
24 ---help---
25 This choice supports dynamic allocation of the memory
26 for the receive buffer. The driver will allocate the RX buffer
27 when it is required.
Johnny Kimc5c77ba2015-05-11 14:30:56 +090028endchoice
29
Johnny Kimc5c77ba2015-05-11 14:30:56 +090030choice
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020031 prompt "Bus Type"
32 depends on WILC1000
33 default WILC1000_SDIO
34
Johnny Kimc5c77ba2015-05-11 14:30:56 +090035 config WILC1000_SDIO
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020036 bool "SDIO support"
37 depends on MMC
38 ---help---
39 This module adds support for the SDIO interface
40 of adapters using WILC chipset. Select this if
41 your platform is using the SDIO bus.
Johnny Kimc5c77ba2015-05-11 14:30:56 +090042
43 config WILC1000_SPI
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020044 depends on SPI
45 bool "SPI support"
46 ---help---
47 This module adds support for the SPI interface
48 of adapters using WILC chipset. Select this if
49 your platform is using the SPI bus.
Johnny Kimc5c77ba2015-05-11 14:30:56 +090050endchoice
51
Johnny Kimc5c77ba2015-05-11 14:30:56 +090052config WILC1000_HW_OOB_INTR
Arnd Bergmann9535ebc2015-05-28 16:35:42 +020053 bool "Use out of band interrupt"
54 depends on WILC1000 && WILC1000_SDIO
55 default n
56 ---help---
57 If your platform don't recognize SDIO IRQ, connect chipset external IRQ pin
58 and check this option. Or, Use this to get all interrupts including SDIO interrupts.