2017-11-19 14:05:13 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2018-12-31 22:59:59 +00:00
|
|
|
# Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
2017-11-19 14:05:13 +00:00
|
|
|
#
|
|
|
|
# Marek Lindner, Simon Wunderlich
|
|
|
|
|
2010-12-13 11:19:28 +00:00
|
|
|
#
|
|
|
|
# B.A.T.M.A.N meshing protocol
|
|
|
|
#
|
|
|
|
|
|
|
|
config BATMAN_ADV
|
|
|
|
tristate "B.A.T.M.A.N. Advanced Meshing Protocol"
|
2011-11-06 11:23:55 +00:00
|
|
|
depends on NET
|
2012-10-17 19:10:39 +00:00
|
|
|
select LIBCRC32C
|
2012-03-31 13:10:33 +00:00
|
|
|
help
|
|
|
|
B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is
|
|
|
|
a routing protocol for multi-hop ad-hoc mesh networks. The
|
|
|
|
networks may be wired or wireless. See
|
2015-12-06 15:15:07 +00:00
|
|
|
https://www.open-mesh.org/ for more information and user space
|
2012-03-31 13:10:33 +00:00
|
|
|
tools.
|
2010-12-13 11:19:28 +00:00
|
|
|
|
2016-01-16 08:40:09 +00:00
|
|
|
config BATMAN_ADV_BATMAN_V
|
2018-05-26 09:40:32 +00:00
|
|
|
bool "B.A.T.M.A.N. V protocol"
|
2016-09-20 13:59:17 +00:00
|
|
|
depends on BATMAN_ADV && !(CFG80211=m && BATMAN_ADV=y)
|
2018-05-13 22:42:59 +00:00
|
|
|
default y
|
2016-01-16 08:40:09 +00:00
|
|
|
help
|
|
|
|
This option enables the B.A.T.M.A.N. V protocol, the successor
|
|
|
|
of the currently used B.A.T.M.A.N. IV protocol. The main
|
|
|
|
changes include splitting of the OGM protocol into a neighbor
|
|
|
|
discovery protocol (Echo Location Protocol, ELP) and a new OGM
|
|
|
|
Protocol OGMv2 for flooding protocol information through the
|
|
|
|
network, as well as a throughput based metric.
|
|
|
|
B.A.T.M.A.N. V is currently considered experimental and not
|
|
|
|
compatible to B.A.T.M.A.N. IV networks.
|
|
|
|
|
2012-01-22 19:00:27 +00:00
|
|
|
config BATMAN_ADV_BLA
|
|
|
|
bool "Bridge Loop Avoidance"
|
2011-11-06 11:23:55 +00:00
|
|
|
depends on BATMAN_ADV && INET
|
2018-10-14 15:16:14 +00:00
|
|
|
select CRC16
|
2012-01-22 19:00:27 +00:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
This option enables BLA (Bridge Loop Avoidance), a mechanism
|
|
|
|
to avoid Ethernet frames looping when mesh nodes are connected
|
|
|
|
to both the same LAN and the same mesh. If you will never use
|
|
|
|
more than one mesh node in the same LAN, you can safely remove
|
|
|
|
this feature and save some space.
|
2010-12-13 11:19:28 +00:00
|
|
|
|
2011-11-06 11:23:55 +00:00
|
|
|
config BATMAN_ADV_DAT
|
|
|
|
bool "Distributed ARP Table"
|
|
|
|
depends on BATMAN_ADV && INET
|
2018-06-03 10:52:03 +00:00
|
|
|
default y
|
2011-11-06 11:23:55 +00:00
|
|
|
help
|
|
|
|
This option enables DAT (Distributed ARP Table), a DHT based
|
|
|
|
mechanism that increases ARP reliability on sparse wireless
|
|
|
|
mesh networks. If you think that your network does not need
|
|
|
|
this option you can safely remove it and save some space.
|
|
|
|
|
2013-01-25 10:12:38 +00:00
|
|
|
config BATMAN_ADV_NC
|
|
|
|
bool "Network Coding"
|
|
|
|
depends on BATMAN_ADV
|
|
|
|
help
|
|
|
|
This option enables network coding, a mechanism that aims to
|
|
|
|
increase the overall network throughput by fusing multiple
|
|
|
|
packets in one transmission.
|
|
|
|
Note that interfaces controlled by batman-adv must be manually
|
|
|
|
configured to have promiscuous mode enabled in order to make
|
|
|
|
network coding work.
|
|
|
|
If you think that your network does not need this feature you
|
|
|
|
can safely disable it and save some space.
|
|
|
|
|
2014-02-15 16:47:49 +00:00
|
|
|
config BATMAN_ADV_MCAST
|
|
|
|
bool "Multicast optimisation"
|
2016-05-10 16:41:25 +00:00
|
|
|
depends on BATMAN_ADV && INET && !(BRIDGE=m && BATMAN_ADV=y)
|
2018-11-06 09:01:50 +00:00
|
|
|
default y
|
2014-02-15 16:47:49 +00:00
|
|
|
help
|
|
|
|
This option enables the multicast optimisation which aims to
|
|
|
|
reduce the air overhead while improving the reliability of
|
|
|
|
multicast messages.
|
|
|
|
|
2016-07-16 07:31:20 +00:00
|
|
|
config BATMAN_ADV_DEBUGFS
|
|
|
|
bool "batman-adv debugfs entries"
|
2012-03-31 13:10:33 +00:00
|
|
|
depends on BATMAN_ADV
|
2014-11-29 18:07:46 +00:00
|
|
|
depends on DEBUG_FS
|
2016-07-16 07:31:20 +00:00
|
|
|
help
|
|
|
|
Enable this to export routing related debug tables via debugfs.
|
|
|
|
The information for each soft-interface and used hard-interface can be
|
|
|
|
found under batman_adv/
|
|
|
|
|
2018-03-18 09:34:29 +00:00
|
|
|
If unsure, say N.
|
2016-07-16 07:31:20 +00:00
|
|
|
|
|
|
|
config BATMAN_ADV_DEBUG
|
|
|
|
bool "B.A.T.M.A.N. debugging"
|
2018-10-21 09:30:31 +00:00
|
|
|
depends on BATMAN_ADV
|
2012-03-31 13:10:33 +00:00
|
|
|
help
|
2010-12-13 11:19:28 +00:00
|
|
|
This is an option for use by developers; most people should
|
|
|
|
say N here. This enables compilation of support for
|
2018-10-21 09:30:32 +00:00
|
|
|
outputting debugging information to the debugfs log or tracing
|
|
|
|
buffer. The output is controlled via the batadv netdev specific
|
|
|
|
log_level setting.
|
2018-08-10 21:36:16 +00:00
|
|
|
|
2019-03-03 17:02:57 +00:00
|
|
|
config BATMAN_ADV_SYSFS
|
|
|
|
bool "batman-adv sysfs entries"
|
|
|
|
depends on BATMAN_ADV
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Say Y here if you want to enable batman-adv device configuration and
|
|
|
|
status interface through sysfs attributes. It is replaced by the
|
|
|
|
batadv generic netlink family but still used by various userspace
|
|
|
|
tools and scripts.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2018-08-10 21:36:16 +00:00
|
|
|
config BATMAN_ADV_TRACING
|
|
|
|
bool "B.A.T.M.A.N. tracing support"
|
|
|
|
depends on BATMAN_ADV
|
|
|
|
depends on EVENT_TRACING
|
|
|
|
help
|
|
|
|
This is an option for use by developers; most people should
|
|
|
|
say N here. Select this option to gather traces like the debug
|
|
|
|
messages using the generic tracing infrastructure of the kernel.
|
|
|
|
BATMAN_ADV_DEBUG must also be selected to get trace events for
|
|
|
|
batadv_dbg.
|