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