162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ciconfig IWLEGACY 362306a36Sopenharmony_ci tristate 462306a36Sopenharmony_ci select FW_LOADER 562306a36Sopenharmony_ci select LEDS_TRIGGERS 662306a36Sopenharmony_ci select MAC80211_LEDS 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciconfig IWL4965 962306a36Sopenharmony_ci tristate "Intel Wireless WiFi 4965AGN (iwl4965)" 1062306a36Sopenharmony_ci depends on PCI && MAC80211 1162306a36Sopenharmony_ci depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211 1262306a36Sopenharmony_ci select IWLEGACY 1362306a36Sopenharmony_ci help 1462306a36Sopenharmony_ci This option enables support for 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci Select to build the driver supporting the: 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci Intel Wireless WiFi Link 4965AGN 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci This driver uses the kernel's mac80211 subsystem. 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci In order to use this driver, you will need a microcode (uCode) 2362306a36Sopenharmony_ci image for it. You can obtain the microcode from: 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ci <http://intellinuxwireless.org/>. 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci The microcode is typically installed in /lib/firmware. You can 2862306a36Sopenharmony_ci look in the hotplug script /etc/hotplug/firmware.agent to 2962306a36Sopenharmony_ci determine which directory FIRMWARE_DIR is set to when the script 3062306a36Sopenharmony_ci runs. 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci If you want to compile the driver as a module ( = code which can be 3362306a36Sopenharmony_ci inserted in and removed from the running kernel whenever you want), 3462306a36Sopenharmony_ci say M here and read <file:Documentation/kbuild/modules.rst>. The 3562306a36Sopenharmony_ci module will be called iwl4965. 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ciconfig IWL3945 3862306a36Sopenharmony_ci tristate "Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945)" 3962306a36Sopenharmony_ci depends on PCI && MAC80211 4062306a36Sopenharmony_ci depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211 4162306a36Sopenharmony_ci select IWLEGACY 4262306a36Sopenharmony_ci help 4362306a36Sopenharmony_ci Select to build the driver supporting the: 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ci Intel PRO/Wireless 3945ABG/BG Network Connection 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci This driver uses the kernel's mac80211 subsystem. 4862306a36Sopenharmony_ci 4962306a36Sopenharmony_ci In order to use this driver, you will need a microcode (uCode) 5062306a36Sopenharmony_ci image for it. You can obtain the microcode from: 5162306a36Sopenharmony_ci 5262306a36Sopenharmony_ci <http://intellinuxwireless.org/>. 5362306a36Sopenharmony_ci 5462306a36Sopenharmony_ci The microcode is typically installed in /lib/firmware. You can 5562306a36Sopenharmony_ci look in the hotplug script /etc/hotplug/firmware.agent to 5662306a36Sopenharmony_ci determine which directory FIRMWARE_DIR is set to when the script 5762306a36Sopenharmony_ci runs. 5862306a36Sopenharmony_ci 5962306a36Sopenharmony_ci If you want to compile the driver as a module ( = code which can be 6062306a36Sopenharmony_ci inserted in and removed from the running kernel whenever you want), 6162306a36Sopenharmony_ci say M here and read <file:Documentation/kbuild/modules.rst>. The 6262306a36Sopenharmony_ci module will be called iwl3945. 6362306a36Sopenharmony_ci 6462306a36Sopenharmony_cimenu "iwl3945 / iwl4965 Debugging Options" 6562306a36Sopenharmony_ci depends on IWLEGACY 6662306a36Sopenharmony_ci 6762306a36Sopenharmony_ciconfig IWLEGACY_DEBUG 6862306a36Sopenharmony_ci bool "Enable full debugging output in iwlegacy (iwl 3945/4965) drivers" 6962306a36Sopenharmony_ci depends on IWLEGACY 7062306a36Sopenharmony_ci help 7162306a36Sopenharmony_ci This option will enable debug tracing output for the iwlegacy 7262306a36Sopenharmony_ci drivers. 7362306a36Sopenharmony_ci 7462306a36Sopenharmony_ci This will result in the kernel module being ~100k larger. You can 7562306a36Sopenharmony_ci control which debug output is sent to the kernel log by setting the 7662306a36Sopenharmony_ci value in 7762306a36Sopenharmony_ci 7862306a36Sopenharmony_ci /sys/class/net/wlan0/device/debug_level 7962306a36Sopenharmony_ci 8062306a36Sopenharmony_ci This entry will only exist if this option is enabled. 8162306a36Sopenharmony_ci 8262306a36Sopenharmony_ci To set a value, simply echo an 8-byte hex value to the same file: 8362306a36Sopenharmony_ci 8462306a36Sopenharmony_ci % echo 0x43fff > /sys/class/net/wlan0/device/debug_level 8562306a36Sopenharmony_ci 8662306a36Sopenharmony_ci You can find the list of debug mask values in: 8762306a36Sopenharmony_ci drivers/net/wireless/iwlegacy/common.h 8862306a36Sopenharmony_ci 8962306a36Sopenharmony_ci If this is your first time using this driver, you should say Y here 9062306a36Sopenharmony_ci as the debug information can assist others in helping you resolve 9162306a36Sopenharmony_ci any problems you may encounter. 9262306a36Sopenharmony_ci 9362306a36Sopenharmony_ciconfig IWLEGACY_DEBUGFS 9462306a36Sopenharmony_ci bool "iwlegacy (iwl 3945/4965) debugfs support" 9562306a36Sopenharmony_ci depends on IWLEGACY && MAC80211_DEBUGFS 9662306a36Sopenharmony_ci help 9762306a36Sopenharmony_ci Enable creation of debugfs files for the iwlegacy drivers. This 9862306a36Sopenharmony_ci is a low-impact option that allows getting insight into the 9962306a36Sopenharmony_ci driver's state at runtime. 10062306a36Sopenharmony_ci 10162306a36Sopenharmony_ciendmenu 102