b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: |
| 3 | # |
| 4 | # Marek Lindner, Simon Wunderlich |
| 5 | |
| 6 | # |
| 7 | # B.A.T.M.A.N meshing protocol |
| 8 | # |
| 9 | |
| 10 | config BATMAN_ADV_BATMAN_V |
| 11 | bool "B.A.T.M.A.N. V protocol" |
| 12 | depends on PACKAGE_kmod-batman-adv |
| 13 | default y |
| 14 | help |
| 15 | This option enables the B.A.T.M.A.N. V protocol, the successor |
| 16 | of the currently used B.A.T.M.A.N. IV protocol. The main |
| 17 | changes include splitting of the OGM protocol into a neighbor |
| 18 | discovery protocol (Echo Location Protocol, ELP) and a new OGM |
| 19 | Protocol OGMv2 for flooding protocol information through the |
| 20 | network, as well as a throughput based metric. |
| 21 | B.A.T.M.A.N. V is currently considered experimental and not |
| 22 | compatible to B.A.T.M.A.N. IV networks. |
| 23 | |
| 24 | config BATMAN_ADV_BLA |
| 25 | bool "Bridge Loop Avoidance" |
| 26 | depends on PACKAGE_kmod-batman-adv |
| 27 | select PACKAGE_kmod-lib-crc16 |
| 28 | default y |
| 29 | help |
| 30 | This option enables BLA (Bridge Loop Avoidance), a mechanism |
| 31 | to avoid Ethernet frames looping when mesh nodes are connected |
| 32 | to both the same LAN and the same mesh. If you will never use |
| 33 | more than one mesh node in the same LAN, you can safely remove |
| 34 | this feature and save some space. |
| 35 | |
| 36 | config BATMAN_ADV_DAT |
| 37 | bool "Distributed ARP Table" |
| 38 | depends on PACKAGE_kmod-batman-adv |
| 39 | default y |
| 40 | help |
| 41 | This option enables DAT (Distributed ARP Table), a DHT based |
| 42 | mechanism that increases ARP reliability on sparse wireless |
| 43 | mesh networks. If you think that your network does not need |
| 44 | this option you can safely remove it and save some space. |
| 45 | |
| 46 | config BATMAN_ADV_NC |
| 47 | bool "Network Coding" |
| 48 | depends on PACKAGE_kmod-batman-adv |
| 49 | help |
| 50 | This option enables network coding, a mechanism that aims to |
| 51 | increase the overall network throughput by fusing multiple |
| 52 | packets in one transmission. |
| 53 | Note that interfaces controlled by batman-adv must be manually |
| 54 | configured to have promiscuous mode enabled in order to make |
| 55 | network coding work. |
| 56 | If you think that your network does not need this feature you |
| 57 | can safely disable it and save some space. |
| 58 | |
| 59 | config BATMAN_ADV_MCAST |
| 60 | bool "Multicast optimisation" |
| 61 | depends on PACKAGE_kmod-batman-adv |
| 62 | default y |
| 63 | help |
| 64 | This option enables the multicast optimisation which aims to |
| 65 | reduce the air overhead while improving the reliability of |
| 66 | multicast messages. |
| 67 | |
| 68 | config BATMAN_ADV_DEBUG |
| 69 | bool "B.A.T.M.A.N. debugging" |
| 70 | depends on PACKAGE_kmod-batman-adv |
| 71 | help |
| 72 | This is an option for use by developers; most people should |
| 73 | say N here. This enables compilation of support for |
| 74 | outputting debugging information to the debugfs log or tracing |
| 75 | buffer. The output is controlled via the batadv netdev specific |
| 76 | log_level setting. |
| 77 | |
| 78 | config BATMAN_ADV_TRACING |
| 79 | bool "B.A.T.M.A.N. tracing support" |
| 80 | depends on PACKAGE_kmod-batman-adv |
| 81 | select KERNEL_FTRACE |
| 82 | select KERNEL_ENABLE_DEFAULT_TRACERS |
| 83 | help |
| 84 | This is an option for use by developers; most people should |
| 85 | say N here. Select this option to gather traces like the debug |
| 86 | messages using the generic tracing infrastructure of the kernel. |
| 87 | BATMAN_ADV_DEBUG must also be selected to get trace events for |
| 88 | batadv_dbg. |