summaryrefslogtreecommitdiff
path: root/Kconfig (plain)
blob: 0a5ba0e169233dcee7e3393a3d0345f1bdb81304
1config RLT_WIFI
2 tristate "RLT WIFI Driver"
3 select WIFI_BASIC_FUNC if RLT_WIFI
4
5config MT_WIFI_PATH
6 string
7 depends on RLT_WIFI
8 default "rlt_wifi"
9
10if RLT_WIFI
11menu "WiFi Generic Feature Options"
12choice
13 prompt "EEPROM Type of 1st Card"
14 depends on ! FIRST_IF_NONE
15
16 config FIRST_IF_EEPROM_PROM
17 bool "EEPROM"
18
19 config FIRST_IF_EEPROM_EFUSE
20 bool "EFUSE"
21
22 config FIRST_IF_EEPROM_FLASH
23 bool "FLASH"
24endchoice
25
26config RT_FIRST_CARD_EEPROM
27 string
28 depends on ! FIRST_IF_NONE
29 default "prom" if FIRST_IF_EEPROM_PROM
30 default "efuse" if FIRST_IF_EEPROM_EFUSE
31 default "flash" if FIRST_IF_EEPROM_FLASH
32
33choice
34 prompt "EEPROM Type of 2nd Card"
35 depends on ! SECOND_IF_NONE
36
37 config SECOND_IF_EEPROM_PROM
38 bool "EEPROM"
39
40 config SECOND_IF_EEPROM_EFUSE
41 bool "EFUSE"
42
43 config SECOND_IF_EEPROM_FLASH
44 bool "FLASH"
45endchoice
46
47config RT_SECOND_CARD_EEPROM
48 string
49 depends on ! SECOND_IF_NONE
50 default "prom" if SECOND_IF_EEPROM_PROM
51 default "efuse" if SECOND_IF_EEPROM_EFUSE
52 default "flash" if SECOND_IF_EEPROM_FLASH
53
54config MULTI_INF_SUPPORT
55 bool
56 default y if !FIRST_IF_NONE && !SECOND_IF_NONE
57
58config WIFI_BASIC_FUNC
59 bool "Basic Functions"
60 select WIRELESS_EXT
61 select WEXT_SPY
62 select WEXT_PRIV
63
64config WSC_INCLUDED
65 bool "WSC (WiFi Simple Config)"
66 depends on WIFI_DRIVER
67 default y
68
69config WSC_V2_SUPPORT
70 bool "WSC V2(WiFi Simple Config Version 2.0)"
71 depends on WIFI_DRIVER
72 default y
73
74config WSC_NFC_SUPPORT
75 bool "WSC out-of-band(NFC)"
76 depends on WIFI_DRIVER
77 default n
78
79config DOT11N_DRAFT3
80 bool "802.11n Draft3"
81 depends on WIFI_DRIVER
82 default n
83
84config DOT11_VHT_AC
85 bool "802.11 ac"
86 depends on WIFI_DRIVER
87 default n
88
89config DOT11W_PMF_SUPPORT
90 bool "PMF"
91 depends on WIFI_DRIVER
92 default n
93
94config TXBF_SUPPORT
95 bool "Tx Bean Forming Support"
96 depends on WIFI_DRIVER
97 default n
98
99#config WMM_ACM_SUPPORT
100# bool "WMM ACM"
101# depends on WIFI_DRIVER
102# default n
103
104config LLTD_SUPPORT
105 bool "LLTD (Link Layer Topology Discovery Protocol)"
106 depends on WIFI_DRIVER
107 default n
108
109config QOS_DLS_SUPPORT
110 bool "802.11e DLS ((Direct-Link Setup) Support"
111 depends on WIFI_DRIVER
112 default n
113
114config WAPI_SUPPORT
115 bool "WAPI Support"
116 depends on WIFI_DRIVER
117 default n
118
119config CARRIER_DETECTION_SUPPORT
120 bool "Carrier Detect"
121 depends on WIFI_DRIVER
122 default n
123
124config IGMP_SNOOP_SUPPORT
125 bool "IGMP Snooping"
126 depends on WIFI_DRIVER
127 default n
128
129config BLOCK_NET_IF
130 bool "NETIF Block"
131 depends on WIFI_DRIVER
132 default n
133 help
134 Support Net interface block while Tx-Sw queue full
135
136config TXBF_SUPPORT
137 bool "Tx Bean Forming Support (Only 3883)"
138 depends on WIFI_DRIVER
139 depends on RALINK_RT2883 || RALINK_RT3883
140 default n
141
142#config VIDEO_TURBINE_SUPPORT
143# bool "Video Turbine support"
144# depends on WIFI_DRIVER
145# default n
146
147#config RA_CLASSIFIER
148# tristate "Ralink Flow Classifier"
149# depends on WIFI_DRIVER
150# default n
151
152config RATE_ADAPTION
153 bool "New Rate Adaptation support"
154 depends on WIFI_DRIVER
155 default n
156
157config NEW_RATE_ADAPT_SUPPORT
158 bool "Intelligent Rate Adaption"
159 depends on WIFI_DRIVER && RATE_ADAPTION
160 default y
161
162config AGS_SUPPORT
163 bool "Adaptive Group Switching"
164 depends on WIFI_DRIVER && RATE_ADAPTION
165 default n
166
167config IDS_SUPPORT
168 bool "IDS (Intrusion Detection System) Support"
169 depends on WIFI_DRIVER
170 default n
171
172config WIFI_WORK_QUEUE
173 bool "Work Queue"
174 depends on WIFI_DRIVER
175 default n
176
177config WIFI_SKB_RECYCLE
178 bool "SKB Recycle(Linux)"
179 depends on WIFI_DRIVER
180 default n
181
182config RTMP_FLASH_SUPPORT
183 bool "Flash Support"
184 depends on WIFI_DRIVER
185 default n
186
187config BTCOEX_CONCURRENT
188 bool "Coexisence Event Notify between BT and WiFi"
189 depends on WIFI_DRIVER
190 default n
191
192config LED_CONTROL_SUPPORT
193 bool "LED Support"
194 depends on WIFI_DRIVER
195 default n
196
197config SINGLE_SKU_V2
198 bool "Single SKU V2"
199 depends on WIFI_DRIVER
200 default n
201
202config HW_ANTENNA_DIVERSITY
203 bool "Antenna Diversity Support"
204 depends on RLT_AP_SUPPORT || RLT_STA_SUPPORT
205 depends on RALINK_RT5350
206 default n
207
208config ATE_SUPPORT
209 bool "ATE/QA Support"
210 depends on WIFI_DRIVER
211 default n
212
213config RT2860V2_AP_V24_DATA_STRUCTURE
214 bool
215 depends on WIFI_DRIVER
216 default y
217
218config RT2860V2_AP_32B_DESC
219 bool "32 Byte Descriptor Support"
220 depends on WIFI_DRIVER
221 depends on RALINK_RT6352 || RALINK_MT7620
222 default n
223
224config MEMORY_OPTIMIZATION
225 bool "Memory Optimization"
226 depends on WIFI_DRIVER
227 default n
228
229config RTMP_INTERNAL_TX_ALC
230 bool "TSSI Compensation"
231 depends on WIFI_DRIVER
232 depends on RALINK_RT3350 || RALINK_RT3352 || RALINK_RT5350 || RALINK_RT6352
233 default n
234
235config RTMP_TEMPERATURE_CALIBRATION
236 bool "Temperature Calibration"
237 depends on WIFI_DRIVER
238 depends on RALINK_RT6352
239 default n
240
241config HOTSPOT
242 bool "Passpoint-R1"
243 depends on WIFI_DRIVER
244 default n
245
246config HOTSPOT_R2
247 bool "Passpoint Release-2 Support"
248 depends on HOTSPOT
249 select DOT11W_PMF_SUPPORT
250 default n
251
252config UAPSD
253 bool "UAPSD support"
254 depends on WIFI_DRIVER
255 default y
256
257#
258# Section for chip architectures
259#
260# "RLT MAC Support"
261config RLT_MAC
262 bool
263 depends on WIFI_DRIVER
264 default n
265
266config RLT_BBP
267 bool
268
269config RLT_RF
270 bool
271
272# "RTMP MAC Support"
273config RTMP_MAC
274 bool
275 depends on WIFI_DRIVER
276 default n
277
278config RTMP_BBP
279 bool
280
281config RTMP_RF
282 bool
283
284#
285# Section for interfaces
286#
287config RTMP_PCI_SUPPORT
288 bool
289
290config RTMP_USB_SUPPORT
291 bool
292
293config RTMP_RBUS_SUPPORT
294 bool
295
296endmenu
297
298menu "WiFi Operation Modes"
299 choice
300 prompt "Main Mode"
301 default WIFI_MODE_AP
302
303 config WIFI_MODE_AP
304 bool "AP"
305
306 config WIFI_MODE_STA
307 bool "STA"
308
309 config WIFI_MODE_BOTH
310 bool "APSTA"
311 endchoice
312
313 if WIFI_MODE_AP || WIFI_MODE_BOTH
314 source "drivers/net/wireless/rlt_wifi_ap/Kconfig"
315 endif
316
317 #if WIFI_MODE_STA || WIFI_MODE_BOTH
318 # source "drivers/net/wireless/rlt_wifi_sta/Kconfig"
319 #endif
320endmenu
321
322#"RT2860 series"
323config RALINK_RT28XX
324 bool
325 default n
326 select RTMP_PCI_SUPPORT
327
328#"RT3092"
329config RALINK_RT3092
330 bool
331 default n
332 select RTMP_PCI_SUPPORT
333
334#"RT3572"
335config RALINK_RT3572
336 bool
337 default n
338 select RTMP_USB_SUPPORT
339
340#"RT5392"
341config RALINK_RT5392
342 bool
343 default n
344 select RTMP_PCI_SUPPORT
345
346#"RT5572"
347config RALINK_RT5572
348 bool
349 default n
350 select RTMP_USB_SUPPORT
351
352#"RT5592"
353config RALINK_RT5592
354 bool
355 default n
356 select RTMP_PCI_SUPPORT
357
358#"MT7620/RT6352"
359config RALINK_RT6352
360 bool
361 default n
362 select RTMP_RBUS_SUPPORT
363# select RTMP_TEMPERATURE_CALIBRATION
364# select RTMP_INTERNAL_TX_ALC
365
366#"MT7610E"
367config RALINK_MT7610E
368 bool
369 default n
370 select RTMP_PCI_SUPPORT
371
372#"MT7610U"
373config RALINK_MT7610U
374 bool
375 default n
376 select RTMP_USB_SUPPORT
377
378#"RT8592"
379config RALINK_RT8592
380 bool
381 default n
382 select RTMP_PCI_SUPPORT
383
384#"MT7612E"
385config RALINK_MT7612E
386 bool
387 default n
388 select RTMP_PCI_SUPPORT
389
390#"MT7612U"
391config RALINK_MT7612U
392 bool
393 default n
394 select RTMP_USB_SUPPORT
395
396#"MT7603E"
397config RALINK_MT7603E
398 bool
399 default n
400 select RTMP_PCI_SUPPORT
401
402#"MT7603U"
403config RALINK_MT7603U
404 bool
405 default n
406 select RTMP_USB_SUPPORT
407
408endif
409
410#if RLT_MAC
411# config RLT_MAC
412# bool
413# default y
414#endif
415
416#if RTMP_MAC
417# config RTMP_MAC
418# bool
419# default y
420#endif
421
422if RALINK_MT7603E
423 config MT_MAC
424 bool
425 default y
426endif
427
428if RALINK_MT7603U
429 config MT_MAC
430 bool
431 default y
432endif
433