1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 27ac9a364SKalle Valoconfig IWLEGACY 37ac9a364SKalle Valo tristate 47ac9a364SKalle Valo select FW_LOADER 57ac9a364SKalle Valo select NEW_LEDS 67ac9a364SKalle Valo select LEDS_CLASS 77ac9a364SKalle Valo select LEDS_TRIGGERS 87ac9a364SKalle Valo select MAC80211_LEDS 97ac9a364SKalle Valo 107ac9a364SKalle Valoconfig IWL4965 117ac9a364SKalle Valo tristate "Intel Wireless WiFi 4965AGN (iwl4965)" 127ac9a364SKalle Valo depends on PCI && MAC80211 137ac9a364SKalle Valo select IWLEGACY 147ac9a364SKalle Valo ---help--- 157ac9a364SKalle Valo This option enables support for 167ac9a364SKalle Valo 177ac9a364SKalle Valo Select to build the driver supporting the: 187ac9a364SKalle Valo 197ac9a364SKalle Valo Intel Wireless WiFi Link 4965AGN 207ac9a364SKalle Valo 217ac9a364SKalle Valo This driver uses the kernel's mac80211 subsystem. 227ac9a364SKalle Valo 237ac9a364SKalle Valo In order to use this driver, you will need a microcode (uCode) 247ac9a364SKalle Valo image for it. You can obtain the microcode from: 257ac9a364SKalle Valo 267ac9a364SKalle Valo <http://intellinuxwireless.org/>. 277ac9a364SKalle Valo 287ac9a364SKalle Valo The microcode is typically installed in /lib/firmware. You can 297ac9a364SKalle Valo look in the hotplug script /etc/hotplug/firmware.agent to 307ac9a364SKalle Valo determine which directory FIRMWARE_DIR is set to when the script 317ac9a364SKalle Valo runs. 327ac9a364SKalle Valo 337ac9a364SKalle Valo If you want to compile the driver as a module ( = code which can be 347ac9a364SKalle Valo inserted in and removed from the running kernel whenever you want), 35cd238effSMauro Carvalho Chehab say M here and read <file:Documentation/kbuild/modules.rst>. The 367ac9a364SKalle Valo module will be called iwl4965. 377ac9a364SKalle Valo 387ac9a364SKalle Valoconfig IWL3945 397ac9a364SKalle Valo tristate "Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945)" 407ac9a364SKalle Valo depends on PCI && MAC80211 417ac9a364SKalle Valo select IWLEGACY 427ac9a364SKalle Valo ---help--- 437ac9a364SKalle Valo Select to build the driver supporting the: 447ac9a364SKalle Valo 457ac9a364SKalle Valo Intel PRO/Wireless 3945ABG/BG Network Connection 467ac9a364SKalle Valo 477ac9a364SKalle Valo This driver uses the kernel's mac80211 subsystem. 487ac9a364SKalle Valo 497ac9a364SKalle Valo In order to use this driver, you will need a microcode (uCode) 507ac9a364SKalle Valo image for it. You can obtain the microcode from: 517ac9a364SKalle Valo 527ac9a364SKalle Valo <http://intellinuxwireless.org/>. 537ac9a364SKalle Valo 547ac9a364SKalle Valo The microcode is typically installed in /lib/firmware. You can 557ac9a364SKalle Valo look in the hotplug script /etc/hotplug/firmware.agent to 567ac9a364SKalle Valo determine which directory FIRMWARE_DIR is set to when the script 577ac9a364SKalle Valo runs. 587ac9a364SKalle Valo 597ac9a364SKalle Valo If you want to compile the driver as a module ( = code which can be 607ac9a364SKalle Valo inserted in and removed from the running kernel whenever you want), 61cd238effSMauro Carvalho Chehab say M here and read <file:Documentation/kbuild/modules.rst>. The 627ac9a364SKalle Valo module will be called iwl3945. 637ac9a364SKalle Valo 647ac9a364SKalle Valomenu "iwl3945 / iwl4965 Debugging Options" 657ac9a364SKalle Valo depends on IWLEGACY 667ac9a364SKalle Valo 677ac9a364SKalle Valoconfig IWLEGACY_DEBUG 687ac9a364SKalle Valo bool "Enable full debugging output in iwlegacy (iwl 3945/4965) drivers" 697ac9a364SKalle Valo depends on IWLEGACY 707ac9a364SKalle Valo ---help--- 717ac9a364SKalle Valo This option will enable debug tracing output for the iwlegacy 727ac9a364SKalle Valo drivers. 737ac9a364SKalle Valo 747ac9a364SKalle Valo This will result in the kernel module being ~100k larger. You can 757ac9a364SKalle Valo control which debug output is sent to the kernel log by setting the 767ac9a364SKalle Valo value in 777ac9a364SKalle Valo 787ac9a364SKalle Valo /sys/class/net/wlan0/device/debug_level 797ac9a364SKalle Valo 807ac9a364SKalle Valo This entry will only exist if this option is enabled. 817ac9a364SKalle Valo 827ac9a364SKalle Valo To set a value, simply echo an 8-byte hex value to the same file: 837ac9a364SKalle Valo 847ac9a364SKalle Valo % echo 0x43fff > /sys/class/net/wlan0/device/debug_level 857ac9a364SKalle Valo 867ac9a364SKalle Valo You can find the list of debug mask values in: 877ac9a364SKalle Valo drivers/net/wireless/iwlegacy/common.h 887ac9a364SKalle Valo 897ac9a364SKalle Valo If this is your first time using this driver, you should say Y here 907ac9a364SKalle Valo as the debug information can assist others in helping you resolve 917ac9a364SKalle Valo any problems you may encounter. 927ac9a364SKalle Valo 937ac9a364SKalle Valoconfig IWLEGACY_DEBUGFS 947ac9a364SKalle Valo bool "iwlegacy (iwl 3945/4965) debugfs support" 957ac9a364SKalle Valo depends on IWLEGACY && MAC80211_DEBUGFS 967ac9a364SKalle Valo ---help--- 977ac9a364SKalle Valo Enable creation of debugfs files for the iwlegacy drivers. This 987ac9a364SKalle Valo is a low-impact option that allows getting insight into the 997ac9a364SKalle Valo driver's state at runtime. 1007ac9a364SKalle Valo 1017ac9a364SKalle Valoendmenu 102