-
Notifications
You must be signed in to change notification settings - Fork 36
/
Config-mt7615.in
executable file
·640 lines (509 loc) · 11.3 KB
/
Config-mt7615.in
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
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
if PACKAGE_kmod-mt7615
menu "Ralink/MTK Generic WiFi Options"
choice
prompt "Choose SoC"
config RALINK_MT7621
bool "MT7621"
depends on TARGET_ramips_mt7621
endchoice
#############
# Wireless
#############
menuconfig WIFI_DRIVER
bool "WiFi Driver Support"
if WIFI_DRIVER
choice
prompt "Choose First WiFi Interface"
config FIRST_IF_NONE
bool "None"
config FIRST_IF_MT7615E
bool "MT7615E"
depends on RALINK_MT7621
select WIFI_MT_MAC
select MT_MAC
select CHIP_MT7615E
endchoice
choice
prompt "Choose Second WiFi Interface"
config SECOND_IF_NONE
bool "None"
config SECOND_IF_MT7615E
bool "MT7615E"
select WIFI_MT_MAC
select MT_MAC
select CHIP_MT7615E
endchoice
choice
prompt "Choose Third WiFi Interface"
config THIRD_IF_NONE
bool "None"
config THIRD_IF_MT7615E
bool "MT7615E"
select WIFI_MT_MAC
select MT_MAC
select CHIP_MT7615E
endchoice
config RT_FIRST_CARD
string
depends on ! FIRST_IF_NONE
default 7615e if FIRST_IF_MT7615E
config RT_SECOND_CARD
string
depends on ! SECOND_IF_NONE
default 7615e if SECOND_IF_MT7615E
config RT_THIRD_CARD
string
depends on ! THIRD_IF_NONE
default 7615e if THIRD_IF_MT7615E
config RT_FIRST_IF_RF_OFFSET
hex "EEPROM FLASH Offset of 1st Wireless Interface"
depends on ! FIRST_IF_NONE
default 0x40000
config RT_SECOND_IF_RF_OFFSET
hex "EEPROM FLASH Offset of 2nd Wireless Interface"
depends on ! SECOND_IF_NONE
default 0x48000
config RT_THIRD_IF_RF_OFFSET
hex "EEPROM FLASH Offset of 3rd Wireless Interface"
depends on ! THIRD_IF_NONE
default 0x44000
#SKB alloc selection
config WIFI_SKB_ALLOC_SELECT
bool "SKB Allocation API Select"
default n
choice
prompt "SKB Allocation API Selection"
depends on WIFI_SKB_ALLOC_SELECT
default WIFI_PAGE_ALLOC_SKB
config WIFI_SLAB_ALLOC_SKB
bool "SLAB skb allocation"
config WIFI_PAGE_ALLOC_SKB
bool "Page skb allocation"
endchoice
config RTDEV
bool
default y if WIFI_DRIVER && !SECOND_IF_NONE || RTDEV_MII
default y if RTDEV_PLC
config MT_WIFI
tristate "MT WIFI Driver"
select WIFI_BASIC_FUNC if MT_WIFI
if MT_WIFI
menu "WiFi Generic Feature Options"
choice
prompt "EEPROM Type of 1st Card"
depends on ! FIRST_IF_NONE
config FIRST_IF_EEPROM_FLASH
bool "FLASH"
config FIRST_IF_EEPROM_EFUSE
bool "EFUSE"
endchoice
config RT_FIRST_CARD_EEPROM
string
depends on ! FIRST_IF_NONE
default "flash" if FIRST_IF_EEPROM_FLASH
choice
prompt "EEPROM Type of 2nd Card"
depends on ! SECOND_IF_NONE
config SECOND_IF_EEPROM_FLASH
bool "FLASH"
config SECOND_IF_EEPROM_PROM
bool "EEPROM"
config SECOND_IF_EEPROM_EFUSE
bool "EFUSE"
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
choice
prompt "EEPROM Type of 3th Card"
depends on ! THIRD_IF_NONE
config THIRD_IF_EEPROM_FLASH
bool "FLASH"
config THIRD_IF_EEPROM_PROM
bool "EEPROM"
config THIRD_IF_EEPROM_EFUSE
bool "EFUSE"
endchoice
config RT_THIRD_CARD_EEPROM
string
depends on ! THIRD_IF_NONE
default "prom" if THIRD_IF_EEPROM_PROM
default "efuse" if THIRD_IF_EEPROM_EFUSE
default "flash" if THIRD_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 DOT11_N_SUPPORT
bool "802.11n support"
default y
config DOT11_VHT_AC
bool "802.11AC support"
depends on WIFI_DRIVER
depends on DOT11_N_SUPPORT
default y
config G_BAND_256QAM_SUPPORT
bool "2.4G 256QAM support"
depends on WIFI_DRIVER
depends on DOT11_VHT_AC
default y
config TPC_SUPPORT
bool "802.11h TPC Support"
depends on WIFI_DRIVER
default y
config ICAP_SUPPORT
bool "ICAP Support"
depends on WIFI_DRIVER
depends on MT_AP_SUPPORT
default y
config BACKGROUND_SCAN_SUPPORT
bool "Background Scan Support"
depends on WIFI_DRIVER
default y
config SMART_CARRIER_SENSE_SUPPORT
bool "Smart Carrier Sense Support"
depends on WIFI_DRIVER
default y
config MT_DFS_SUPPORT
bool "Dynamic Frequency Selection Support"
depends on WIFI_DRIVER
default n
config HDR_TRANS_TX_SUPPORT
bool "Tx Header Translation"
depends on CHIP_MT7615E
default y
config HDR_TRANS_RX_SUPPORT
bool "Rx Header Translation"
depends on CHIP_MT7615E
default y
config DBDC_MODE
bool "dbdc mode support"
select MULTI_PROFILE_SUPPORT
select DEFAULT_5G_PROFILE
default y
config MULTI_PROFILE_SUPPORT
bool "Multi Profile Support"
depends on DBDC_MODE
default y
config DEFAULT_5G_PROFILE
bool "5G default profile for DBDC"
depends on DBDC_MODE
default y
config WSC_INCLUDED
bool "WSC (WiFi Simple Config)"
depends on WIFI_DRIVER
depends on MT_AP_SUPPORT || MT_STA_SUPPORT
default n
config WSC_V2_SUPPORT
bool "WSC V2(WiFi Simple Config Version 2.0)"
depends on WIFI_DRIVER
depends on MT_AP_SUPPORT || MT_STA_SUPPORT
default n
config DOT11W_PMF_SUPPORT
bool "PMF"
depends on WIFI_DRIVER
depends on MT_AP_SUPPORT || MT_STA_SUPPORT
default y
config TXBF_SUPPORT
bool "Tx Bean Forming Support"
depends on WIFI_DRIVER
default y
config IGMP_SNOOP_SUPPORT
bool "IGMP snooping"
depends on WIFI_DRIVER
depends on MT_AP_SUPPORT
default y
config RTMP_FLASH_SUPPORT
bool "Flash Support"
depends on WIFI_DRIVER
default y
config RLM_CAL_CACHE_SUPPORT
bool "RlmCalibrationCache Support"
depends on WIFI_DRIVER
default y
config PRE_CAL_TRX_SET2_SUPPORT
bool "Pre-calibration TRX Set2 Support"
depends on WIFI_DRIVER
default y
config RF_LOCKDOWN_SUPPORT
bool "RF Lockdown Support"
depends on WIFI_DRIVER
default n
config ATE_SUPPORT
bool "ATE/QA Support"
depends on WIFI_DRIVER
default y
config PASSPOINT_R2
bool "Passpoint Release-2 Support"
depends on WIFI_DRIVER
select DOT11W_PMF_SUPPORT
depends on MT_AP_SUPPORT
default n
config UAPSD
bool "UAPSD support"
depends on WIFI_DRIVER
depends on MT_AP_SUPPORT || MT_STA_SUPPORT
default y
#### PA_LNA_Type choice
config RED_SUPPORT
bool "RED(Random Early Drop) support"
depends on WIFI_DRIVER
depends on MT_AP_SUPPORT || MT_STA_SUPPORT
default y
config FDB_SUPPORT
bool "FW Debug Port"
depends on WIFI_DRIVER
default n
choice
prompt "PA LNA Type of 1st Card"
depends on ! FIRST_IF_NONE
config FIRST_IF_EPAELNA
bool "ePAeLNA"
config FIRST_IF_IPAILNA
bool "iPAiLNA"
config FIRST_IF_IPAELNA
bool "iPAeLNA"
endchoice
choice
prompt "PA LNA Type of 2nd Card"
depends on ! SECOND_IF_NONE
config SECOND_IF_EPAELNA
bool "ePAeLNA"
config SECOND_IF_IPAILNA
bool "iPAiLNA"
config SECOND_IF_IPAELNA
bool "iPAeLNA"
endchoice
choice
prompt "PA LNA Type of 3rd Card"
depends on ! THIRD_IF_NONE
config THIRD_IF_EPAELNA
bool "ePAeLNA"
config THIRD_IF_IPAILNA
bool "iPAiLNA"
config THIRD_IF_IPAELNA
bool "iPAeLNA"
endchoice
#### PA_LNA_Type choice END
#
# 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
tristate "AP"
select MT_AP_SUPPORT
config WIFI_MODE_STA
tristate "STA"
select MT_STA_SUPPORT
config WIFI_MODE_BOTH
tristate "APSTA"
select MT_AP_SUPPORT
select MT_STA_SUPPORT
endchoice
if WIFI_MODE_AP || WIFI_MODE_BOTH
config MT_AP_SUPPORT
tristate "Ralink RT2860 802.11n AP support"
# depends on NET_RADIO
select WIRELESS_EXT
select WEXT_SPY
select WEXT_PRIV
config WDS_SUPPORT
bool "WDS"
depends on MT_AP_SUPPORT
default n
config MBSS_SUPPORT
bool "MBSSID"
depends on MT_AP_SUPPORT
default y
config APCLI_SUPPORT
bool "AP-Client Support"
depends on MT_AP_SUPPORT
default y
config APCLI_CERT_SUPPORT
bool "AP-Client TGn Cert Support"
depends on MT_AP_SUPPORT
depends on APCLI_SUPPORT
default n
config MAC_REPEATER_SUPPORT
bool "MAC Repeater Support"
depends on MT_AP_SUPPORT
depends on APCLI_SUPPORT
depends on RALINK_RT6352 || RALINK_MT7620 || RALINK_MT7603E || MT_AP_SUPPORT
default y
config MWDS
bool "Mixed WDS(MWDS)"
depends on MT_AP_SUPPORT
select APCLI_SUPPORT
default n
config MUMIMO_SUPPORT
bool "MU-MIMO Support"
depends on WIFI_DRIVER
select MU_RA_SUPPORT
default y
config MU_RA_SUPPORT
bool "MU-RGA Support"
depends on MUMIMO_SUPPORT
config DOT11R_FT_SUPPORT
bool "802.11r Fast BSS Transition"
depends on MT_AP_SUPPORT
default n
config DOT11K_RRM_SUPPORT
bool "802.11k Radio Resource Management"
depends on MT_AP_SUPPORT
default n
config CFG80211_SUPPORT
bool "CFG80211"
depends on MT_AP_SUPPORT
default n
config CUSTOMIZED_HOSTAPD
bool "Customized Hostapd Support"
depends on CFG80211_SUPPORT
default n
config DSCP_QOS_MAP_SUPPORT
bool "Dscp Qos Mapping Support"
depends on MT_AP_SUPPORT
default n
config CON_WPS_SUPPORT
bool "Concurrent WPS Support"
depends on MT_AP_SUPPORT
depends on APCLI_SUPPORT
depends on WSC_INCLUDED
depends on WSC_V2_SUPPORT
# depends on MULTI_INF_SUPPORT
default n
config MCAST_RATE_SPECIFIC
bool "User specific tx rate of mcast pkt"
depends on MT_AP_SUPPORT
default y
config VOW_SUPPORT
bool "MediaAir(VOW) support"
depends on MT_AP_SUPPORT
default y
config BAND_STEERING
bool "Band Steering"
depends on MT_AP_SUPPORT
default y
config RADIO_LINK_SELECTION
bool "RADIO_LINK_SELECTION"
depends on MT_AP_SUPPORT
default n
config LED_CONTROL_SUPPORT
bool "LED Control Support"
default n
config GPIO_CONTROL_SUPPORT
bool "GPIO Control Support"
depends on MT_AP_SUPPORT
default n
config RADIUS_ACCOUNTING_SUPPORT
bool "Radius Accounting Support"
depends on MT_AP_SUPPORT
default n
config GREENAP_SUPPORT
bool "GreenAP Support"
depends on MT_AP_SUPPORT
default y
config ROAMING_ENHANCE_SUPPORT
bool "Roaming Enhance Support"
depends on MT_AP_SUPPORT
depends on APCLI_SUPPORT
default n
config EASY_SETUP_SUPPORT
bool "Whole Home Coverage - Easy Setup"
depends on MT_AP_SUPPORT
default n
config EASY_MODULE_SUPPORT
bool "Whole Home Coverage - Easy Setup Module Support"
depends on EASY_SETUP_SUPPORT
default n
config EVENT_NOTIFIER_SUPPORT
bool "Whole Home Coverage - Event Notifier"
depends on MT_AP_SUPPORT
default n
config AIR_MONITOR
bool "Air Monitor"
depends on MT_AP_SUPPORT
default n
config WNM_SUPPORT
bool "802.11v WNM Support"
depends on MT_AP_SUPPORT
default n
config STA_FORCE_ROAM_SUPPORT
bool "Station Force Roam Support"
depends on MT_AP_SUPPORT
default n
config LINUX_NET_TXQ_SUPPORT
bool "NET TX Queue Support"
default y
endif # WIFI_MODE_AP || WIFI_MODE_BOTH
endmenu
endif # MT_WIFI
if WIFI_RLT_MAC
config RLT_MAC
bool
default y
endif
if WIFI_RTMP_MAC
config RTMP_MAC
bool
default y
endif
config WIFI_MT_MAC
bool
if WIFI_MT_MAC
config MT_MAC
bool
default y
config CHIP_MT7615E
bool
default n
endif
if CHIP_MT7615E
config MT_MAC
bool
default y
select DOT11_N_SUPPORT
select DOT11_VHT_AC
select HDR_TRANS_TX_SUPPORT
select HDR_TRANS_RX_SUPPORT
endif
endif # WIFI_DRIVER
endmenu
endif # PACKAGE_kmod-mt7615