]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - drivers/net/wireless/ralink/rt2x00/Kconfig
treewide: Add SPDX license identifier - Makefile/Kconfig
[mirror_ubuntu-hirsute-kernel.git] / drivers / net / wireless / ralink / rt2x00 / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
4c99f3e4 2menuconfig RT2X00
5dc5340c 3 tristate "Ralink driver support"
6a084839 4 depends on MAC80211 && HAS_DMA
95ea3627 5 ---help---
33172899 6 This will enable the support for the Ralink drivers,
95ea3627
ID
7 developed in the rt2x00 project <http://rt2x00.serialmonkey.com>.
8
3a4d3af7 9 These drivers make use of the mac80211 stack.
95ea3627
ID
10
11 When building one of the individual drivers, the rt2x00 library
12 will also be created. That library (when the driver is built as
4737f097 13 a module) will be called rt2x00lib.
95ea3627 14
3a4d3af7
ID
15 Additionally PCI and USB libraries will also be build depending
16 on the types of drivers being selected, these libraries will be
4737f097 17 called rt2x00pci and rt2x00usb.
3a4d3af7 18
0d84d78d
RD
19if RT2X00
20
95ea3627 21config RT2400PCI
3a4d3af7 22 tristate "Ralink rt2400 (PCI/PCMCIA) support"
0d84d78d 23 depends on PCI
69a2bac8 24 select RT2X00_LIB_MMIO
95ea3627
ID
25 select RT2X00_LIB_PCI
26 select EEPROM_93CX6
27 ---help---
3a4d3af7
ID
28 This adds support for rt2400 wireless chipset family.
29 Supported chips: RT2460.
95ea3627 30
4737f097 31 When compiled as a module, this driver will be called rt2400pci.
95ea3627 32
95ea3627 33config RT2500PCI
3a4d3af7 34 tristate "Ralink rt2500 (PCI/PCMCIA) support"
0d84d78d 35 depends on PCI
69a2bac8 36 select RT2X00_LIB_MMIO
95ea3627
ID
37 select RT2X00_LIB_PCI
38 select EEPROM_93CX6
39 ---help---
3a4d3af7
ID
40 This adds support for rt2500 wireless chipset family.
41 Supported chips: RT2560.
95ea3627 42
4737f097 43 When compiled as a module, this driver will be called rt2500pci.
95ea3627 44
95ea3627 45config RT61PCI
3a4d3af7 46 tristate "Ralink rt2501/rt61 (PCI/PCMCIA) support"
0d84d78d 47 depends on PCI
95ea3627 48 select RT2X00_LIB_PCI
69a2bac8 49 select RT2X00_LIB_MMIO
95ea3627 50 select RT2X00_LIB_FIRMWARE
61e754f4 51 select RT2X00_LIB_CRYPTO
a7f3a06c 52 select CRC_ITU_T
95ea3627
ID
53 select EEPROM_93CX6
54 ---help---
3a4d3af7
ID
55 This adds support for rt2501 wireless chipset family.
56 Supported chips: RT2561, RT2561S & RT2661.
95ea3627 57
4737f097 58 When compiled as a module, this driver will be called rt61pci.
95ea3627 59
a9b3a9f7 60config RT2800PCI
a6a8d66e 61 tristate "Ralink rt27xx/rt28xx/rt30xx (PCI/PCIe/PCMCIA) support"
fe7ef7c6 62 depends on PCI
89297425 63 select RT2800_LIB
e5553f08 64 select RT2800_LIB_MMIO
69a2bac8 65 select RT2X00_LIB_MMIO
fe7ef7c6 66 select RT2X00_LIB_PCI
a9b3a9f7
ID
67 select RT2X00_LIB_FIRMWARE
68 select RT2X00_LIB_CRYPTO
69 select CRC_CCITT
70 select EEPROM_93CX6
71 ---help---
a6a8d66e
GW
72 This adds support for rt27xx/rt28xx/rt30xx wireless chipset family.
73 Supported chips: RT2760, RT2790, RT2860, RT2880, RT2890, RT3052,
74 RT3090, RT3091 & RT3092
f44eafa7 75
a9b3a9f7
ID
76 When compiled as a module, this driver will be called "rt2800pci.ko".
77
de1ebdce
GW
78if RT2800PCI
79
f93bc9b3 80config RT2800PCI_RT33XX
ccd3caa4
GW
81 bool "rt2800pci - Include support for rt33xx devices"
82 default y
de1ebdce 83 ---help---
f93bc9b3 84 This adds support for rt33xx wireless chipset family to the
de1ebdce 85 rt2800pci driver.
f93bc9b3 86 Supported chips: RT3390
de1ebdce 87
de1ebdce 88config RT2800PCI_RT35XX
46af584d 89 bool "rt2800pci - Include support for rt35xx devices (EXPERIMENTAL)"
0f93c794 90 default y
de1ebdce
GW
91 ---help---
92 This adds support for rt35xx wireless chipset family to the
93 rt2800pci driver.
94 Supported chips: RT3060, RT3062, RT3562, RT3592
95
de1ebdce 96
60687ba7 97config RT2800PCI_RT53XX
aca355b9 98 bool "rt2800pci - Include support for rt53xx devices (EXPERIMENTAL)"
ea81966c 99 default y
60687ba7
RST
100 ---help---
101 This adds support for rt53xx wireless chipset family to the
102 rt2800pci driver.
103 Supported chips: RT5390
104
a89534ed
WH
105config RT2800PCI_RT3290
106 bool "rt2800pci - Include support for rt3290 devices (EXPERIMENTAL)"
a89534ed
WH
107 default y
108 ---help---
109 This adds support for rt3290 wireless chipset family to the
110 rt2800pci driver.
111 Supported chips: RT3290
de1ebdce
GW
112endif
113
95ea3627 114config RT2500USB
3a4d3af7 115 tristate "Ralink rt2500 (USB) support"
0d84d78d 116 depends on USB
95ea3627 117 select RT2X00_LIB_USB
dddfb478 118 select RT2X00_LIB_CRYPTO
95ea3627 119 ---help---
3a4d3af7
ID
120 This adds support for rt2500 wireless chipset family.
121 Supported chips: RT2571 & RT2572.
95ea3627 122
4737f097 123 When compiled as a module, this driver will be called rt2500usb.
95ea3627
ID
124
125config RT73USB
3a4d3af7 126 tristate "Ralink rt2501/rt73 (USB) support"
0d84d78d 127 depends on USB
95ea3627
ID
128 select RT2X00_LIB_USB
129 select RT2X00_LIB_FIRMWARE
906c110f 130 select RT2X00_LIB_CRYPTO
a7f3a06c 131 select CRC_ITU_T
95ea3627 132 ---help---
3a4d3af7
ID
133 This adds support for rt2501 wireless chipset family.
134 Supported chips: RT2571W, RT2573 & RT2671.
95ea3627 135
4737f097 136 When compiled as a module, this driver will be called rt73usb.
95ea3627 137
d53d9e67 138config RT2800USB
a6a8d66e 139 tristate "Ralink rt27xx/rt28xx/rt30xx (USB) support"
46af584d 140 depends on USB
89297425 141 select RT2800_LIB
d53d9e67 142 select RT2X00_LIB_USB
d53d9e67
ID
143 select RT2X00_LIB_FIRMWARE
144 select RT2X00_LIB_CRYPTO
145 select CRC_CCITT
146 ---help---
a6a8d66e
GW
147 This adds support for rt27xx/rt28xx/rt30xx wireless chipset family.
148 Supported chips: RT2770, RT2870 & RT3070, RT3071 & RT3072
71eafe32 149
d53d9e67
ID
150 When compiled as a module, this driver will be called "rt2800usb.ko".
151
de1ebdce
GW
152if RT2800USB
153
f93bc9b3 154config RT2800USB_RT33XX
ccd3caa4
GW
155 bool "rt2800usb - Include support for rt33xx devices"
156 default y
de1ebdce 157 ---help---
f93bc9b3 158 This adds support for rt33xx wireless chipset family to the
de1ebdce 159 rt2800usb driver.
f93bc9b3 160 Supported chips: RT3370
de1ebdce 161
de1ebdce 162config RT2800USB_RT35XX
46af584d 163 bool "rt2800usb - Include support for rt35xx devices (EXPERIMENTAL)"
0f93c794 164 default y
de1ebdce
GW
165 ---help---
166 This adds support for rt35xx wireless chipset family to the
167 rt2800usb driver.
168 Supported chips: RT3572
169
d02433d1
GJ
170config RT2800USB_RT3573
171 bool "rt2800usb - Include support for rt3573 devices (EXPERIMENTAL)"
172 ---help---
173 This enables support for RT3573 chipset based wireless USB devices
174 in the rt2800usb driver.
175
aca355b9
GW
176config RT2800USB_RT53XX
177 bool "rt2800usb - Include support for rt53xx devices (EXPERIMENTAL)"
aca355b9
GW
178 ---help---
179 This adds support for rt53xx wireless chipset family to the
6adaea30 180 rt2800usb driver.
aca355b9
GW
181 Supported chips: RT5370
182
939ec51d
SG
183config RT2800USB_RT55XX
184 bool "rt2800usb - Include support for rt55xx devices (EXPERIMENTAL)"
185 ---help---
186 This adds support for rt55xx wireless chipset family to the
187 rt2800usb driver.
188 Supported chips: RT5572
189
de1ebdce
GW
190config RT2800USB_UNKNOWN
191 bool "rt2800usb - Include support for unknown (USB) devices"
192 default n
193 ---help---
46af584d
GW
194 This adds support for rt2800usb devices that are known to
195 have a rt28xx family compatible chipset, but for which the exact
196 chipset is unknown.
de1ebdce
GW
197
198 Support status for these devices is unknown, and enabling these
199 devices may or may not work.
200
201endif
202
fe7ef7c6
GJ
203config RT2800SOC
204 tristate "Ralink WiSoC support"
41977e86 205 depends on SOC_RT288X || SOC_RT305X || SOC_MT7620
fe7ef7c6
GJ
206 select RT2X00_LIB_SOC
207 select RT2X00_LIB_MMIO
208 select RT2X00_LIB_CRYPTO
209 select RT2X00_LIB_FIRMWARE
210 select RT2800_LIB
211 select RT2800_LIB_MMIO
212 ---help---
213 This adds support for Ralink WiSoC devices.
214 Supported chips: RT2880, RT3050, RT3052, RT3350, RT3352.
215
216 When compiled as a module, this driver will be called rt2800soc.
217
218
89297425
BZ
219config RT2800_LIB
220 tristate
221
e5553f08
GJ
222config RT2800_LIB_MMIO
223 tristate
0bc202b3 224 select RT2X00_LIB_MMIO
9732497d 225 select RT2800_LIB
e5553f08 226
69a2bac8
GJ
227config RT2X00_LIB_MMIO
228 tristate
229
4c99f3e4
GW
230config RT2X00_LIB_PCI
231 tristate
232 select RT2X00_LIB
233
5d78d34b
ID
234config RT2X00_LIB_SOC
235 tristate
236 select RT2X00_LIB
237
4c99f3e4
GW
238config RT2X00_LIB_USB
239 tristate
240 select RT2X00_LIB
241
242config RT2X00_LIB
243 tristate
244
245config RT2X00_LIB_FIRMWARE
6341e62b 246 bool
4c99f3e4
GW
247 select FW_LOADER
248
249config RT2X00_LIB_CRYPTO
6341e62b 250 bool
4c99f3e4 251
4c99f3e4 252config RT2X00_LIB_LEDS
6341e62b 253 bool
4c99f3e4
GW
254 default y if (RT2X00_LIB=y && LEDS_CLASS=y) || (RT2X00_LIB=m && LEDS_CLASS!=n)
255
95ea3627
ID
256config RT2X00_LIB_DEBUGFS
257 bool "Ralink debugfs support"
258 depends on RT2X00_LIB && MAC80211_DEBUGFS
259 ---help---
260 Enable creation of debugfs files for the rt2x00 drivers.
261 These debugfs files support both reading and writing of the
3a4d3af7 262 most important register types of the rt2x00 hardware.
95ea3627
ID
263
264config RT2X00_DEBUG
265 bool "Ralink debug output"
266 depends on RT2X00_LIB
267 ---help---
268 Enable debugging output for all rt2x00 modules
269
0d84d78d 270endif