xref: /linux/drivers/net/wireless/intel/iwlwifi/Kconfig (revision ec5aecc0b227f5509d25853537f989ca303e2be1)
1e705c121SKalle Valoconfig IWLWIFI
2e705c121SKalle Valo	tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) "
3*ec5aecc0SLuca Coelho	depends on PCI && HAS_IOMEM && CFG80211
4e705c121SKalle Valo	select FW_LOADER
5e705c121SKalle Valo	---help---
6e705c121SKalle Valo	  Select to build the driver supporting the:
7e705c121SKalle Valo
8e705c121SKalle Valo	  Intel Wireless WiFi Link Next-Gen AGN
9e705c121SKalle Valo
10e705c121SKalle Valo	  This option enables support for use with the following hardware:
11e705c121SKalle Valo		Intel Wireless WiFi Link 6250AGN Adapter
12e705c121SKalle Valo		Intel 6000 Series Wi-Fi Adapters (6200AGN and 6300AGN)
13e705c121SKalle Valo		Intel WiFi Link 1000BGN
14e705c121SKalle Valo		Intel Wireless WiFi 5150AGN
15e705c121SKalle Valo		Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
16e705c121SKalle Valo		Intel 6005 Series Wi-Fi Adapters
17e705c121SKalle Valo		Intel 6030 Series Wi-Fi Adapters
18e705c121SKalle Valo		Intel Wireless WiFi Link 6150BGN 2 Adapter
19e705c121SKalle Valo		Intel 100 Series Wi-Fi Adapters (100BGN and 130BGN)
20e705c121SKalle Valo		Intel 2000 Series Wi-Fi Adapters
21e705c121SKalle Valo		Intel 7260 Wi-Fi Adapter
22e705c121SKalle Valo		Intel 3160 Wi-Fi Adapter
23e705c121SKalle Valo		Intel 7265 Wi-Fi Adapter
24e705c121SKalle Valo		Intel 8260 Wi-Fi Adapter
25e705c121SKalle Valo		Intel 3165 Wi-Fi Adapter
26e705c121SKalle Valo
27e705c121SKalle Valo
28e705c121SKalle Valo	  This driver uses the kernel's mac80211 subsystem.
29e705c121SKalle Valo
30e705c121SKalle Valo	  In order to use this driver, you will need a firmware
31e705c121SKalle Valo	  image for it. You can obtain the microcode from:
32e705c121SKalle Valo
33e705c121SKalle Valo	          <http://wireless.kernel.org/en/users/Drivers/iwlwifi>.
34e705c121SKalle Valo
35e705c121SKalle Valo	  The firmware is typically installed in /lib/firmware. You can
36e705c121SKalle Valo	  look in the hotplug script /etc/hotplug/firmware.agent to
37e705c121SKalle Valo	  determine which directory FIRMWARE_DIR is set to when the script
38e705c121SKalle Valo	  runs.
39e705c121SKalle Valo
40e705c121SKalle Valo	  If you want to compile the driver as a module ( = code which can be
41e705c121SKalle Valo	  inserted in and removed from the running kernel whenever you want),
42e705c121SKalle Valo	  say M here and read <file:Documentation/kbuild/modules.txt>.  The
43e705c121SKalle Valo	  module will be called iwlwifi.
44e705c121SKalle Valo
45e705c121SKalle Valoif IWLWIFI
46e705c121SKalle Valo
47e705c121SKalle Valoconfig IWLWIFI_LEDS
48e705c121SKalle Valo	bool
49e705c121SKalle Valo	depends on LEDS_CLASS=y || LEDS_CLASS=IWLWIFI
50*ec5aecc0SLuca Coelho	depends on IWLMVM || IWLDVM
51e705c121SKalle Valo	select LEDS_TRIGGERS
52e705c121SKalle Valo	select MAC80211_LEDS
53e705c121SKalle Valo	default y
54e705c121SKalle Valo
55e705c121SKalle Valoconfig IWLDVM
56e705c121SKalle Valo	tristate "Intel Wireless WiFi DVM Firmware support"
57aca432f0SLuca Coelho	depends on MAC80211
58e705c121SKalle Valo	help
59e705c121SKalle Valo	  This is the driver that supports the DVM firmware. The list
60e705c121SKalle Valo	  of the devices that use this firmware is available here:
61e705c121SKalle Valo	  https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#firmware
62e705c121SKalle Valo
63e705c121SKalle Valoconfig IWLMVM
64e705c121SKalle Valo	tristate "Intel Wireless WiFi MVM Firmware support"
65e705c121SKalle Valo	select WANT_DEV_COREDUMP
66aca432f0SLuca Coelho	depends on MAC80211
67e705c121SKalle Valo	help
68e705c121SKalle Valo	  This is the driver that supports the MVM firmware. The list
69e705c121SKalle Valo	  of the devices that use this firmware is available here:
70e705c121SKalle Valo	  https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#firmware
71e705c121SKalle Valo
72e705c121SKalle Valo# don't call it _MODULE -- will confuse Kconfig/fixdep/...
73e705c121SKalle Valoconfig IWLWIFI_OPMODE_MODULAR
74e705c121SKalle Valo	bool
75e705c121SKalle Valo	default y if IWLDVM=m
76e705c121SKalle Valo	default y if IWLMVM=m
77e705c121SKalle Valo
78e705c121SKalle Valocomment "WARNING: iwlwifi is useless without IWLDVM or IWLMVM"
79e705c121SKalle Valo	depends on IWLDVM=n && IWLMVM=n
80e705c121SKalle Valo
81e705c121SKalle Valoconfig IWLWIFI_BCAST_FILTERING
82e705c121SKalle Valo	bool "Enable broadcast filtering"
83e705c121SKalle Valo	depends on IWLMVM
84e705c121SKalle Valo	help
85e705c121SKalle Valo	  Say Y here to enable default bcast filtering configuration.
86e705c121SKalle Valo
87e705c121SKalle Valo	  Enabling broadcast filtering will drop any incoming wireless
88e705c121SKalle Valo	  broadcast frames, except some very specific predefined
89e705c121SKalle Valo	  patterns (e.g. incoming arp requests).
90e705c121SKalle Valo
91e705c121SKalle Valo	  If unsure, don't enable this option, as some programs might
92e705c121SKalle Valo	  expect incoming broadcasts for their normal operations.
93e705c121SKalle Valo
94b3ff1270SLuca Coelhoconfig IWLWIFI_PCIE_RTPM
95b3ff1270SLuca Coelho       bool "Enable runtime power management mode for PCIe devices"
966eac0e81SEmmanuel Grumbach       depends on IWLMVM && PM && EXPERT
97b3ff1270SLuca Coelho       help
98b3ff1270SLuca Coelho         Say Y here to enable runtime power management for PCIe
99b3ff1270SLuca Coelho         devices.  If enabled, the device will go into low power mode
100b3ff1270SLuca Coelho         when idle for a short period of time, allowing for improved
1016eac0e81SEmmanuel Grumbach         power saving during runtime. Note that this feature requires
1026eac0e81SEmmanuel Grumbach         a tight integration with the platform. It is not recommended
1036eac0e81SEmmanuel Grumbach         to enable this feature without proper validation with the
1046eac0e81SEmmanuel Grumbach         specific target platform.
105b3ff1270SLuca Coelho
106b3ff1270SLuca Coelho	 If unsure, say N.
107b3ff1270SLuca Coelho
108e705c121SKalle Valomenu "Debugging Options"
109e705c121SKalle Valo
110e705c121SKalle Valoconfig IWLWIFI_DEBUG
111e705c121SKalle Valo	bool "Enable full debugging output in the iwlwifi driver"
112e705c121SKalle Valo	---help---
113e705c121SKalle Valo	  This option will enable debug tracing output for the iwlwifi drivers
114e705c121SKalle Valo
115e705c121SKalle Valo	  This will result in the kernel module being ~100k larger.  You can
116e705c121SKalle Valo	  control which debug output is sent to the kernel log by setting the
117e705c121SKalle Valo	  value in
118e705c121SKalle Valo
119e705c121SKalle Valo		/sys/module/iwlwifi/parameters/debug
120e705c121SKalle Valo
121e705c121SKalle Valo	  This entry will only exist if this option is enabled.
122e705c121SKalle Valo
123e705c121SKalle Valo	  To set a value, simply echo an 8-byte hex value to the same file:
124e705c121SKalle Valo
125e705c121SKalle Valo		  % echo 0x43fff > /sys/module/iwlwifi/parameters/debug
126e705c121SKalle Valo
127e705c121SKalle Valo	  You can find the list of debug mask values in:
128e705c121SKalle Valo		  drivers/net/wireless/iwlwifi/iwl-debug.h
129e705c121SKalle Valo
130e705c121SKalle Valo	  If this is your first time using this driver, you should say Y here
131e705c121SKalle Valo	  as the debug information can assist others in helping you resolve
132e705c121SKalle Valo	  any problems you may encounter.
133e705c121SKalle Valo
134e705c121SKalle Valoconfig IWLWIFI_DEBUGFS
135e705c121SKalle Valo        bool "iwlwifi debugfs support"
136e705c121SKalle Valo        depends on MAC80211_DEBUGFS
137e705c121SKalle Valo        ---help---
138e705c121SKalle Valo	  Enable creation of debugfs files for the iwlwifi drivers. This
139e705c121SKalle Valo	  is a low-impact option that allows getting insight into the
140e705c121SKalle Valo	  driver's state at runtime.
141e705c121SKalle Valo
142e705c121SKalle Valoconfig IWLWIFI_DEVICE_TRACING
143e705c121SKalle Valo	bool "iwlwifi device access tracing"
144e705c121SKalle Valo	depends on EVENT_TRACING
145e705c121SKalle Valo	default y
146e705c121SKalle Valo	help
147e705c121SKalle Valo	  Say Y here to trace all commands, including TX frames and IO
148e705c121SKalle Valo	  accesses, sent to the device. If you say yes, iwlwifi will
149e705c121SKalle Valo	  register with the ftrace framework for event tracing and dump
150e705c121SKalle Valo	  all this information to the ringbuffer, you may need to
151e705c121SKalle Valo	  increase the ringbuffer size. See the ftrace documentation
152e705c121SKalle Valo	  for more information.
153e705c121SKalle Valo
154e705c121SKalle Valo	  When tracing is not enabled, this option still has some
155e705c121SKalle Valo	  (though rather small) overhead.
156e705c121SKalle Valo
157e705c121SKalle Valo	  If unsure, say Y so we can help you better when problems
158e705c121SKalle Valo	  occur.
159e705c121SKalle Valoendmenu
160e705c121SKalle Valo
161e705c121SKalle Valoendif
162