2017-11-19 22:05:13 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2007-2017 B.A.T.M.A.N. contributors:
|
|
|
|
#
|
|
|
|
# Marek Lindner, Simon Wunderlich
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of version 2 of the GNU General Public
|
|
|
|
# License as published by the Free Software Foundation.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful, but
|
|
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2010-12-13 19:19:28 +08: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 19:23:55 +08:00
|
|
|
depends on NET
|
2011-04-27 20:27:44 +08:00
|
|
|
select CRC16
|
2012-10-18 03:10:39 +08:00
|
|
|
select LIBCRC32C
|
2010-12-13 19:19:28 +08:00
|
|
|
default n
|
2012-03-31 21:10:33 +08: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 23:15:07 +08:00
|
|
|
https://www.open-mesh.org/ for more information and user space
|
2012-03-31 21:10:33 +08:00
|
|
|
tools.
|
2010-12-13 19:19:28 +08:00
|
|
|
|
2016-01-16 16:40:09 +08:00
|
|
|
config BATMAN_ADV_BATMAN_V
|
|
|
|
bool "B.A.T.M.A.N. V protocol (experimental)"
|
2016-09-20 21:59:17 +08:00
|
|
|
depends on BATMAN_ADV && !(CFG80211=m && BATMAN_ADV=y)
|
2016-01-16 16:40:09 +08:00
|
|
|
default n
|
|
|
|
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-23 03:00:27 +08:00
|
|
|
config BATMAN_ADV_BLA
|
|
|
|
bool "Bridge Loop Avoidance"
|
2011-11-06 19:23:55 +08:00
|
|
|
depends on BATMAN_ADV && INET
|
2012-01-23 03:00:27 +08: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 19:19:28 +08:00
|
|
|
|
2011-11-06 19:23:55 +08:00
|
|
|
config BATMAN_ADV_DAT
|
|
|
|
bool "Distributed ARP Table"
|
|
|
|
depends on BATMAN_ADV && INET
|
|
|
|
default n
|
|
|
|
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 18:12:38 +08:00
|
|
|
config BATMAN_ADV_NC
|
|
|
|
bool "Network Coding"
|
|
|
|
depends on BATMAN_ADV
|
|
|
|
default n
|
|
|
|
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-16 00:47:49 +08:00
|
|
|
config BATMAN_ADV_MCAST
|
|
|
|
bool "Multicast optimisation"
|
2016-05-11 00:41:25 +08:00
|
|
|
depends on BATMAN_ADV && INET && !(BRIDGE=m && BATMAN_ADV=y)
|
2014-02-16 00:47:49 +08:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables the multicast optimisation which aims to
|
|
|
|
reduce the air overhead while improving the reliability of
|
|
|
|
multicast messages.
|
|
|
|
|
2016-07-16 15:31:20 +08:00
|
|
|
config BATMAN_ADV_DEBUGFS
|
|
|
|
bool "batman-adv debugfs entries"
|
2012-03-31 21:10:33 +08:00
|
|
|
depends on BATMAN_ADV
|
2014-11-30 02:07:46 +08:00
|
|
|
depends on DEBUG_FS
|
2016-07-16 15:31:20 +08:00
|
|
|
default y
|
|
|
|
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/
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
|
|
|
config BATMAN_ADV_DEBUG
|
|
|
|
bool "B.A.T.M.A.N. debugging"
|
|
|
|
depends on BATMAN_ADV_DEBUGFS
|
2012-03-31 21:10:33 +08:00
|
|
|
help
|
2010-12-13 19:19:28 +08:00
|
|
|
This is an option for use by developers; most people should
|
|
|
|
say N here. This enables compilation of support for
|
|
|
|
outputting debugging information to the kernel log. The
|
|
|
|
output is controlled via the module parameter debug.
|