2 prompt "Target platform"
3 default PLATFORM_UGW54_VRX288
5 config PLATFORM_UGW61_ARX388
6 bool "UGW6.1 for ARX388"
8 Lantiq ARX388 UGW-6.1 platform.
10 config PLATFORM_UGW61_VRX388
11 bool "UGW6.1 for VRX388"
13 Lantiq VRX388 UGW-6.1 platform.
15 config PLATFORM_UGW54_ARX388
16 bool "UGW5.4 for ARX388"
18 Lantiq ARX388 UGW-5.4 platform.
20 config PLATFORM_UGW54_ARX382
21 bool "UGW5.4 for ARX382"
23 Lantiq ARX382 UGW-5.4 platform.
25 config PLATFORM_UGW54_GRX388
26 bool "UGW5.4 for GRX388"
28 Lantiq GRX388 UGW-5.4 platform.
30 config PLATFORM_UGW54_VRX288
31 bool "UGW5.4 for VRX288"
33 Lantiq VRX288 UGW-5.4 platform.
35 config PLATFORM_UGW54_VRX388
36 bool "UGW5.4 for VRX388"
38 Lantiq VRX388 UGW-5.4 platform.
40 config PLATFORM_DONGLE
45 config PLATFORM_UGW53_GRX288_NAND
46 bool "UGW5.3 for GRX288 (RT-288) with NAND flash"
48 Lantiq GRX288 UGW-5.3 platform with NAND flash.
50 config PLATFORM_UGW53_ARX168
51 bool "UGW5.3 for ARX168"
53 Lantiq ARX168 UGW-5.3 platform.
55 config PLATFORM_UGW53_ARX388
56 bool "UGW5.3 for ARX388"
58 Lantiq ARX388 UGW-5.3 platform.
60 config PLATFORM_UGW53_VRX288
61 bool "UGW5.3 for VRX288"
63 Lantiq VRX288 UGW-5.3 platform.
65 config PLATFORM_UGW52_GRX288_NAND
66 bool "UGW5.2 for GRX288 (RT-288) with NAND flash"
68 Lantiq GRX288 UGW-5.2 platform with NAND flash.
70 config PLATFORM_UGW52_ARX300
71 bool "UGW5.2 for ARX300"
73 Lantiq ARX300 UGW-5.2 platform.
75 config PLATFORM_UGW52_VRX288
76 bool "UGW5.2 for VRX288"
78 Lantiq VRX288 UGW-5.2 platform.
80 config PLATFORM_UGW52_GW188
81 bool "UGW5.2 for GW188"
83 Lantiq GW188 UGW-5.2 platform.
85 config PLATFORM_UGW52_ARX188
86 bool "UGW5.2 for ARX188"
88 Lantiq ARX188 UGW-5.2 platform.
90 config PLATFORM_UGW52_GRX168
91 bool "UGW5.2 for GRX168 (VB300)"
93 Lantiq GRX168 UGW-5.2 platform.
100 config PLATFORM_LQ_UGW_AR10_WAVE400
101 bool "UGW5.1 for AR10 WAVE400"
103 Lantiq AR10 platform.
105 config PLATFORM_GEN35FPGA
108 Gen 3.5 FPGA platform.
110 config PLATFORM_UGW51_VRX288_NAND
111 bool "UGW5.1 for VRX288 with NAND flash"
113 Lantiq VRX288 UGW-5.1 platform with NAND flash.
115 config PLATFORM_UGW51_GRX288_NAND
116 bool "UGW5.1 for GRX288 (RT-288) with NAND flash"
118 Lantiq GRX288 UGW-5.1 platform with NAND flash.
120 config PLATFORM_UGW51_VRX288
121 bool "UGW5.1 for VRX288"
123 Lantiq VRX288 UGW-5.1 platform.
125 config PLATFORM_UGW51_GW188
126 bool "UGW5.1 for GW188"
128 Lantiq GW188 UGW-5.1 platform.
130 config PLATFORM_UGW51_ARX188
131 bool "UGW5.1 for ARX188"
133 Lantiq ARX188 UGW-5.1 platform.
135 config PLATFORM_UGW51_GRX168
136 bool "UGW5.1 for GRX168 (VB300)"
138 Lantiq GRX168 UGW-5.1 platform.
140 config PLATFORM_STAR4MB
145 config PLATFORM_PC_KERN26
146 bool "PC (kernel 2.6)"
148 A PC distro with kernel 2.6.x.
150 config PLATFORM_AMCC405EX
155 config PLATFORM_AMCC405_DECA
158 AMCC405 DECA platform.
162 config STAR4MB_NO_DSPAD
163 bool "Star 4Mb with no DSPAD"
164 depends on PLATFORM_STAR4MB
167 Star platform compilation with no DSPAD supported.
170 bool "Components to build" if NO_COMPONENTS_SELECT
171 default !NO_COMPONENTS_SELECT
173 Provides the way to choose component(s) for build.
176 bool "WLAN driver for Linux"
177 depends on COMPONENTS
180 Build WLAN driver for Linux.
182 menuconfig USE_PREBUILT_RFLIB
183 bool "Use prebuilt RF library"
187 Use prebuilt RF library
190 string "Path to the RF library"
191 depends on USE_PREBUILT_RFLIB
192 default "wireless/driver/rflib/prebuilt"
194 Path to the prebuilt RB library
196 comment "HW bus types"
199 config LINDRV_HW_PCIG3
202 default y if (PLATFORM_DONGLE || PLATFORM_PC_KERN26 || PLATFORM_VB300)
203 default y if (PLATFORM_UGW51_VRX288_NAND || PLATFORM_UGW51_VRX288 || PLATFORM_UGW51_ARX188 || PLATFORM_UGW51_GRX168 || PLATFORM_UGW51_GRX288_NAND || PLATFORM_UGW51_GW188 || PLATFORM_UGW52_GRX288_NAND || PLATFORM_UGW52_VRX288 || PLATFORM_UGW52_GW188 || PLATFORM_UGW52_ARX188 || PLATFORM_UGW52_GRX168)
204 default y if PLATFORM_UGW53_GRX288_NAND
205 default y if PLATFORM_UGW53_VRX288
206 default y if PLATFORM_UGW54_VRX288
207 default y if PLATFORM_LQ_UGW52_VB300
208 default y if PLATFORM_UGW53_ARX168
211 Enable support for Peripheral Component Interconnect bus (PCI)
213 config LINDRV_HW_PCIE
215 bool "PCI Express bus"
216 default y if (PLATFORM_DONGLE || PLATFORM_PC_KERN26 || PLATFORM_AMCC405_DECA)
217 default y if (PLATFORM_UGW51_VRX288_NAND || PLATFORM_UGW51_VRX288 || PLATFORM_UGW51_ARX188 || PLATFORM_UGW51_GRX168 || PLATFORM_UGW51_GRX288_NAND || PLATFORM_UGW52_GRX288_NAND || PLATFORM_UGW52_VRX288 || PLATFORM_UGW52_GW188 || PLATFORM_UGW52_ARX188 || PLATFORM_UGW52_GRX168)
218 default y if PLATFORM_UGW54_ARX388
219 default y if PLATFORM_UGW54_ARX382
220 default y if PLATFORM_UGW54_GRX388
221 default y if PLATFORM_UGW54_VRX388
222 default n if PLATFORM_UGW54_VRX288
223 default y if PLATFORM_UGW53_GRX288_NAND
224 default y if PLATFORM_UGW53_ARX388
225 default y if PLATFORM_UGW53_VRX288
226 default y if PLATFORM_UGW53_ARX168
227 default y if (PLATFORM_LQ_UGW52_VB300 || PLATFORM_UGW52_ARX300)
228 default y if PLATFORM_AMCC405_DECA
229 default n if PLATFORM_UGW61_ARX388
230 default n if PLATFORM_UGW61_VRX388
233 Enable support for Peripheral Component Interconnect Express bus (PCIE)
238 default y if LINDRV_HW_PCIE
239 default y if LINDRV_HW_PCIG3
242 config LINDRV_HW_AHBG35
245 default y if PLATFORM_GEN35FPGA
246 default y if (PLATFORM_LQ_UGW_AR10_WAVE400 || PLATFORM_UGW52_ARX300)
247 default y if PLATFORM_UGW53_ARX388
248 default y if PLATFORM_UGW54_ARX388
249 default y if PLATFORM_UGW54_ARX382
250 default y if PLATFORM_UGW54_GRX388
251 default y if PLATFORM_UGW54_VRX388
252 default y if PLATFORM_UGW61_ARX388
253 default y if PLATFORM_UGW61_VRX388
256 Enable support for Advanced High-performance Bus (AHB)
261 default y if LINDRV_HW_AHBG35
264 config BUS_AHB_BYTESWAP
267 default y if PLATFORM_LQ_UGW_AR10_WAVE400
268 default y if PLATFORM_UGW52_ARX300
269 default y if PLATFORM_UGW53_ARX388
270 default y if PLATFORM_UGW54_ARX388
271 default y if PLATFORM_UGW54_ARX382
272 default y if PLATFORM_UGW54_GRX388
273 default y if PLATFORM_UGW54_VRX388
274 default y if PLATFORM_UGW61_ARX388
275 default y if PLATFORM_UGW61_VRX388
281 default y if PLATFORM_LQ_UGW_AR10_WAVE400
282 default y if PLATFORM_UGW52_ARX300
283 default y if PLATFORM_UGW53_ARX388
284 default y if PLATFORM_UGW54_ARX388
285 default y if PLATFORM_UGW54_ARX382
286 default y if PLATFORM_UGW54_GRX388
287 default y if PLATFORM_UGW54_VRX388
288 default n if PLATFORM_UGW61_ARX388
289 default n if PLATFORM_UGW61_VRX388
292 Enable AR10 on-the-fly CPU frequency switch support
295 bool "MTTools for Linux"
296 depends on COMPONENTS
297 # default y if DEVELOPMENT_PLATFORM
300 Build MTTools for Linux (drvhlpr, mtdump, mtlk_cli, BclSockServer).
302 config LIN_RTLOG_COMPONENTS
303 bool "RT Logger Components for Linux"
304 depends on COMPONENTS
307 Build RT Logger Components for Linux: logserver, logdriver.
310 bool "DUT components for Linux"
311 depends on COMPONENTS
314 Build DUT components for Linux.
316 config DUT_FW_IN_KERNEL
317 bool "Use kernel built-in DUT firmware"
319 default y if PLATFORM_AMCC405_DECA
322 Whether to use DUT firmware from the kernel or from the file system
324 config LIN_HELPER_TOOLS
325 bool "Helper modules and applications for Linux"
326 depends on COMPONENTS
329 Build helper components for Linux, such as memory leak tracking utilities.
333 config RF_MANAGEMENT_MTLK
334 bool "Lantiq RF MGMT"
337 Lantiq RF management extensions
340 bool "hostapd 0.6 support"
343 Support of hostapd v0.6.
344 TODO: To be explained.
346 config WPS_LEDS_ENABLE
347 bool "Enable WPS LEDs"
348 depends on LIN_MTTOOLS
351 Enables WPS and LEDs in driver helper.
353 config FORCE_USE_GENL_ENABLE
354 bool "Use generic netlink socket"
355 depends on !USE_GENL_DEF
358 Use generic netlink socket instead of newly allocated one.
360 config FORCE_USE_GENL_DISABLE
361 bool "Don't use generic netlink socket"
362 depends on USE_GENL_DEF
365 Use newly allocated netlink socket instead of generic one.
368 bool "IPV4 only CLI server"
369 depends on LIN_MTTOOLS
370 default y if (PLATFORM_VB300)
373 Restricts CLI server to IPV4 only.
374 This option must not be selected for most platforms.
375 However, it can help on platforms where listening socket cannot be
376 created using for AF_UNSPEC (i.e. either IPV4 and APV6) address family
377 and Driver Helper fails to start with an error on CREATE_SOCKET step.
379 config USE_INTERRUPT_POLLING
380 bool "Use interrupt polling"
382 default y if PLATFORM_AMCC405_DECA
385 Turns interrupt polling on.
386 This feature hits performance, therefore it is for debuggigng purposes
387 mainly and must not be used in production without very special reasons.
391 menu "Debug extentions"
394 bool "General debug extentions"
395 default y if DEVELOPMENT_PLATFORM
398 Enable run-time checks, memory access validation and extended printouts.
400 config ENABLE_OBJPOOL
401 bool "Object tracking extensions"
405 Defines whether to compile OBJPOOL.
407 config ENABLE_NBUF_OBJPOOL
408 depends on ENABLE_OBJPOOL
409 bool "Net Buffer Object tracking extensions"
412 Defines whether to enable Network Buffer monitoring by OBJPOOL.
414 config TXMM_HISTORY_LENGTH
415 int "TXMM history length"
420 Advanced TXMM messages history length (0-20).
421 0 to disable messages history.
424 bool "IRB debug extensions"
427 Defines whether to compile IRB debuggigng tools
431 bool "Profiling tools"
434 Include profiling tools AKA CPU Stat.
436 config BENCHMARK_TOOLS
438 default y if CPU_STAT
439 default y if IRB_DEBUG
442 config IRB_BENCHMARKING
444 default y if IRB_DEBUG
448 bool "HW access tracing"
451 Include detailed printouts for shared memory access by the driver.
452 This option is useful for startup sequnce debugging, in other cases
453 it produces too much printouts and makes driver virtually unusable.
455 config FW_WRITE_VALIDATION
456 bool "Validation of FW download"
459 Include validation of written FW chunks.
460 This option is useful when there is suspicion that there is something wrong
463 config TSF_TIMER_TIMESTAMPS_IN_DEBUG_PRINTOUTS
464 depends on LINDRV_HW_PCIG3 || LINDRV_HW_PCIE
465 bool "Add TSF timer timestamps to debug printouts"
468 TSF timestamp will be printed out with each debug message as a second timestamp.
469 TSF timer timestamps have microsecond resolution.
471 config PER_PACKET_STATS
472 bool "Per-Packet Statistics"
475 Per-packet statistics (timestamps, counters, info etc.)
477 config PRINT_PER_PACKET_STATS
478 depends on PER_PACKET_STATS
479 bool "Log per-packet statistics"
482 Per-packet statistics will be logged.
484 config STAT_CNTRS_DEBUG
485 bool "Debug statistic counters"
488 Debug statistic counters
490 config TSF_TIMER_TIMESTAMPS_IN_PER_PACKET_STATS
491 depends on PER_PACKET_STATS
492 bool "Use TSF timestamps in per-packet statistics"
495 TSF timestamps will be added to per-packet statistics.
496 TSF timer timestamps have microsecond resolution.
498 config NO_FW_RESET_ON_STOP
499 bool "Do not reset firmware on driver stop/unload"
503 May be useful during firmware debugging.
506 bool "PCIe fine tuning tools" if LINDRV_HW_PCIE
509 Include instrumentation for fine tuning PCIE core settings.
512 prompt "Runtime logger support"
513 default RT_LOGGER_FUNCTIONS
515 config RT_LOGGER_FUNCTIONS
516 bool "Log directives as external functions"
518 Making log directives external functions may decrease performance but makes image size smaller.
520 config RT_LOGGER_INLINES
521 bool "Log directives as inline functions"
523 Making log directives inline functions may increase performance but makes image size bigger.
530 int "Log level" if !SILENT
538 bool "Silent build (No debug printouts)"
540 Disable driver printouts.
548 default y if PLATFORM_UGW51_VRX288_NAND
549 default y if PLATFORM_UGW51_VRX288
550 default y if PLATFORM_UGW51_ARX188
551 default y if PLATFORM_UGW51_GRX168
552 default y if PLATFORM_UGW51_GRX288_NAND
553 default y if PLATFORM_UGW52_GRX288_NAND
554 default y if PLATFORM_UGW52_ARX300
555 default y if PLATFORM_UGW52_VRX288
556 default y if PLATFORM_UGW52_GW188
557 default y if PLATFORM_UGW52_ARX188
558 default y if PLATFORM_UGW52_GRX168
559 default y if PLATFORM_UGW51_GW188
560 default y if PLATFORM_UGW53_GRX288_NAND
561 default y if PLATFORM_UGW53_ARX388
562 default y if PLATFORM_UGW53_VRX288
563 default y if PLATFORM_UGW53_ARX168
564 default y if PLATFORM_UGW54_ARX388
565 default y if PLATFORM_UGW54_ARX382
566 default y if PLATFORM_UGW54_GRX388
567 default y if PLATFORM_UGW54_VRX388
568 default y if PLATFORM_UGW54_VRX288
569 default y if PLATFORM_LQ_UGW52_VB300
570 default y if PLATFORM_LQ_UGW_AR10_WAVE400
571 default y if PLATFORM_UGW61_ARX388
572 default y if PLATFORM_UGW61_VRX388
577 default y if FORCE_USE_GENL_ENABLE
578 default n if FORCE_USE_GENL_DISABLE
581 config TSF_TIMER_ACCESS_ENABLED
583 default y if TSF_TIMER_TIMESTAMPS_IN_DEBUG_PRINTOUTS
584 default y if TSF_TIMER_TIMESTAMPS_IN_PER_PACKET_STATS
587 config DEVELOPMENT_PLATFORM
589 default y if PLATFORM_DONGLE
590 default y if PLATFORM_UGW51_VRX288_NAND
591 default y if PLATFORM_UGW51_GRX288_NAND
592 default y if PLATFORM_UGW52_GRX288_NAND
593 default y if PLATFORM_UGW52_ARX300
594 default y if PLATFORM_UGW52_VRX288
595 default y if PLATFORM_UGW52_GW188
596 default y if PLATFORM_UGW52_ARX188
597 default y if PLATFORM_UGW52_GRX168
598 default y if PLATFORM_UGW53_GRX288_NAND
599 default y if PLATFORM_UGW53_ARX388
600 default y if PLATFORM_UGW53_VRX288
601 default y if PLATFORM_UGW53_ARX168
602 default y if PLATFORM_UGW54_ARX388
603 default y if PLATFORM_UGW54_ARX382
604 default y if PLATFORM_UGW54_GRX388
605 default y if PLATFORM_UGW54_VRX388
606 default y if PLATFORM_UGW54_VRX288
607 default y if PLATFORM_GEN35FPGA
608 default y if PLATFORM_UGW61_ARX388
609 default y if PLATFORM_UGW61_VRX388
612 config ENVIRONMENT_NAME
614 default "dongle-linux26" if PLATFORM_DONGLE
615 default "x86-linux26" if PLATFORM_PC_KERN26
616 default "star910x-4mb-linux26" if PLATFORM_STAR4MB
617 default "ugw5.1-vrx288-nand" if PLATFORM_UGW51_VRX288_NAND
618 default "ugw5.1-vrx288" if PLATFORM_UGW51_VRX288
619 default "ugw5.1-gw188" if PLATFORM_UGW51_GW188
620 default "ugw5.1-arx188" if PLATFORM_UGW51_ARX188
621 default "ugw5.1-grx168" if PLATFORM_UGW51_GRX168
622 default "ugw5.1-grx288-nand" if PLATFORM_UGW51_GRX288_NAND
623 default "ugw5.2-grx288-nand" if PLATFORM_UGW52_GRX288_NAND
624 default "ugw5.2-arx300" if PLATFORM_UGW52_ARX300
625 default "ugw5.2-vrx288-nand" if PLATFORM_UGW52_VRX288
626 default "ugw5.2-gw188" if PLATFORM_UGW52_GW188
627 default "ugw5.2-arx188" if PLATFORM_UGW52_ARX188
628 default "ugw5.2-grx168-vb" if PLATFORM_UGW52_GRX168
629 default "ugw5.4-arx388" if PLATFORM_UGW54_ARX388
630 default "ugw5.4-arx382" if PLATFORM_UGW54_ARX382
631 default "ugw5.4-grx388" if PLATFORM_UGW54_GRX388
632 default "ugw5.4-vrx388" if PLATFORM_UGW54_VRX388
633 default "ugw5.4-vrx288" if PLATFORM_UGW54_VRX288
634 default "ugw5.3-grx288-nand" if PLATFORM_UGW53_GRX288_NAND
635 default "ugw5.3-arx388" if PLATFORM_UGW53_ARX388
636 default "ugw5.3-vrx288" if PLATFORM_UGW53_VRX288
637 default "ugw5.3-arx168-nand" if PLATFORM_UGW53_ARX168
638 default "ppc405-linux26" if PLATFORM_AMCC405EX
639 default "deca-linux26" if PLATFORM_AMCC405_DECA
640 default "vb300-linux26" if PLATFORM_VB300
641 default "ugw5.2-vb300-linux26" if PLATFORM_LQ_UGW52_VB300
642 default "ugw-ar10-wave400-linux26" if PLATFORM_LQ_UGW_AR10_WAVE400
643 default "gen35-fpga-linux26" if PLATFORM_GEN35FPGA
644 default "ugw6.1-arx388" if PLATFORM_UGW61_ARX388
645 default "ugw6.1-vrx388" if PLATFORM_UGW61_VRX388
649 default "arm-linux" if PLATFORM_DONGLE
650 default "x86-linux" if PLATFORM_PC_KERN26
651 default "arm-linux" if PLATFORM_STAR4MB
652 default "mips-linux" if PLATFORM_UGW51_VRX288_NAND
653 default "mips-linux" if PLATFORM_UGW51_VRX288
654 default "mips-linux" if PLATFORM_UGW51_GW188
655 default "mips-linux" if PLATFORM_UGW51_ARX188
656 default "mips-linux" if PLATFORM_UGW51_GRX168
657 default "mips-linux" if PLATFORM_UGW51_GRX288_NAND
658 default "mips-linux" if PLATFORM_UGW52_GRX288_NAND
659 default "mips-linux" if PLATFORM_UGW52_ARX300
660 default "mips-linux" if PLATFORM_UGW52_VRX288
661 default "mips-linux" if PLATFORM_UGW52_ARX188
662 default "mips-linux" if PLATFORM_UGW52_GW188
663 default "mips-linux" if PLATFORM_UGW52_GRX168
664 default "mips-linux" if PLATFORM_UGW53_GRX288_NAND
665 default "mips-linux" if PLATFORM_UGW53_ARX388
666 default "mips-linux" if PLATFORM_UGW53_VRX288
667 default "mips-linux" if PLATFORM_UGW53_ARX168
668 default "mips-linux" if PLATFORM_UGW54_ARX388
669 default "mips-linux" if PLATFORM_UGW54_ARX382
670 default "mips-linux" if PLATFORM_UGW54_GRX388
671 default "mips-linux" if PLATFORM_UGW54_VRX388
672 default "mips-linux" if PLATFORM_UGW54_VRX288
673 default "powerpc-linux" if PLATFORM_AMCC405EX
674 default "powerpc-greenwave-linux-gnu" if PLATFORM_AMCC405_DECA
675 default "mips-linux" if PLATFORM_VB300
676 default "mips-linux" if PLATFORM_LQ_UGW52_VB300
677 default "mips-linux" if PLATFORM_LQ_UGW_AR10_WAVE400
678 default "mips-linux" if PLATFORM_GEN35FPGA
679 default "mips-linux" if PLATFORM_UGW61_ARX388
680 default "mips-linux" if PLATFORM_UGW61_VRX388