xref: /openbmc/linux/net/batman-adv/Kconfig (revision c5caf4ef)
1c6c8fea2SSven Eckelmann#
2c6c8fea2SSven Eckelmann# B.A.T.M.A.N meshing protocol
3c6c8fea2SSven Eckelmann#
4c6c8fea2SSven Eckelmann
5c6c8fea2SSven Eckelmannconfig BATMAN_ADV
6c6c8fea2SSven Eckelmann	tristate "B.A.T.M.A.N. Advanced Meshing Protocol"
717224474SAntonio Quartulli	depends on NET
8a73105b8SAntonio Quartulli	select CRC16
995a066d8SSven Eckelmann	select LIBCRC32C
10c6c8fea2SSven Eckelmann        default n
1110e3cd6aSAntonio Quartulli	help
12c6c8fea2SSven Eckelmann          B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is
13c6c8fea2SSven Eckelmann          a routing protocol for multi-hop ad-hoc mesh networks. The
14c6c8fea2SSven Eckelmann          networks may be wired or wireless. See
15c6c8fea2SSven Eckelmann          http://www.open-mesh.org/ for more information and user space
16c6c8fea2SSven Eckelmann          tools.
17c6c8fea2SSven Eckelmann
187a5cc242SSimon Wunderlichconfig BATMAN_ADV_BLA
197a5cc242SSimon Wunderlich	bool "Bridge Loop Avoidance"
2017224474SAntonio Quartulli	depends on BATMAN_ADV && INET
217a5cc242SSimon Wunderlich	default y
227a5cc242SSimon Wunderlich	help
237a5cc242SSimon Wunderlich	  This option enables BLA (Bridge Loop Avoidance), a mechanism
247a5cc242SSimon Wunderlich	  to avoid Ethernet frames looping when mesh nodes are connected
257a5cc242SSimon Wunderlich	  to both the same LAN and the same mesh. If you will never use
267a5cc242SSimon Wunderlich	  more than one mesh node in the same LAN, you can safely remove
277a5cc242SSimon Wunderlich	  this feature and save some space.
2810e3cd6aSAntonio Quartulli
2917224474SAntonio Quartulliconfig BATMAN_ADV_DAT
3017224474SAntonio Quartulli	bool "Distributed ARP Table"
3117224474SAntonio Quartulli	depends on BATMAN_ADV && INET
3217224474SAntonio Quartulli	default n
3317224474SAntonio Quartulli	help
3417224474SAntonio Quartulli	  This option enables DAT (Distributed ARP Table), a DHT based
3517224474SAntonio Quartulli	  mechanism that increases ARP reliability on sparse wireless
3617224474SAntonio Quartulli	  mesh networks. If you think that your network does not need
3717224474SAntonio Quartulli	  this option you can safely remove it and save some space.
3817224474SAntonio Quartulli
39d353d8d4SMartin Hundebøllconfig BATMAN_ADV_NC
40d353d8d4SMartin Hundebøll	bool "Network Coding"
41d353d8d4SMartin Hundebøll	depends on BATMAN_ADV
42d353d8d4SMartin Hundebøll	default n
43d353d8d4SMartin Hundebøll	help
44d353d8d4SMartin Hundebøll	  This option enables network coding, a mechanism that aims to
45d353d8d4SMartin Hundebøll	  increase the overall network throughput by fusing multiple
46d353d8d4SMartin Hundebøll	  packets in one transmission.
47d353d8d4SMartin Hundebøll	  Note that interfaces controlled by batman-adv must be manually
48d353d8d4SMartin Hundebøll	  configured to have promiscuous mode enabled in order to make
49d353d8d4SMartin Hundebøll	  network coding work.
50d353d8d4SMartin Hundebøll	  If you think that your network does not need this feature you
51d353d8d4SMartin Hundebøll	  can safely disable it and save some space.
52d353d8d4SMartin Hundebøll
53*c5caf4efSLinus Lüssingconfig BATMAN_ADV_MCAST
54*c5caf4efSLinus Lüssing	bool "Multicast optimisation"
55*c5caf4efSLinus Lüssing	depends on BATMAN_ADV
56*c5caf4efSLinus Lüssing	default n
57*c5caf4efSLinus Lüssing	help
58*c5caf4efSLinus Lüssing	  This option enables the multicast optimisation which aims to
59*c5caf4efSLinus Lüssing	  reduce the air overhead while improving the reliability of
60*c5caf4efSLinus Lüssing	  multicast messages.
61*c5caf4efSLinus Lüssing
62c6c8fea2SSven Eckelmannconfig BATMAN_ADV_DEBUG
63c6c8fea2SSven Eckelmann	bool "B.A.T.M.A.N. debugging"
6410e3cd6aSAntonio Quartulli	depends on BATMAN_ADV
6510e3cd6aSAntonio Quartulli	help
66c6c8fea2SSven Eckelmann	  This is an option for use by developers; most people should
67c6c8fea2SSven Eckelmann	  say N here. This enables compilation of support for
68c6c8fea2SSven Eckelmann	  outputting debugging information to the kernel log. The
69c6c8fea2SSven Eckelmann	  output is controlled via the module parameter debug.
70