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