2018-10-14 16:24:20 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2019-03-17 09:35:50 +01:00
|
|
|
# Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
2018-10-14 16:24:20 +02:00
|
|
|
#
|
|
|
|
# Marek Lindner, Simon Wunderlich
|
|
|
|
|
|
|
|
#
|
|
|
|
# B.A.T.M.A.N meshing protocol
|
|
|
|
#
|
2011-02-06 21:32:58 +01:00
|
|
|
|
2018-10-14 16:40:43 +02:00
|
|
|
config BATMAN_ADV_BATMAN_V
|
2018-10-14 16:24:20 +02:00
|
|
|
bool "B.A.T.M.A.N. V protocol"
|
2013-04-18 14:04:54 +02:00
|
|
|
depends on PACKAGE_kmod-batman-adv
|
2018-10-14 16:50:23 +02:00
|
|
|
default y
|
2018-10-14 16:24:20 +02: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.
|
2013-01-15 14:09:04 +01:00
|
|
|
|
2018-10-14 16:40:43 +02:00
|
|
|
config BATMAN_ADV_BLA
|
2018-10-14 16:24:20 +02:00
|
|
|
bool "Bridge Loop Avoidance"
|
2013-04-18 14:04:54 +02:00
|
|
|
depends on PACKAGE_kmod-batman-adv
|
2018-10-14 16:24:20 +02:00
|
|
|
select PACKAGE_kmod-lib-crc16
|
2012-06-13 20:26:26 +02:00
|
|
|
default y
|
2018-10-14 16:24:20 +02:00
|
|
|
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.
|
2013-01-15 14:09:04 +01:00
|
|
|
|
2018-10-14 16:40:43 +02:00
|
|
|
config BATMAN_ADV_DAT
|
2018-10-14 16:24:20 +02:00
|
|
|
bool "Distributed ARP Table"
|
2013-04-18 14:04:54 +02:00
|
|
|
depends on PACKAGE_kmod-batman-adv
|
2013-01-15 14:09:04 +01:00
|
|
|
default y
|
2018-10-14 16:24:20 +02: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-15 14:09:04 +01:00
|
|
|
|
2018-10-14 16:40:43 +02:00
|
|
|
config BATMAN_ADV_NC
|
2018-10-14 16:24:20 +02:00
|
|
|
bool "Network Coding"
|
2016-09-30 10:10:51 +02:00
|
|
|
depends on PACKAGE_kmod-batman-adv
|
2018-10-14 16:24:20 +02:00
|
|
|
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.
|
2016-09-30 10:10:51 +02:00
|
|
|
|
2018-10-14 16:40:43 +02:00
|
|
|
config BATMAN_ADV_MCAST
|
2018-10-14 16:24:20 +02:00
|
|
|
bool "Multicast optimisation"
|
2014-06-07 07:33:28 +02:00
|
|
|
depends on PACKAGE_kmod-batman-adv
|
2018-11-06 10:49:18 +01:00
|
|
|
default y
|
2018-10-14 16:24:20 +02:00
|
|
|
help
|
|
|
|
This option enables the multicast optimisation which aims to
|
|
|
|
reduce the air overhead while improving the reliability of
|
|
|
|
multicast messages.
|
2014-06-07 07:33:28 +02:00
|
|
|
|
2018-10-14 16:40:43 +02:00
|
|
|
config BATMAN_ADV_DEBUGFS
|
2018-10-14 16:24:20 +02:00
|
|
|
bool "batman-adv debugfs entries"
|
2013-04-27 09:45:12 +02:00
|
|
|
depends on PACKAGE_kmod-batman-adv
|
2018-10-14 16:24:20 +02:00
|
|
|
select KERNEL_DEBUG_FS
|
|
|
|
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 N.
|
2013-04-27 09:45:12 +02:00
|
|
|
|
2018-10-14 16:40:43 +02:00
|
|
|
config BATMAN_ADV_DEBUG
|
2018-10-14 16:24:20 +02:00
|
|
|
bool "B.A.T.M.A.N. debugging"
|
2019-01-27 16:28:23 +01:00
|
|
|
depends on PACKAGE_kmod-batman-adv
|
2018-10-14 16:24:20 +02:00
|
|
|
help
|
|
|
|
This is an option for use by developers; most people should
|
|
|
|
say N here. This enables compilation of support for
|
2019-03-17 09:35:50 +01:00
|
|
|
outputting debugging information to the debugfs log or tracing
|
|
|
|
buffer. The output is controlled via the batadv netdev specific
|
|
|
|
log_level setting.
|
2018-11-06 10:49:18 +01:00
|
|
|
|
2019-05-23 20:13:21 +02:00
|
|
|
config BATMAN_ADV_SYSFS
|
|
|
|
bool "batman-adv sysfs entries"
|
|
|
|
depends on PACKAGE_kmod-batman-adv
|
|
|
|
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-11-06 10:49:18 +01:00
|
|
|
config BATMAN_ADV_TRACING
|
|
|
|
bool "B.A.T.M.A.N. tracing support"
|
|
|
|
depends on PACKAGE_kmod-batman-adv
|
|
|
|
select KERNEL_FTRACE
|
|
|
|
select KERNEL_ENABLE_DEFAULT_TRACERS
|
|
|
|
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.
|