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