mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-26 20:44:32 +08:00
e932a609e9
The iwlwifi drivers have LED blinking requirements that mac80211 cannot fulfill due to the use of just a single LED instead of different ones for TX, RX, radio etc. Instead, the single LED blinks according to transfers and is solid on the rest of the time. As such, having LED class devices registered that mac80211 triggers are connected to is pointless as we don't use the triggers anyway. Remove all the useless code and add hooks into the driver itself. At the same time, make the LED code abstracted so the core code that determines blink rate etc. can be shared between 3945 and agn in iwlcore. At the same time, the fact that we removed the use of the mac80211 LED triggers means we can also remove the IWLWIFI_LEDS Kconfig symbol since the LED support is now self-contained. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
129 lines
4.2 KiB
Plaintext
129 lines
4.2 KiB
Plaintext
config IWLWIFI
|
|
tristate "Intel Wireless Wifi"
|
|
depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
|
|
select FW_LOADER
|
|
|
|
config IWLWIFI_SPECTRUM_MEASUREMENT
|
|
bool "Enable Spectrum Measurement in iwlagn driver"
|
|
depends on IWLWIFI
|
|
---help---
|
|
This option will enable spectrum measurement for the iwlagn driver.
|
|
|
|
config IWLWIFI_DEBUG
|
|
bool "Enable full debugging output in iwlagn and iwl3945 drivers"
|
|
depends on IWLWIFI
|
|
---help---
|
|
This option will enable debug tracing output for the iwlwifi drivers
|
|
|
|
This will result in the kernel module being ~100k larger. You can
|
|
control which debug output is sent to the kernel log by setting the
|
|
value in
|
|
|
|
/sys/class/net/wlan0/device/debug_level
|
|
|
|
This entry will only exist if this option is enabled.
|
|
|
|
To set a value, simply echo an 8-byte hex value to the same file:
|
|
|
|
% echo 0x43fff > /sys/class/net/wlan0/device/debug_level
|
|
|
|
You can find the list of debug mask values in:
|
|
drivers/net/wireless/iwlwifi/iwl-debug.h
|
|
|
|
If this is your first time using this driver, you should say Y here
|
|
as the debug information can assist others in helping you resolve
|
|
any problems you may encounter.
|
|
|
|
config IWLWIFI_DEBUGFS
|
|
bool "iwlagn debugfs support"
|
|
depends on IWLWIFI && IWLWIFI_DEBUG && MAC80211_DEBUGFS
|
|
---help---
|
|
Enable creation of debugfs files for the iwlwifi drivers.
|
|
|
|
config IWLWIFI_DEVICE_TRACING
|
|
bool "iwlwifi device access tracing"
|
|
depends on IWLWIFI
|
|
depends on EVENT_TRACING
|
|
help
|
|
Say Y here to trace all commands, including TX frames and IO
|
|
accesses, sent to the device. If you say yes, iwlwifi will
|
|
register with the ftrace framework for event tracing and dump
|
|
all this information to the ringbuffer, you may need to
|
|
increase the ringbuffer size. See the ftrace documentation
|
|
for more information.
|
|
|
|
When tracing is not enabled, this option still has some
|
|
(though rather small) overhead.
|
|
|
|
If unsure, say Y so we can help you better when problems
|
|
occur.
|
|
|
|
config IWLAGN
|
|
tristate "Intel Wireless WiFi Next Gen AGN (iwlagn)"
|
|
depends on IWLWIFI
|
|
---help---
|
|
Select to build the driver supporting the:
|
|
|
|
Intel Wireless WiFi Link Next-Gen AGN
|
|
|
|
This driver uses the kernel's mac80211 subsystem.
|
|
|
|
In order to use this driver, you will need a microcode (uCode)
|
|
image for it. You can obtain the microcode from:
|
|
|
|
<http://intellinuxwireless.org/>.
|
|
|
|
The microcode is typically installed in /lib/firmware. You can
|
|
look in the hotplug script /etc/hotplug/firmware.agent to
|
|
determine which directory FIRMWARE_DIR is set to when the script
|
|
runs.
|
|
|
|
If you want to compile the driver as a module ( = code which can be
|
|
inserted in and removed from the running kernel whenever you want),
|
|
say M here and read <file:Documentation/kbuild/modules.txt>. The
|
|
module will be called iwlagn.
|
|
|
|
|
|
config IWL4965
|
|
bool "Intel Wireless WiFi 4965AGN"
|
|
depends on IWLAGN
|
|
---help---
|
|
This option enables support for Intel Wireless WiFi Link 4965AGN
|
|
|
|
config IWL5000
|
|
bool "Intel Wireless WiFi 5000AGN; Intel WiFi Link 1000, 6000, and 6050 Series"
|
|
depends on IWLAGN
|
|
---help---
|
|
This option enables support for Intel Wireless WiFi Link 5000AGN Family
|
|
|
|
config IWL3945
|
|
tristate "Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945)"
|
|
depends on IWLWIFI
|
|
---help---
|
|
Select to build the driver supporting the:
|
|
|
|
Intel PRO/Wireless 3945ABG/BG Network Connection
|
|
|
|
This driver uses the kernel's mac80211 subsystem.
|
|
|
|
In order to use this driver, you will need a microcode (uCode)
|
|
image for it. You can obtain the microcode from:
|
|
|
|
<http://intellinuxwireless.org/>.
|
|
|
|
The microcode is typically installed in /lib/firmware. You can
|
|
look in the hotplug script /etc/hotplug/firmware.agent to
|
|
determine which directory FIRMWARE_DIR is set to when the script
|
|
runs.
|
|
|
|
If you want to compile the driver as a module ( = code which can be
|
|
inserted in and removed from the running kernel whenever you want),
|
|
say M here and read <file:Documentation/kbuild/modules.txt>. The
|
|
module will be called iwl3945.
|
|
|
|
config IWL3945_SPECTRUM_MEASUREMENT
|
|
bool "Enable Spectrum Measurement in iwl3945 driver"
|
|
depends on IWL3945
|
|
---help---
|
|
This option will enable spectrum measurement for the iwl3945 driver.
|