forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/net/wireless/intel/iwlwifi/Kconfig
....@@ -1,8 +1,9 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config IWLWIFI
23 tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) "
3
- depends on PCI && MAC80211 && HAS_IOMEM
4
+ depends on PCI && HAS_IOMEM && CFG80211
45 select FW_LOADER
5
- ---help---
6
+ help
67 Select to build the driver supporting the:
78
89 Intel Wireless WiFi Link Next-Gen AGN
....@@ -30,7 +31,7 @@
3031 In order to use this driver, you will need a firmware
3132 image for it. You can obtain the microcode from:
3233
33
- <http://wireless.kernel.org/en/users/Drivers/iwlwifi>.
34
+ <https://wireless.wiki.kernel.org/en/users/Drivers/iwlwifi>.
3435
3536 The firmware is typically installed in /lib/firmware. You can
3637 look in the hotplug script /etc/hotplug/firmware.agent to
....@@ -39,7 +40,7 @@
3940
4041 If you want to compile the driver as a module ( = code which can be
4142 inserted in and removed from the running kernel whenever you want),
42
- say M here and read <file:Documentation/kbuild/modules.txt>. The
43
+ say M here and read <file:Documentation/kbuild/modules.rst>. The
4344 module will be called iwlwifi.
4445
4546 if IWLWIFI
....@@ -47,12 +48,14 @@
4748 config IWLWIFI_LEDS
4849 bool
4950 depends on LEDS_CLASS=y || LEDS_CLASS=IWLWIFI
51
+ depends on IWLMVM || IWLDVM
5052 select LEDS_TRIGGERS
5153 select MAC80211_LEDS
5254 default y
5355
5456 config IWLDVM
5557 tristate "Intel Wireless WiFi DVM Firmware support"
58
+ depends on MAC80211
5659 help
5760 This is the driver that supports the DVM firmware. The list
5861 of the devices that use this firmware is available here:
....@@ -61,6 +64,7 @@
6164 config IWLMVM
6265 tristate "Intel Wireless WiFi MVM Firmware support"
6366 select WANT_DEV_COREDUMP
67
+ depends on MAC80211
6468 help
6569 This is the driver that supports the MVM firmware. The list
6670 of the devices that use this firmware is available here:
....@@ -88,25 +92,11 @@
8892 If unsure, don't enable this option, as some programs might
8993 expect incoming broadcasts for their normal operations.
9094
91
-config IWLWIFI_PCIE_RTPM
92
- bool "Enable runtime power management mode for PCIe devices"
93
- depends on IWLMVM && PM && EXPERT
94
- help
95
- Say Y here to enable runtime power management for PCIe
96
- devices. If enabled, the device will go into low power mode
97
- when idle for a short period of time, allowing for improved
98
- power saving during runtime. Note that this feature requires
99
- a tight integration with the platform. It is not recommended
100
- to enable this feature without proper validation with the
101
- specific target platform.
102
-
103
- If unsure, say N.
104
-
10595 menu "Debugging Options"
10696
10797 config IWLWIFI_DEBUG
10898 bool "Enable full debugging output in the iwlwifi driver"
109
- ---help---
99
+ help
110100 This option will enable debug tracing output for the iwlwifi drivers
111101
112102 This will result in the kernel module being ~100k larger. You can
....@@ -129,9 +119,9 @@
129119 any problems you may encounter.
130120
131121 config IWLWIFI_DEBUGFS
132
- bool "iwlwifi debugfs support"
133
- depends on MAC80211_DEBUGFS
134
- ---help---
122
+ bool "iwlwifi debugfs support"
123
+ depends on MAC80211_DEBUGFS
124
+ help
135125 Enable creation of debugfs files for the iwlwifi drivers. This
136126 is a low-impact option that allows getting insight into the
137127 driver's state at runtime.