hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/drivers/net/wireless/ath/ath9k/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: ISC
12 config ATH9K_HW
23 tristate
34 config ATH9K_COMMON
....@@ -13,19 +14,17 @@
1314 bool "Atheros bluetooth coexistence support"
1415 depends on (ATH9K || ATH9K_HTC)
1516 default y
16
- ---help---
17
+ help
1718 Say Y, if you want to use the ath9k/ath9k_htc radios together with
1819 Bluetooth modules in the same system.
1920
2021 config ATH9K
2122 tristate "Atheros 802.11n wireless cards support"
2223 depends on MAC80211 && HAS_DMA
24
+ select MAC80211_LEDS if LEDS_CLASS=y || LEDS_CLASS=MAC80211
2325 select ATH9K_HW
24
- select MAC80211_LEDS
25
- select LEDS_CLASS
26
- select NEW_LEDS
2726 select ATH9K_COMMON
28
- ---help---
27
+ help
2928 This module adds support for wireless adapters based on
3029 Atheros IEEE 802.11n AR5008, AR9001 and AR9002 family
3130 of chipsets. For a specific list of supported external
....@@ -33,7 +32,7 @@
3332 APs that come with these cards refer to ath9k wiki
3433 products page:
3534
36
- http://wireless.kernel.org/en/users/Drivers/ath9k/products
35
+ https://wireless.wiki.kernel.org/en/users/Drivers/ath9k/products
3736
3837 If you choose to build a module, it'll be called ath9k.
3938
....@@ -41,7 +40,7 @@
4140 bool "Atheros ath9k PCI/PCIe bus support"
4241 default y
4342 depends on ATH9K && PCI
44
- ---help---
43
+ help
4544 This option enables the PCI bus support in ath9k.
4645
4746 Say Y, if you have a compatible PCI/PCIe wireless card.
....@@ -50,7 +49,7 @@
5049 bool "Atheros ath9k AHB bus support"
5150 depends on ATH9K
5251 default n
53
- ---help---
52
+ help
5453 This option enables the AHB bus support in ath9k.
5554
5655 Say Y, if you have a SoC with a compatible built-in
....@@ -61,7 +60,7 @@
6160 depends on ATH9K && DEBUG_FS
6261 select MAC80211_DEBUGFS
6362 select ATH9K_COMMON_DEBUG
64
- ---help---
63
+ help
6564 Say Y, if you need access to ath9k's statistics for
6665 interrupts, rate control, etc.
6766
....@@ -73,14 +72,14 @@
7372 depends on ATH9K && ATH9K_DEBUGFS && DEBUG_FS
7473 select MAC80211_DEBUGFS
7574 default n
76
- ---help---
75
+ help
7776 This option enables detailed statistics for association stations.
7877
7978 config ATH9K_TX99
8079 bool "Atheros ath9k TX99 testing support"
8180 depends on ATH9K_DEBUGFS && CFG80211_CERTIFICATION_ONUS
8281 default n
83
- ---help---
82
+ help
8483 Say N. This should only be enabled on systems undergoing
8584 certification testing and evaluation in a controlled environment.
8685 Enabling this will only enable TX99 support, all other modes of
....@@ -100,7 +99,7 @@
10099 bool "Atheros DFS support for certified platforms"
101100 depends on ATH9K && CFG80211_CERTIFICATION_ONUS
102101 default n
103
- ---help---
102
+ help
104103 This option enables DFS support for initiating radiation on
105104 ath9k. There is no way to dynamically detect if a card was DFS
106105 certified and as such this is left as a build time option. This
....@@ -116,10 +115,10 @@
116115 except increase code size.
117116
118117 config ATH9K_DYNACK
119
- bool "Atheros ath9k ACK timeout estimation algorithm (EXPERIMENTAL)"
118
+ bool "Atheros ath9k ACK timeout estimation algorithm"
120119 depends on ATH9K
121120 default n
122
- ---help---
121
+ help
123122 This option enables ath9k dynamic ACK timeout estimation algorithm
124123 based on ACK frame RX timestamp, TX frame timestamp and frame
125124 duration
....@@ -128,7 +127,7 @@
128127 bool "Wake on Wireless LAN support (EXPERIMENTAL)"
129128 depends on ATH9K && PM
130129 default n
131
- ---help---
130
+ help
132131 This option enables Wake on Wireless LAN support for certain cards.
133132 Currently, AR9462 is supported.
134133
....@@ -143,40 +142,55 @@
143142 a platform that can toggle the RF-Kill GPIO.
144143
145144 config ATH9K_CHANNEL_CONTEXT
146
- bool "Channel Context support"
147
- depends on ATH9K
148
- default n
149
- ---help---
150
- This option enables channel context support in ath9k, which is needed
151
- for multi-channel concurrency. Enable this if P2P PowerSave support
152
- is required.
145
+ bool "Channel Context support"
146
+ depends on ATH9K
147
+ default n
148
+ help
149
+ This option enables channel context support in ath9k, which is needed
150
+ for multi-channel concurrency. Enable this if P2P PowerSave support
151
+ is required.
153152
154153 config ATH9K_PCOEM
155154 bool "Atheros ath9k support for PC OEM cards" if EXPERT
156155 depends on ATH9K
157156 default y
158157
158
+config ATH9K_PCI_NO_EEPROM
159
+ tristate "Atheros ath9k pci loader for EEPROM-less chips"
160
+ depends on ATH9K_PCI
161
+ default n
162
+ help
163
+ This separate driver provides a loader in order to support the
164
+ AR500X to AR92XX-generation of ath9k PCI(e) WiFi chips, which have
165
+ their initialization data (which contains the real PCI Device ID
166
+ that ath9k will need) stored together with the calibration data out
167
+ of reach for the ath9k chip.
168
+
169
+ These devices are usually various network appliances, routers or
170
+ access Points and such.
171
+
172
+ If unsure say N.
173
+
159174 config ATH9K_HTC
160
- tristate "Atheros HTC based wireless cards support"
161
- depends on USB && MAC80211
162
- select ATH9K_HW
163
- select MAC80211_LEDS
164
- select LEDS_CLASS
165
- select NEW_LEDS
166
- select ATH9K_COMMON
167
- ---help---
168
- Support for Atheros HTC based cards.
169
- Chipsets supported: AR9271
175
+ tristate "Atheros HTC based wireless cards support"
176
+ depends on USB && MAC80211
177
+ select MAC80211_LEDS if LEDS_CLASS=y || LEDS_CLASS=MAC80211
178
+ select ATH9K_HW
179
+ select ATH9K_COMMON
180
+ help
181
+ Support for Atheros HTC based cards.
182
+ Chipsets supported: AR9271
170183
171
- For more information: http://wireless.kernel.org/en/users/Drivers/ath9k_htc
184
+ For more information:
185
+ https://wireless.wiki.kernel.org/en/users/Drivers/ath9k_htc
172186
173
- The built module will be ath9k_htc.
187
+ The built module will be ath9k_htc.
174188
175189 config ATH9K_HTC_DEBUGFS
176190 bool "Atheros ath9k_htc debugging"
177191 depends on ATH9K_HTC && DEBUG_FS
178192 select ATH9K_COMMON_DEBUG
179
- ---help---
193
+ help
180194 Say Y, if you need access to ath9k_htc's statistics.
181195 As well as access to the FFT/spectral data.
182196
....@@ -184,7 +198,7 @@
184198 bool "Random number generator support"
185199 depends on ATH9K && (HW_RANDOM = y || HW_RANDOM = ATH9K)
186200 default n
187
- ---help---
201
+ help
188202 This option incorporates the ADC register output as a source of
189203 randomness into Linux entropy pool (/dev/urandom and /dev/random)
190204
....@@ -196,5 +210,5 @@
196210 depends on ATH9K_DEBUGFS || ATH9K_HTC_DEBUGFS
197211 select RELAY
198212 default n
199
- ---help---
213
+ help
200214 Say Y to enable access to the FFT/spectral data via debugfs.