1config IWLWIFI
2	tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) "
3	depends on PCI && MAC80211 && HAS_IOMEM
4	select FW_LOADER
5	---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
21		Intel 7260 Wi-Fi Adapter
22		Intel 3160 Wi-Fi Adapter
23		Intel 7265 Wi-Fi Adapter
24		Intel 8260 Wi-Fi Adapter
25		Intel 3165 Wi-Fi Adapter
26
27
28	  This driver uses the kernel's mac80211 subsystem.
29
30	  In order to use this driver, you will need a firmware
31	  image for it. You can obtain the microcode from:
32
33	          <http://wireless.kernel.org/en/users/Drivers/iwlwifi>.
34
35	  The firmware is typically installed in /lib/firmware. You can
36	  look in the hotplug script /etc/hotplug/firmware.agent to
37	  determine which directory FIRMWARE_DIR is set to when the script
38	  runs.
39
40	  If you want to compile the driver as a module ( = code which can be
41	  inserted in and removed from the running kernel whenever you want),
42	  say M here and read <file:Documentation/kbuild/modules.txt>.  The
43	  module will be called iwlwifi.
44
45if IWLWIFI
46
47config IWLWIFI_LEDS
48	bool
49	depends on LEDS_CLASS=y || LEDS_CLASS=IWLWIFI
50	select LEDS_TRIGGERS
51	select MAC80211_LEDS
52	default y
53
54config IWLDVM
55	tristate "Intel Wireless WiFi DVM Firmware support"
56	depends on m
57	help
58	  This is the driver that supports the DVM firmware. The list
59	  of the devices that use this firmware is available here:
60	  https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#firmware
61
62config IWLMVM
63	tristate "Intel Wireless WiFi MVM Firmware support"
64	select WANT_DEV_COREDUMP
65	help
66	  This is the driver that supports the MVM firmware. The list
67	  of the devices that use this firmware is available here:
68	  https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#firmware
69
70# don't call it _MODULE -- will confuse Kconfig/fixdep/...
71config IWLWIFI_OPMODE_MODULAR
72	bool
73	default y if IWLDVM=m
74	default y if IWLMVM=m
75
76comment "WARNING: iwlwifi is useless without IWLDVM or IWLMVM"
77	depends on IWLDVM=n && IWLMVM=n
78
79config IWLWIFI_BCAST_FILTERING
80	bool "Enable broadcast filtering"
81	depends on IWLMVM
82	help
83	  Say Y here to enable default bcast filtering configuration.
84
85	  Enabling broadcast filtering will drop any incoming wireless
86	  broadcast frames, except some very specific predefined
87	  patterns (e.g. incoming arp requests).
88
89	  If unsure, don't enable this option, as some programs might
90	  expect incoming broadcasts for their normal operations.
91
92config IWLWIFI_UAPSD
93	bool "enable U-APSD by default"
94	depends on IWLMVM
95	help
96	  Say Y here to enable U-APSD by default. This may cause
97	  interoperability problems with some APs, manifesting in lower than
98	  expected throughput due to those APs not enabling aggregation
99
100	  If unsure, say N.
101
102config IWLWIFI_PCIE_RTPM
103       bool "Enable runtime power management mode for PCIe devices"
104       depends on IWLMVM && PM
105       default false
106       help
107         Say Y here to enable runtime power management for PCIe
108         devices.  If enabled, the device will go into low power mode
109         when idle for a short period of time, allowing for improved
110         power saving during runtime.
111
112	 If unsure, say N.
113
114menu "Debugging Options"
115
116config IWLWIFI_DEBUG
117	bool "Enable full debugging output in the iwlwifi driver"
118	---help---
119	  This option will enable debug tracing output for the iwlwifi drivers
120
121	  This will result in the kernel module being ~100k larger.  You can
122	  control which debug output is sent to the kernel log by setting the
123	  value in
124
125		/sys/module/iwlwifi/parameters/debug
126
127	  This entry will only exist if this option is enabled.
128
129	  To set a value, simply echo an 8-byte hex value to the same file:
130
131		  % echo 0x43fff > /sys/module/iwlwifi/parameters/debug
132
133	  You can find the list of debug mask values in:
134		  drivers/net/wireless/iwlwifi/iwl-debug.h
135
136	  If this is your first time using this driver, you should say Y here
137	  as the debug information can assist others in helping you resolve
138	  any problems you may encounter.
139
140config IWLWIFI_DEBUGFS
141        bool "iwlwifi debugfs support"
142        depends on MAC80211_DEBUGFS
143        ---help---
144	  Enable creation of debugfs files for the iwlwifi drivers. This
145	  is a low-impact option that allows getting insight into the
146	  driver's state at runtime.
147
148config IWLWIFI_DEBUG_EXPERIMENTAL_UCODE
149        bool "Experimental uCode support"
150        depends on IWLWIFI_DEBUG
151        ---help---
152	  Enable use of experimental ucode for testing and debugging.
153
154config IWLWIFI_DEVICE_TRACING
155	bool "iwlwifi device access tracing"
156	depends on EVENT_TRACING
157	default y
158	help
159	  Say Y here to trace all commands, including TX frames and IO
160	  accesses, sent to the device. If you say yes, iwlwifi will
161	  register with the ftrace framework for event tracing and dump
162	  all this information to the ringbuffer, you may need to
163	  increase the ringbuffer size. See the ftrace documentation
164	  for more information.
165
166	  When tracing is not enabled, this option still has some
167	  (though rather small) overhead.
168
169	  If unsure, say Y so we can help you better when problems
170	  occur.
171endmenu
172
173endif
174