batman-adv: upgrade package to latest release 2019.1
[feed/routing.git] / batman-adv / Config.in
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 # 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.
9 #
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.
14 #
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/>.
17
18 #
19 # B.A.T.M.A.N meshing protocol
20 #
21
22 config BATMAN_ADV_BATMAN_V
23 bool "B.A.T.M.A.N. V protocol"
24 depends on PACKAGE_kmod-batman-adv
25 default y
26 help
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.
35
36 config BATMAN_ADV_BLA
37 bool "Bridge Loop Avoidance"
38 depends on PACKAGE_kmod-batman-adv
39 select PACKAGE_kmod-lib-crc16
40 default y
41 help
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.
47
48 config BATMAN_ADV_DAT
49 bool "Distributed ARP Table"
50 depends on PACKAGE_kmod-batman-adv
51 default y
52 help
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.
57
58 config BATMAN_ADV_NC
59 bool "Network Coding"
60 depends on PACKAGE_kmod-batman-adv
61 help
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
67 network coding work.
68 If you think that your network does not need this feature you
69 can safely disable it and save some space.
70
71 config BATMAN_ADV_MCAST
72 bool "Multicast optimisation"
73 depends on PACKAGE_kmod-batman-adv
74 default y
75 help
76 This option enables the multicast optimisation which aims to
77 reduce the air overhead while improving the reliability of
78 multicast messages.
79
80 config BATMAN_ADV_DEBUGFS
81 bool "batman-adv debugfs entries"
82 depends on PACKAGE_kmod-batman-adv
83 select KERNEL_DEBUG_FS
84 help
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/
88
89 If unsure, say N.
90
91 config BATMAN_ADV_DEBUG
92 bool "B.A.T.M.A.N. debugging"
93 depends on PACKAGE_kmod-batman-adv
94 help
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 debugfs log or tracing
98 buffer. The output is controlled via the batadv netdev specific
99 log_level setting.
100
101 config BATMAN_ADV_TRACING
102 bool "B.A.T.M.A.N. tracing support"
103 depends on PACKAGE_kmod-batman-adv
104 select KERNEL_FTRACE
105 select KERNEL_ENABLE_DEFAULT_TRACERS
106 help
107 This is an option for use by developers; most people should
108 say N here. Select this option to gather traces like the debug
109 messages using the generic tracing infrastructure of the kernel.
110 BATMAN_ADV_DEBUG must also be selected to get trace events for
111 batadv_dbg.