Linux Audio

Check our new training course

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