blob: 760e96f63bb02ed2bd19c1be6582a27a345207c0 [file] [log] [blame]
Don Fry3c607d22011-09-30 11:40:20 -07001config IWLWIFI
2 tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) "
Stanislaw Gruszka05f5b972012-03-07 09:52:26 -08003 depends on PCI && MAC80211 && HAS_IOMEM
Reinette Chatre80bc5392009-02-13 11:51:19 -08004 select FW_LOADER
Wey-Yi Guybe663ab2011-02-21 11:27:26 -08005 ---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
Luciano Coelho3b1995a2013-08-12 21:58:36 +030021 Intel 7260 Wi-Fi Adapter
22 Intel 3160 Wi-Fi Adapter
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +030023 Intel 7265 Wi-Fi Adapter
Wey-Yi Guybe663ab2011-02-21 11:27:26 -080024
25
26 This driver uses the kernel's mac80211 subsystem.
27
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +030028 In order to use this driver, you will need a firmware
Wey-Yi Guybe663ab2011-02-21 11:27:26 -080029 image for it. You can obtain the microcode from:
30
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +030031 <http://wireless.kernel.org/en/users/Drivers/iwlwifi>.
Wey-Yi Guybe663ab2011-02-21 11:27:26 -080032
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +030033 The firmware is typically installed in /lib/firmware. You can
Wey-Yi Guybe663ab2011-02-21 11:27:26 -080034 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
Don Fry3c607d22011-09-30 11:40:20 -070041 module will be called iwlwifi.
Mohamed Abbasab53d8a2008-03-25 16:33:36 -070042
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +030043if IWLWIFI
44
Johannes Bergc43e9332014-04-24 16:31:08 +020045config IWLWIFI_LEDS
46 bool
Johannes Bergaf7c6032014-05-13 15:25:28 +020047 depends on LEDS_CLASS=y || LEDS_CLASS=IWLWIFI
Johannes Bergc43e9332014-04-24 16:31:08 +020048 select LEDS_TRIGGERS
49 select MAC80211_LEDS
50 default y
51
Don Frycc5f7e32012-05-16 22:54:27 +020052config IWLDVM
Johannes Berg8ca151b2013-01-24 14:25:36 +010053 tristate "Intel Wireless WiFi DVM Firmware support"
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +030054 depends on m
Johannes Berg12182062013-03-01 00:05:26 +010055 default IWLWIFI
Johannes Berg8ca151b2013-01-24 14:25:36 +010056 help
Luciano Coelho3b1995a2013-08-12 21:58:36 +030057 This is the driver that supports the DVM firmware which is
58 used by most existing devices (with the exception of 7260
59 and 3160).
Johannes Berg8ca151b2013-01-24 14:25:36 +010060
61config IWLMVM
62 tristate "Intel Wireless WiFi MVM Firmware support"
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +030063 depends on m
Johannes Berg8ca151b2013-01-24 14:25:36 +010064 help
Luciano Coelho3b1995a2013-08-12 21:58:36 +030065 This is the driver that supports the MVM firmware which is
66 currently only available for 7260 and 3160 devices.
Don Frycc5f7e32012-05-16 22:54:27 +020067
Johannes Berg48e29342013-03-01 00:13:33 +010068# don't call it _MODULE -- will confuse Kconfig/fixdep/...
69config IWLWIFI_OPMODE_MODULAR
70 bool
71 default y if IWLDVM=m
72 default y if IWLMVM=m
73
Johannes Berg12182062013-03-01 00:05:26 +010074comment "WARNING: iwlwifi is useless without IWLDVM or IWLMVM"
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +030075 depends on IWLDVM=n && IWLMVM=n
Johannes Berg12182062013-03-01 00:05:26 +010076
Johannes Berga34529e2014-01-20 22:57:21 +010077config IWLWIFI_BCAST_FILTERING
78 bool "Enable broadcast filtering"
79 depends on IWLMVM
80 help
81 Say Y here to enable default bcast filtering configuration.
82
83 Enabling broadcast filtering will drop any incoming wireless
84 broadcast frames, except some very specific predefined
85 patterns (e.g. incoming arp requests).
86
87 If unsure, don't enable this option, as some programs might
88 expect incoming broadcasts for their normal operations.
89
Johannes Bergd6ca18de2014-09-01 11:28:11 +020090config IWLWIFI_UAPSD
91 bool "enable U-APSD by default"
92 depends on IWLMVM
93 help
94 Say Y here to enable U-APSD by default. This may cause
95 interoperability problems with some APs, manifesting in lower than
96 expected throughput due to those APs not enabling aggregation
97
98 If unsure, say N.
99
Jay Sternberg110ff6db2010-08-12 12:15:55 -0700100menu "Debugging Options"
Jay Sternberg110ff6db2010-08-12 12:15:55 -0700101
Tomas Winkler4fc22b22008-07-21 18:54:42 +0300102config IWLWIFI_DEBUG
Don Fry3c607d22011-09-30 11:40:20 -0700103 bool "Enable full debugging output in the iwlwifi driver"
Tomas Winkler4fc22b22008-07-21 18:54:42 +0300104 ---help---
105 This option will enable debug tracing output for the iwlwifi drivers
106
107 This will result in the kernel module being ~100k larger. You can
108 control which debug output is sent to the kernel log by setting the
109 value in
110
Wey-Yi Guyadd6ff12011-10-10 07:27:07 -0700111 /sys/module/iwlwifi/parameters/debug
Tomas Winkler4fc22b22008-07-21 18:54:42 +0300112
113 This entry will only exist if this option is enabled.
114
115 To set a value, simply echo an 8-byte hex value to the same file:
116
Wey-Yi Guyadd6ff12011-10-10 07:27:07 -0700117 % echo 0x43fff > /sys/module/iwlwifi/parameters/debug
Tomas Winkler4fc22b22008-07-21 18:54:42 +0300118
119 You can find the list of debug mask values in:
120 drivers/net/wireless/iwlwifi/iwl-debug.h
121
122 If this is your first time using this driver, you should say Y here
123 as the debug information can assist others in helping you resolve
124 any problems you may encounter.
125
126config IWLWIFI_DEBUGFS
Don Fry3c607d22011-09-30 11:40:20 -0700127 bool "iwlwifi debugfs support"
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +0300128 depends on MAC80211_DEBUGFS
Tomas Winkler4fc22b22008-07-21 18:54:42 +0300129 ---help---
Johannes Bergd73e4922010-05-06 12:18:41 -0700130 Enable creation of debugfs files for the iwlwifi drivers. This
131 is a low-impact option that allows getting insight into the
132 driver's state at runtime.
Tomas Winkler4fc22b22008-07-21 18:54:42 +0300133
Jay Sternberg39396082010-08-12 10:24:07 -0700134config IWLWIFI_DEBUG_EXPERIMENTAL_UCODE
135 bool "Experimental uCode support"
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +0300136 depends on IWLWIFI_DEBUG
Jay Sternberg39396082010-08-12 10:24:07 -0700137 ---help---
138 Enable use of experimental ucode for testing and debugging.
139
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700140config IWLWIFI_DEVICE_TRACING
141 bool "iwlwifi device access tracing"
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700142 depends on EVENT_TRACING
143 help
144 Say Y here to trace all commands, including TX frames and IO
145 accesses, sent to the device. If you say yes, iwlwifi will
146 register with the ftrace framework for event tracing and dump
147 all this information to the ringbuffer, you may need to
148 increase the ringbuffer size. See the ftrace documentation
149 for more information.
150
151 When tracing is not enabled, this option still has some
152 (though rather small) overhead.
153
154 If unsure, say Y so we can help you better when problems
155 occur.
Jay Sternberg110ff6db2010-08-12 12:15:55 -0700156endmenu
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +0300157
158endif