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