blob: 56c2040a955b89263e86930d6dc146f2e869b9fc [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 Guy5ed540a2011-01-21 15:26:39 -08005 select NEW_LEDS
6 select LEDS_CLASS
7 select LEDS_TRIGGERS
8 select MAC80211_LEDS
Wey-Yi Guybe663ab2011-02-21 11:27:26 -08009 ---help---
10 Select to build the driver supporting the:
11
12 Intel Wireless WiFi Link Next-Gen AGN
13
14 This option enables support for use with the following hardware:
15 Intel Wireless WiFi Link 6250AGN Adapter
16 Intel 6000 Series Wi-Fi Adapters (6200AGN and 6300AGN)
17 Intel WiFi Link 1000BGN
18 Intel Wireless WiFi 5150AGN
19 Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
20 Intel 6005 Series Wi-Fi Adapters
21 Intel 6030 Series Wi-Fi Adapters
22 Intel Wireless WiFi Link 6150BGN 2 Adapter
23 Intel 100 Series Wi-Fi Adapters (100BGN and 130BGN)
24 Intel 2000 Series Wi-Fi Adapters
25
26
27 This driver uses the kernel's mac80211 subsystem.
28
29 In order to use this driver, you will need a microcode (uCode)
30 image for it. You can obtain the microcode from:
31
32 <http://intellinuxwireless.org/>.
33
34 The microcode is typically installed in /lib/firmware. You can
35 look in the hotplug script /etc/hotplug/firmware.agent to
36 determine which directory FIRMWARE_DIR is set to when the script
37 runs.
38
39 If you want to compile the driver as a module ( = code which can be
40 inserted in and removed from the running kernel whenever you want),
41 say M here and read <file:Documentation/kbuild/modules.txt>. The
Don Fry3c607d22011-09-30 11:40:20 -070042 module will be called iwlwifi.
Mohamed Abbasab53d8a2008-03-25 16:33:36 -070043
Don Frycc5f7e32012-05-16 22:54:27 +020044config IWLDVM
Johannes Berg8ca151b2013-01-24 14:25:36 +010045 tristate "Intel Wireless WiFi DVM Firmware support"
Don Frycc5f7e32012-05-16 22:54:27 +020046 depends on IWLWIFI
Johannes Berg12182062013-03-01 00:05:26 +010047 default IWLWIFI
Johannes Berg8ca151b2013-01-24 14:25:36 +010048 help
49 This is the driver supporting the DVM firmware which is
50 currently the only firmware available for existing devices.
51
52config IWLMVM
53 tristate "Intel Wireless WiFi MVM Firmware support"
54 depends on IWLWIFI
55 help
56 This is the driver supporting the MVM firmware which is
57 currently only available for 7000 series devices.
58
59 Say yes if you have such a device.
Don Frycc5f7e32012-05-16 22:54:27 +020060
Johannes Berg48e29342013-03-01 00:13:33 +010061# don't call it _MODULE -- will confuse Kconfig/fixdep/...
62config IWLWIFI_OPMODE_MODULAR
63 bool
64 default y if IWLDVM=m
65 default y if IWLMVM=m
66
Johannes Berg12182062013-03-01 00:05:26 +010067comment "WARNING: iwlwifi is useless without IWLDVM or IWLMVM"
68 depends on IWLWIFI && IWLDVM=n && IWLMVM=n
69
Jay Sternberg110ff6db2010-08-12 12:15:55 -070070menu "Debugging Options"
Don Fry3c607d22011-09-30 11:40:20 -070071 depends on IWLWIFI
Jay Sternberg110ff6db2010-08-12 12:15:55 -070072
Tomas Winkler4fc22b22008-07-21 18:54:42 +030073config IWLWIFI_DEBUG
Don Fry3c607d22011-09-30 11:40:20 -070074 bool "Enable full debugging output in the iwlwifi driver"
75 depends on IWLWIFI
Tomas Winkler4fc22b22008-07-21 18:54:42 +030076 ---help---
77 This option will enable debug tracing output for the iwlwifi drivers
78
79 This will result in the kernel module being ~100k larger. You can
80 control which debug output is sent to the kernel log by setting the
81 value in
82
Wey-Yi Guyadd6ff12011-10-10 07:27:07 -070083 /sys/module/iwlwifi/parameters/debug
Tomas Winkler4fc22b22008-07-21 18:54:42 +030084
85 This entry will only exist if this option is enabled.
86
87 To set a value, simply echo an 8-byte hex value to the same file:
88
Wey-Yi Guyadd6ff12011-10-10 07:27:07 -070089 % echo 0x43fff > /sys/module/iwlwifi/parameters/debug
Tomas Winkler4fc22b22008-07-21 18:54:42 +030090
91 You can find the list of debug mask values in:
92 drivers/net/wireless/iwlwifi/iwl-debug.h
93
94 If this is your first time using this driver, you should say Y here
95 as the debug information can assist others in helping you resolve
96 any problems you may encounter.
97
98config IWLWIFI_DEBUGFS
Don Fry3c607d22011-09-30 11:40:20 -070099 bool "iwlwifi debugfs support"
100 depends on IWLWIFI && MAC80211_DEBUGFS
Tomas Winkler4fc22b22008-07-21 18:54:42 +0300101 ---help---
Johannes Bergd73e4922010-05-06 12:18:41 -0700102 Enable creation of debugfs files for the iwlwifi drivers. This
103 is a low-impact option that allows getting insight into the
104 driver's state at runtime.
Tomas Winkler4fc22b22008-07-21 18:54:42 +0300105
Jay Sternberg39396082010-08-12 10:24:07 -0700106config IWLWIFI_DEBUG_EXPERIMENTAL_UCODE
107 bool "Experimental uCode support"
Don Fry3c607d22011-09-30 11:40:20 -0700108 depends on IWLWIFI && IWLWIFI_DEBUG
Jay Sternberg39396082010-08-12 10:24:07 -0700109 ---help---
110 Enable use of experimental ucode for testing and debugging.
111
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700112config IWLWIFI_DEVICE_TRACING
113 bool "iwlwifi device access tracing"
Don Fry3c607d22011-09-30 11:40:20 -0700114 depends on IWLWIFI
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700115 depends on EVENT_TRACING
116 help
117 Say Y here to trace all commands, including TX frames and IO
118 accesses, sent to the device. If you say yes, iwlwifi will
119 register with the ftrace framework for event tracing and dump
120 all this information to the ringbuffer, you may need to
121 increase the ringbuffer size. See the ftrace documentation
122 for more information.
123
124 When tracing is not enabled, this option still has some
125 (though rather small) overhead.
126
127 If unsure, say Y so we can help you better when problems
128 occur.
Jay Sternberg110ff6db2010-08-12 12:15:55 -0700129endmenu
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700130
Wey-Yi Guy5ef15cc2011-11-30 13:24:06 -0800131config IWLWIFI_DEVICE_TESTMODE
Hsu, Kennyfe67c082011-11-28 16:54:52 -0800132 def_bool y
Don Fry3c607d22011-09-30 11:40:20 -0700133 depends on IWLWIFI
Hsu, Kennyfe67c082011-11-28 16:54:52 -0800134 depends on NL80211_TESTMODE
Cindy H. Kao4613e722011-05-06 10:40:15 -0700135 help
Wey-Yi Guy5ef15cc2011-11-30 13:24:06 -0800136 This option enables the testmode support for iwlwifi device through
137 NL80211_TESTMODE. This provide the capabilities of enable user space
138 validation applications to interacts with the device through the
139 generic netlink message via NL80211_TESTMODE channel.
Wey-Yi Guy0cb38d62011-12-02 07:33:57 -0800140
141config IWLWIFI_P2P
Wey-Yi Guyef213d62012-03-09 09:22:53 -0800142 def_bool y
143 bool "iwlwifi experimental P2P support"
144 depends on IWLWIFI
145 help
146 This option enables experimental P2P support for some devices
147 based on microcode support. Since P2P support is still under
148 development, this option may even enable it for some devices
149 now that turn out to not support it in the future due to
150 microcode restrictions.
Wey-Yi Guy0cb38d62011-12-02 07:33:57 -0800151
Wey-Yi Guyef213d62012-03-09 09:22:53 -0800152 To determine if your microcode supports the experimental P2P
153 offered by this option, check if the driver advertises AP
154 support when it is loaded.
Wey-Yi Guy0cb38d62011-12-02 07:33:57 -0800155
Wey-Yi Guyef213d62012-03-09 09:22:53 -0800156 Say Y only if you want to experiment with P2P.