blob: 418ae4f870ab7086a773e78a9bb2f14c1485c08e [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Don Fry3c607d22011-09-30 11:40:20 -07002config IWLWIFI
3 tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) "
Luca Coelhoec5aecc2019-01-14 13:00:23 +02004 depends on PCI && HAS_IOMEM && CFG80211
Reinette Chatre80bc5392009-02-13 11:51:19 -08005 select FW_LOADER
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +09006 help
Wey-Yi Guybe663ab2011-02-21 11:27:26 -08007 Select to build the driver supporting the:
8
9 Intel Wireless WiFi Link Next-Gen AGN
10
11 This option enables support for use with the following hardware:
12 Intel Wireless WiFi Link 6250AGN Adapter
13 Intel 6000 Series Wi-Fi Adapters (6200AGN and 6300AGN)
14 Intel WiFi Link 1000BGN
15 Intel Wireless WiFi 5150AGN
16 Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
17 Intel 6005 Series Wi-Fi Adapters
18 Intel 6030 Series Wi-Fi Adapters
19 Intel Wireless WiFi Link 6150BGN 2 Adapter
20 Intel 100 Series Wi-Fi Adapters (100BGN and 130BGN)
21 Intel 2000 Series Wi-Fi Adapters
Luciano Coelho3b1995ad2013-08-12 21:58:36 +030022 Intel 7260 Wi-Fi Adapter
23 Intel 3160 Wi-Fi Adapter
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +030024 Intel 7265 Wi-Fi Adapter
Emmanuel Grumbach87411452015-04-19 09:57:09 +030025 Intel 8260 Wi-Fi Adapter
Emmanuel Grumbached659182015-04-30 09:29:06 +030026 Intel 3165 Wi-Fi Adapter
Wey-Yi Guybe663ab2011-02-21 11:27:26 -080027
28
29 This driver uses the kernel's mac80211 subsystem.
30
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +030031 In order to use this driver, you will need a firmware
Wey-Yi Guybe663ab2011-02-21 11:27:26 -080032 image for it. You can obtain the microcode from:
33
Flavio Suligoie00c6d82020-06-05 17:41:09 +020034 <https://wireless.wiki.kernel.org/en/users/Drivers/iwlwifi>.
Wey-Yi Guybe663ab2011-02-21 11:27:26 -080035
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +030036 The firmware is typically installed in /lib/firmware. You can
Wey-Yi Guybe663ab2011-02-21 11:27:26 -080037 look in the hotplug script /etc/hotplug/firmware.agent to
38 determine which directory FIRMWARE_DIR is set to when the script
39 runs.
40
41 If you want to compile the driver as a module ( = code which can be
42 inserted in and removed from the running kernel whenever you want),
Mauro Carvalho Chehabcd238ef2019-06-12 14:52:48 -030043 say M here and read <file:Documentation/kbuild/modules.rst>. The
Don Fry3c607d22011-09-30 11:40:20 -070044 module will be called iwlwifi.
Mohamed Abbasab53d8a2008-03-25 16:33:36 -070045
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +030046if IWLWIFI
47
Johannes Bergc43e9332014-04-24 16:31:08 +020048config IWLWIFI_LEDS
49 bool
Arnd Bergmannefdbfa02021-12-04 18:38:33 +010050 depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211
Luca Coelhoec5aecc2019-01-14 13:00:23 +020051 depends on IWLMVM || IWLDVM
Johannes Bergc43e9332014-04-24 16:31:08 +020052 select LEDS_TRIGGERS
53 select MAC80211_LEDS
54 default y
55
Don Frycc5f7e32012-05-16 22:54:27 +020056config IWLDVM
Johannes Berg8ca151b2013-01-24 14:25:36 +010057 tristate "Intel Wireless WiFi DVM Firmware support"
Luca Coelhoaca432f2018-08-27 13:02:19 +030058 depends on MAC80211
Johannes Berg8ca151b2013-01-24 14:25:36 +010059 help
Emmanuel Grumbach87411452015-04-19 09:57:09 +030060 This is the driver that supports the DVM firmware. The list
61 of the devices that use this firmware is available here:
62 https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#firmware
Johannes Berg8ca151b2013-01-24 14:25:36 +010063
64config IWLMVM
65 tristate "Intel Wireless WiFi MVM Firmware support"
Emmanuel Grumbach3e4b1b42014-10-31 13:08:50 +020066 select WANT_DEV_COREDUMP
Luca Coelhoaca432f2018-08-27 13:02:19 +030067 depends on MAC80211
Johannes Berg8ca151b2013-01-24 14:25:36 +010068 help
Emmanuel Grumbach87411452015-04-19 09:57:09 +030069 This is the driver that supports the MVM firmware. The list
70 of the devices that use this firmware is available here:
71 https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#firmware
Don Frycc5f7e32012-05-16 22:54:27 +020072
Johannes Berg48e29342013-03-01 00:13:33 +010073# don't call it _MODULE -- will confuse Kconfig/fixdep/...
74config IWLWIFI_OPMODE_MODULAR
75 bool
76 default y if IWLDVM=m
77 default y if IWLMVM=m
78
Johannes Berg12182062013-03-01 00:05:26 +010079comment "WARNING: iwlwifi is useless without IWLDVM or IWLMVM"
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +030080 depends on IWLDVM=n && IWLMVM=n
Johannes Berg12182062013-03-01 00:05:26 +010081
Johannes Berga34529e2014-01-20 22:57:21 +010082config IWLWIFI_BCAST_FILTERING
83 bool "Enable broadcast filtering"
84 depends on IWLMVM
85 help
86 Say Y here to enable default bcast filtering configuration.
87
88 Enabling broadcast filtering will drop any incoming wireless
89 broadcast frames, except some very specific predefined
90 patterns (e.g. incoming arp requests).
91
92 If unsure, don't enable this option, as some programs might
93 expect incoming broadcasts for their normal operations.
94
Jay Sternberg110ff6db2010-08-12 12:15:55 -070095menu "Debugging Options"
Jay Sternberg110ff6db2010-08-12 12:15:55 -070096
Tomas Winkler4fc22b22008-07-21 18:54:42 +030097config IWLWIFI_DEBUG
Don Fry3c607d22011-09-30 11:40:20 -070098 bool "Enable full debugging output in the iwlwifi driver"
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090099 help
Tomas Winkler4fc22b22008-07-21 18:54:42 +0300100 This option will enable debug tracing output for the iwlwifi drivers
101
102 This will result in the kernel module being ~100k larger. You can
103 control which debug output is sent to the kernel log by setting the
104 value in
105
Wey-Yi Guyadd6ff12011-10-10 07:27:07 -0700106 /sys/module/iwlwifi/parameters/debug
Tomas Winkler4fc22b22008-07-21 18:54:42 +0300107
108 This entry will only exist if this option is enabled.
109
110 To set a value, simply echo an 8-byte hex value to the same file:
111
Wey-Yi Guyadd6ff12011-10-10 07:27:07 -0700112 % echo 0x43fff > /sys/module/iwlwifi/parameters/debug
Tomas Winkler4fc22b22008-07-21 18:54:42 +0300113
114 You can find the list of debug mask values in:
115 drivers/net/wireless/iwlwifi/iwl-debug.h
116
117 If this is your first time using this driver, you should say Y here
118 as the debug information can assist others in helping you resolve
119 any problems you may encounter.
120
121config IWLWIFI_DEBUGFS
Krzysztof Kozlowski02bc5eb2019-09-23 17:52:43 +0200122 bool "iwlwifi debugfs support"
123 depends on MAC80211_DEBUGFS
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900124 help
Johannes Bergd73e4922010-05-06 12:18:41 -0700125 Enable creation of debugfs files for the iwlwifi drivers. This
126 is a low-impact option that allows getting insight into the
127 driver's state at runtime.
Tomas Winkler4fc22b22008-07-21 18:54:42 +0300128
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700129config IWLWIFI_DEVICE_TRACING
130 bool "iwlwifi device access tracing"
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700131 depends on EVENT_TRACING
Johannes Bergacf9de32015-09-04 20:54:35 +0200132 default y
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700133 help
134 Say Y here to trace all commands, including TX frames and IO
135 accesses, sent to the device. If you say yes, iwlwifi will
136 register with the ftrace framework for event tracing and dump
137 all this information to the ringbuffer, you may need to
138 increase the ringbuffer size. See the ftrace documentation
139 for more information.
140
141 When tracing is not enabled, this option still has some
142 (though rather small) overhead.
143
144 If unsure, say Y so we can help you better when problems
145 occur.
Jay Sternberg110ff6db2010-08-12 12:15:55 -0700146endmenu
Emmanuel Grumbachae7486a2014-07-07 09:25:42 +0300147
148endif