1# SPDX-License-Identifier: GPL-2.0-only
2config IWLEGACY
3	tristate
4	select FW_LOADER
5	select NEW_LEDS
6	select LEDS_CLASS
7	select LEDS_TRIGGERS
8	select MAC80211_LEDS
9
10config IWL4965
11	tristate "Intel Wireless WiFi 4965AGN (iwl4965)"
12	depends on PCI && MAC80211
13	select IWLEGACY
14	---help---
15	  This option enables support for
16
17	  Select to build the driver supporting the:
18
19	  Intel Wireless WiFi Link 4965AGN
20
21	  This driver uses the kernel's mac80211 subsystem.
22
23	  In order to use this driver, you will need a microcode (uCode)
24	  image for it. You can obtain the microcode from:
25
26	          <http://intellinuxwireless.org/>.
27
28	  The microcode is typically installed in /lib/firmware. You can
29	  look in the hotplug script /etc/hotplug/firmware.agent to
30	  determine which directory FIRMWARE_DIR is set to when the script
31	  runs.
32
33	  If you want to compile the driver as a module ( = code which can be
34	  inserted in and removed from the running kernel whenever you want),
35	  say M here and read <file:Documentation/kbuild/modules.txt>.  The
36	  module will be called iwl4965.
37
38config IWL3945
39	tristate "Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945)"
40	depends on PCI && MAC80211
41	select IWLEGACY
42	---help---
43	  Select to build the driver supporting the:
44
45	  Intel PRO/Wireless 3945ABG/BG Network Connection
46
47	  This driver uses the kernel's mac80211 subsystem.
48
49	  In order to use this driver, you will need a microcode (uCode)
50	  image for it. You can obtain the microcode from:
51
52	          <http://intellinuxwireless.org/>.
53
54	  The microcode is typically installed in /lib/firmware. You can
55	  look in the hotplug script /etc/hotplug/firmware.agent to
56	  determine which directory FIRMWARE_DIR is set to when the script
57	  runs.
58
59	  If you want to compile the driver as a module ( = code which can be
60	  inserted in and removed from the running kernel whenever you want),
61	  say M here and read <file:Documentation/kbuild/modules.txt>.  The
62	  module will be called iwl3945.
63
64menu "iwl3945 / iwl4965 Debugging Options"
65	depends on IWLEGACY
66
67config IWLEGACY_DEBUG
68	bool "Enable full debugging output in iwlegacy (iwl 3945/4965) drivers"
69	depends on IWLEGACY
70	---help---
71	  This option will enable debug tracing output for the iwlegacy
72	  drivers.
73
74	  This will result in the kernel module being ~100k larger.  You can
75	  control which debug output is sent to the kernel log by setting the
76	  value in
77
78		/sys/class/net/wlan0/device/debug_level
79
80	  This entry will only exist if this option is enabled.
81
82	  To set a value, simply echo an 8-byte hex value to the same file:
83
84		  % echo 0x43fff > /sys/class/net/wlan0/device/debug_level
85
86	  You can find the list of debug mask values in:
87		  drivers/net/wireless/iwlegacy/common.h
88
89	  If this is your first time using this driver, you should say Y here
90	  as the debug information can assist others in helping you resolve
91	  any problems you may encounter.
92
93config IWLEGACY_DEBUGFS
94        bool "iwlegacy (iwl 3945/4965) debugfs support"
95        depends on IWLEGACY && MAC80211_DEBUGFS
96        ---help---
97	  Enable creation of debugfs files for the iwlegacy drivers. This
98	  is a low-impact option that allows getting insight into the
99	  driver's state at runtime.
100
101endmenu
102