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