Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
3c607d27 DF |
2 | config IWLWIFI |
3 | tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) " | |
ec5aecc0 | 4 | depends on PCI && HAS_IOMEM && CFG80211 |
80bc5393 | 5 | select FW_LOADER |
be663ab6 WYG |
6 | ---help--- |
7 | 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 | |
3b1995ad LC |
22 | Intel 7260 Wi-Fi Adapter |
23 | Intel 3160 Wi-Fi Adapter | |
ae7486a2 | 24 | Intel 7265 Wi-Fi Adapter |
87411456 | 25 | Intel 8260 Wi-Fi Adapter |
ed659187 | 26 | Intel 3165 Wi-Fi Adapter |
be663ab6 WYG |
27 | |
28 | ||
29 | This driver uses the kernel's mac80211 subsystem. | |
30 | ||
ae7486a2 | 31 | In order to use this driver, you will need a firmware |
be663ab6 WYG |
32 | image for it. You can obtain the microcode from: |
33 | ||
ae7486a2 | 34 | <http://wireless.kernel.org/en/users/Drivers/iwlwifi>. |
be663ab6 | 35 | |
ae7486a2 | 36 | The firmware is typically installed in /lib/firmware. You can |
be663ab6 WYG |
37 | 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), | |
43 | say M here and read <file:Documentation/kbuild/modules.txt>. The | |
3c607d27 | 44 | module will be called iwlwifi. |
ab53d8af | 45 | |
ae7486a2 EG |
46 | if IWLWIFI |
47 | ||
c43e9330 JB |
48 | config IWLWIFI_LEDS |
49 | bool | |
af7c603e | 50 | depends on LEDS_CLASS=y || LEDS_CLASS=IWLWIFI |
ec5aecc0 | 51 | depends on IWLMVM || IWLDVM |
c43e9330 JB |
52 | select LEDS_TRIGGERS |
53 | select MAC80211_LEDS | |
54 | default y | |
55 | ||
cc5f7e39 | 56 | config IWLDVM |
8ca151b5 | 57 | tristate "Intel Wireless WiFi DVM Firmware support" |
aca432f0 | 58 | depends on MAC80211 |
8ca151b5 | 59 | help |
87411456 EG |
60 | 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 | |
8ca151b5 JB |
63 | |
64 | config IWLMVM | |
65 | tristate "Intel Wireless WiFi MVM Firmware support" | |
3e4b1b4a | 66 | select WANT_DEV_COREDUMP |
aca432f0 | 67 | depends on MAC80211 |
8ca151b5 | 68 | help |
87411456 EG |
69 | 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 | |
cc5f7e39 | 72 | |
48e29340 JB |
73 | # don't call it _MODULE -- will confuse Kconfig/fixdep/... |
74 | config IWLWIFI_OPMODE_MODULAR | |
75 | bool | |
76 | default y if IWLDVM=m | |
77 | default y if IWLMVM=m | |
78 | ||
1218206e | 79 | comment "WARNING: iwlwifi is useless without IWLDVM or IWLMVM" |
ae7486a2 | 80 | depends on IWLDVM=n && IWLMVM=n |
1218206e | 81 | |
a34529e8 JB |
82 | config 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 | ||
b3ff1270 LC |
95 | config IWLWIFI_PCIE_RTPM |
96 | bool "Enable runtime power management mode for PCIe devices" | |
6eac0e81 | 97 | depends on IWLMVM && PM && EXPERT |
b3ff1270 LC |
98 | help |
99 | Say Y here to enable runtime power management for PCIe | |
100 | devices. If enabled, the device will go into low power mode | |
101 | when idle for a short period of time, allowing for improved | |
6eac0e81 EG |
102 | power saving during runtime. Note that this feature requires |
103 | a tight integration with the platform. It is not recommended | |
104 | to enable this feature without proper validation with the | |
105 | specific target platform. | |
b3ff1270 LC |
106 | |
107 | If unsure, say N. | |
108 | ||
110ff6db | 109 | menu "Debugging Options" |
110ff6db | 110 | |
4fc22b21 | 111 | config IWLWIFI_DEBUG |
3c607d27 | 112 | bool "Enable full debugging output in the iwlwifi driver" |
4fc22b21 TW |
113 | ---help--- |
114 | This option will enable debug tracing output for the iwlwifi drivers | |
115 | ||
116 | This will result in the kernel module being ~100k larger. You can | |
117 | control which debug output is sent to the kernel log by setting the | |
118 | value in | |
119 | ||
add6ff1a | 120 | /sys/module/iwlwifi/parameters/debug |
4fc22b21 TW |
121 | |
122 | This entry will only exist if this option is enabled. | |
123 | ||
124 | To set a value, simply echo an 8-byte hex value to the same file: | |
125 | ||
add6ff1a | 126 | % echo 0x43fff > /sys/module/iwlwifi/parameters/debug |
4fc22b21 TW |
127 | |
128 | You can find the list of debug mask values in: | |
129 | drivers/net/wireless/iwlwifi/iwl-debug.h | |
130 | ||
131 | If this is your first time using this driver, you should say Y here | |
132 | as the debug information can assist others in helping you resolve | |
133 | any problems you may encounter. | |
134 | ||
135 | config IWLWIFI_DEBUGFS | |
3c607d27 | 136 | bool "iwlwifi debugfs support" |
ae7486a2 | 137 | depends on MAC80211_DEBUGFS |
4fc22b21 | 138 | ---help--- |
d73e4923 JB |
139 | Enable creation of debugfs files for the iwlwifi drivers. This |
140 | is a low-impact option that allows getting insight into the | |
141 | driver's state at runtime. | |
4fc22b21 | 142 | |
be1a71a1 JB |
143 | config IWLWIFI_DEVICE_TRACING |
144 | bool "iwlwifi device access tracing" | |
be1a71a1 | 145 | depends on EVENT_TRACING |
acf9de3d | 146 | default y |
be1a71a1 JB |
147 | help |
148 | Say Y here to trace all commands, including TX frames and IO | |
149 | accesses, sent to the device. If you say yes, iwlwifi will | |
150 | register with the ftrace framework for event tracing and dump | |
151 | all this information to the ringbuffer, you may need to | |
152 | increase the ringbuffer size. See the ftrace documentation | |
153 | for more information. | |
154 | ||
155 | When tracing is not enabled, this option still has some | |
156 | (though rather small) overhead. | |
157 | ||
158 | If unsure, say Y so we can help you better when problems | |
159 | occur. | |
110ff6db | 160 | endmenu |
ae7486a2 EG |
161 | |
162 | endif |