0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config IWLEGACY
0003 tristate
0004 select FW_LOADER
0005 select LEDS_TRIGGERS
0006 select MAC80211_LEDS
0007
0008 config IWL4965
0009 tristate "Intel Wireless WiFi 4965AGN (iwl4965)"
0010 depends on PCI && MAC80211
0011 depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211
0012 select IWLEGACY
0013 help
0014 This option enables support for
0015
0016 Select to build the driver supporting the:
0017
0018 Intel Wireless WiFi Link 4965AGN
0019
0020 This driver uses the kernel's mac80211 subsystem.
0021
0022 In order to use this driver, you will need a microcode (uCode)
0023 image for it. You can obtain the microcode from:
0024
0025 <http://intellinuxwireless.org/>.
0026
0027 The microcode is typically installed in /lib/firmware. You can
0028 look in the hotplug script /etc/hotplug/firmware.agent to
0029 determine which directory FIRMWARE_DIR is set to when the script
0030 runs.
0031
0032 If you want to compile the driver as a module ( = code which can be
0033 inserted in and removed from the running kernel whenever you want),
0034 say M here and read <file:Documentation/kbuild/modules.rst>. The
0035 module will be called iwl4965.
0036
0037 config IWL3945
0038 tristate "Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945)"
0039 depends on PCI && MAC80211
0040 depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211
0041 select IWLEGACY
0042 help
0043 Select to build the driver supporting the:
0044
0045 Intel PRO/Wireless 3945ABG/BG Network Connection
0046
0047 This driver uses the kernel's mac80211 subsystem.
0048
0049 In order to use this driver, you will need a microcode (uCode)
0050 image for it. You can obtain the microcode from:
0051
0052 <http://intellinuxwireless.org/>.
0053
0054 The microcode is typically installed in /lib/firmware. You can
0055 look in the hotplug script /etc/hotplug/firmware.agent to
0056 determine which directory FIRMWARE_DIR is set to when the script
0057 runs.
0058
0059 If you want to compile the driver as a module ( = code which can be
0060 inserted in and removed from the running kernel whenever you want),
0061 say M here and read <file:Documentation/kbuild/modules.rst>. The
0062 module will be called iwl3945.
0063
0064 menu "iwl3945 / iwl4965 Debugging Options"
0065 depends on IWLEGACY
0066
0067 config IWLEGACY_DEBUG
0068 bool "Enable full debugging output in iwlegacy (iwl 3945/4965) drivers"
0069 depends on IWLEGACY
0070 help
0071 This option will enable debug tracing output for the iwlegacy
0072 drivers.
0073
0074 This will result in the kernel module being ~100k larger. You can
0075 control which debug output is sent to the kernel log by setting the
0076 value in
0077
0078 /sys/class/net/wlan0/device/debug_level
0079
0080 This entry will only exist if this option is enabled.
0081
0082 To set a value, simply echo an 8-byte hex value to the same file:
0083
0084 % echo 0x43fff > /sys/class/net/wlan0/device/debug_level
0085
0086 You can find the list of debug mask values in:
0087 drivers/net/wireless/iwlegacy/common.h
0088
0089 If this is your first time using this driver, you should say Y here
0090 as the debug information can assist others in helping you resolve
0091 any problems you may encounter.
0092
0093 config IWLEGACY_DEBUGFS
0094 bool "iwlegacy (iwl 3945/4965) debugfs support"
0095 depends on IWLEGACY && MAC80211_DEBUGFS
0096 help
0097 Enable creation of debugfs files for the iwlegacy drivers. This
0098 is a low-impact option that allows getting insight into the
0099 driver's state at runtime.
0100
0101 endmenu