Merge tag 'stable/for-linus-3.19-rc0b-tag' of git://git.kernel.org/pub/scm/linux...
[cascardo/linux.git] / drivers / net / wireless / iwlwifi / Kconfig
1 config IWLWIFI
2         tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) "
3         depends on PCI && MAC80211 && HAS_IOMEM
4         select FW_LOADER
5         ---help---
6           Select to build the driver supporting the:
7
8           Intel Wireless WiFi Link Next-Gen AGN
9
10           This option enables support for use with the following hardware:
11                 Intel Wireless WiFi Link 6250AGN Adapter
12                 Intel 6000 Series Wi-Fi Adapters (6200AGN and 6300AGN)
13                 Intel WiFi Link 1000BGN
14                 Intel Wireless WiFi 5150AGN
15                 Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
16                 Intel 6005 Series Wi-Fi Adapters
17                 Intel 6030 Series Wi-Fi Adapters
18                 Intel Wireless WiFi Link 6150BGN 2 Adapter
19                 Intel 100 Series Wi-Fi Adapters (100BGN and 130BGN)
20                 Intel 2000 Series Wi-Fi Adapters
21                 Intel 7260 Wi-Fi Adapter
22                 Intel 3160 Wi-Fi Adapter
23                 Intel 7265 Wi-Fi Adapter
24
25
26           This driver uses the kernel's mac80211 subsystem.
27
28           In order to use this driver, you will need a firmware
29           image for it. You can obtain the microcode from:
30
31                   <http://wireless.kernel.org/en/users/Drivers/iwlwifi>.
32
33           The firmware is typically installed in /lib/firmware. You can
34           look in the hotplug script /etc/hotplug/firmware.agent to
35           determine which directory FIRMWARE_DIR is set to when the script
36           runs.
37
38           If you want to compile the driver as a module ( = code which can be
39           inserted in and removed from the running kernel whenever you want),
40           say M here and read <file:Documentation/kbuild/modules.txt>.  The
41           module will be called iwlwifi.
42
43 if IWLWIFI
44
45 config IWLWIFI_LEDS
46         bool
47         depends on LEDS_CLASS=y || LEDS_CLASS=IWLWIFI
48         select LEDS_TRIGGERS
49         select MAC80211_LEDS
50         default y
51
52 config IWLDVM
53         tristate "Intel Wireless WiFi DVM Firmware support"
54         default IWLWIFI
55         help
56           This is the driver that supports the DVM firmware which is
57           used by most existing devices (with the exception of 7260
58           and 3160).
59
60 config IWLMVM
61         tristate "Intel Wireless WiFi MVM Firmware support"
62         select WANT_DEV_COREDUMP
63         help
64           This is the driver that supports the MVM firmware which is
65           currently only available for 7260 and 3160 devices.
66
67 # don't call it _MODULE -- will confuse Kconfig/fixdep/...
68 config IWLWIFI_OPMODE_MODULAR
69         bool
70         default y if IWLDVM=m
71         default y if IWLMVM=m
72
73 comment "WARNING: iwlwifi is useless without IWLDVM or IWLMVM"
74         depends on IWLDVM=n && IWLMVM=n
75
76 config IWLWIFI_BCAST_FILTERING
77         bool "Enable broadcast filtering"
78         depends on IWLMVM
79         help
80           Say Y here to enable default bcast filtering configuration.
81
82           Enabling broadcast filtering will drop any incoming wireless
83           broadcast frames, except some very specific predefined
84           patterns (e.g. incoming arp requests).
85
86           If unsure, don't enable this option, as some programs might
87           expect incoming broadcasts for their normal operations.
88
89 config IWLWIFI_UAPSD
90         bool "enable U-APSD by default"
91         depends on IWLMVM
92         help
93           Say Y here to enable U-APSD by default. This may cause
94           interoperability problems with some APs, manifesting in lower than
95           expected throughput due to those APs not enabling aggregation
96
97           If unsure, say N.
98
99 menu "Debugging Options"
100
101 config IWLWIFI_DEBUG
102         bool "Enable full debugging output in the iwlwifi driver"
103         ---help---
104           This option will enable debug tracing output for the iwlwifi drivers
105
106           This will result in the kernel module being ~100k larger.  You can
107           control which debug output is sent to the kernel log by setting the
108           value in
109
110                 /sys/module/iwlwifi/parameters/debug
111
112           This entry will only exist if this option is enabled.
113
114           To set a value, simply echo an 8-byte hex value to the same file:
115
116                   % echo 0x43fff > /sys/module/iwlwifi/parameters/debug
117
118           You can find the list of debug mask values in:
119                   drivers/net/wireless/iwlwifi/iwl-debug.h
120
121           If this is your first time using this driver, you should say Y here
122           as the debug information can assist others in helping you resolve
123           any problems you may encounter.
124
125 config IWLWIFI_DEBUGFS
126         bool "iwlwifi debugfs support"
127         depends on MAC80211_DEBUGFS
128         ---help---
129           Enable creation of debugfs files for the iwlwifi drivers. This
130           is a low-impact option that allows getting insight into the
131           driver's state at runtime.
132
133 config IWLWIFI_DEBUG_EXPERIMENTAL_UCODE
134         bool "Experimental uCode support"
135         depends on IWLWIFI_DEBUG
136         ---help---
137           Enable use of experimental ucode for testing and debugging.
138
139 config IWLWIFI_DEVICE_TRACING
140         bool "iwlwifi device access tracing"
141         depends on EVENT_TRACING
142         help
143           Say Y here to trace all commands, including TX frames and IO
144           accesses, sent to the device. If you say yes, iwlwifi will
145           register with the ftrace framework for event tracing and dump
146           all this information to the ringbuffer, you may need to
147           increase the ringbuffer size. See the ftrace documentation
148           for more information.
149
150           When tracing is not enabled, this option still has some
151           (though rather small) overhead.
152
153           If unsure, say Y so we can help you better when problems
154           occur.
155 endmenu
156
157 endif