1 # SPDX-License-Identifier: GPL-2.0
2 # Copyright (C) 2007-2018 B.A.T.M.A.N. contributors:
4 # Marek Lindner, Simon Wunderlich
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of version 2 of the GNU General Public
8 # License as published by the Free Software Foundation.
10 # This program is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, see <http://www.gnu.org/licenses/>.
19 # B.A.T.M.A.N meshing protocol
22 config BATMAN_ADV_BATMAN_V
23 bool "B.A.T.M.A.N. V protocol"
24 depends on PACKAGE_kmod-batman-adv
27 This option enables the B.A.T.M.A.N. V protocol, the successor
28 of the currently used B.A.T.M.A.N. IV protocol. The main
29 changes include splitting of the OGM protocol into a neighbor
30 discovery protocol (Echo Location Protocol, ELP) and a new OGM
31 Protocol OGMv2 for flooding protocol information through the
32 network, as well as a throughput based metric.
33 B.A.T.M.A.N. V is currently considered experimental and not
34 compatible to B.A.T.M.A.N. IV networks.
37 bool "Bridge Loop Avoidance"
38 depends on PACKAGE_kmod-batman-adv
39 select PACKAGE_kmod-lib-crc16
42 This option enables BLA (Bridge Loop Avoidance), a mechanism
43 to avoid Ethernet frames looping when mesh nodes are connected
44 to both the same LAN and the same mesh. If you will never use
45 more than one mesh node in the same LAN, you can safely remove
46 this feature and save some space.
49 bool "Distributed ARP Table"
50 depends on PACKAGE_kmod-batman-adv
53 This option enables DAT (Distributed ARP Table), a DHT based
54 mechanism that increases ARP reliability on sparse wireless
55 mesh networks. If you think that your network does not need
56 this option you can safely remove it and save some space.
60 depends on PACKAGE_kmod-batman-adv
62 This option enables network coding, a mechanism that aims to
63 increase the overall network throughput by fusing multiple
64 packets in one transmission.
65 Note that interfaces controlled by batman-adv must be manually
66 configured to have promiscuous mode enabled in order to make
68 If you think that your network does not need this feature you
69 can safely disable it and save some space.
71 config BATMAN_ADV_MCAST
72 bool "Multicast optimisation"
73 depends on PACKAGE_kmod-batman-adv
76 This option enables the multicast optimisation which aims to
77 reduce the air overhead while improving the reliability of
80 config BATMAN_ADV_DEBUGFS
81 bool "batman-adv debugfs entries"
82 depends on PACKAGE_kmod-batman-adv
83 select KERNEL_DEBUG_FS
85 Enable this to export routing related debug tables via debugfs.
86 The information for each soft-interface and used hard-interface can be
87 found under batman_adv/
91 config BATMAN_ADV_DEBUG
92 bool "B.A.T.M.A.N. debugging"
93 depends on PACKAGE_kmod-batman-adv
95 This is an option for use by developers; most people should
96 say N here. This enables compilation of support for
97 outputting debugging information to the kernel log. The
98 output is controlled via the module parameter debug.
100 config BATMAN_ADV_TRACING
101 bool "B.A.T.M.A.N. tracing support"
102 depends on PACKAGE_kmod-batman-adv
104 select KERNEL_ENABLE_DEFAULT_TRACERS
106 This is an option for use by developers; most people should
107 say N here. Select this option to gather traces like the debug
108 messages using the generic tracing infrastructure of the kernel.
109 BATMAN_ADV_DEBUG must also be selected to get trace events for