Kconfig 6.8 KB

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