mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 19:35:18 +07:00
80bc53931b
Fixes: - iwlwifi is an optional driver and should thus not default to 'y'. - 3945 now depends on IWLCORE. Rework: - There is not a case when IWLCORE should not be selected. At the same time the driver does not use IWLWIFI or IWLCORE. We can just merge the usage of these two. With IWLWIFI being the driver name we proceed to use just it and replace instances of IWLCORE with it. The module name does not change and is still iwlcore. - Both IWLAGN and IWL3945 are selecting FW_LOADER, we can thus just move this up to one select when IWLWIFI is selected. - IWL5000 now supports Intel Wireless Wifi 100, 6000, and 6050 series. - Now that 3945 depends on IWLWIFI we can also indicate its dependency on MAC80211_LEDS and LEDS_CLASS at this level. - IWLAGN_LEDS is not used by driver - remove it. - IWLAGN_SPECTRUM_MEASUREMENT actually depends on IWLWIFI as it forms part of iwlcore module. Move this config up in Kconfig to reflect that and also change name to IWLWIFI_SPECTRUM_MEASUREMENT. - CONFIG_IWLWIFI_RFKILL is used by iwlagn as well as iwl3945, add text to description that indicates this. - CONFIG_IWL3945_RFKILL does not exist - remove usage from driver. - Add "iwlagn" to end of description of IWLAGN to help people understand what iwlagn means in rest of Kconfig text. - Add "iwl3945" to end of description of IWL3945 to help people understand what iwlagn means in rest of Kconfig text. - Change IWLWIFI_DEBUGFS description to indicate that only iwlagn supports it (for now). Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Reported-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
131 lines
4.1 KiB
Plaintext
131 lines
4.1 KiB
Plaintext
config IWLWIFI
|
|
tristate "Intel Wireless Wifi"
|
|
depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
|
|
select LIB80211
|
|
select FW_LOADER
|
|
select MAC80211_LEDS if IWLWIFI_LEDS
|
|
select LEDS_CLASS if IWLWIFI_LEDS
|
|
select RFKILL if IWLWIFI_RFKILL
|
|
select MAC80211_LEDS if IWL3945_LEDS
|
|
select LEDS_CLASS if IWL3945_LEDS
|
|
|
|
config IWLWIFI_LEDS
|
|
bool "Enable LED support in iwlagn driver"
|
|
depends on IWLWIFI
|
|
|
|
config IWLWIFI_RFKILL
|
|
bool "Enable RF kill support in iwlagn and iwl3945 drivers"
|
|
depends on IWLWIFI
|
|
|
|
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 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.ko.
|
|
|
|
|
|
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 100, 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.ko.
|
|
|
|
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.
|
|
|
|
config IWL3945_LEDS
|
|
bool "Enable LEDS features in iwl3945 driver"
|
|
depends on IWL3945
|
|
---help---
|
|
This option enables LEDS for the iwl3945 driver.
|