xref: /openbmc/linux/net/batman-adv/Kconfig (revision d353d8d4)
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
39*d353d8d4SMartin Hundebøllconfig BATMAN_ADV_NC
40*d353d8d4SMartin Hundebøll	bool "Network Coding"
41*d353d8d4SMartin Hundebøll	depends on BATMAN_ADV
42*d353d8d4SMartin Hundebøll	default n
43*d353d8d4SMartin Hundebøll	help
44*d353d8d4SMartin Hundebøll	  This option enables network coding, a mechanism that aims to
45*d353d8d4SMartin Hundebøll	  increase the overall network throughput by fusing multiple
46*d353d8d4SMartin Hundebøll	  packets in one transmission.
47*d353d8d4SMartin Hundebøll	  Note that interfaces controlled by batman-adv must be manually
48*d353d8d4SMartin Hundebøll	  configured to have promiscuous mode enabled in order to make
49*d353d8d4SMartin Hundebøll	  network coding work.
50*d353d8d4SMartin Hundebøll	  If you think that your network does not need this feature you
51*d353d8d4SMartin Hundebøll	  can safely disable it and save some space.
52*d353d8d4SMartin Hundebøll
53c6c8fea2SSven Eckelmannconfig BATMAN_ADV_DEBUG
54c6c8fea2SSven Eckelmann	bool "B.A.T.M.A.N. debugging"
5510e3cd6aSAntonio Quartulli	depends on BATMAN_ADV
5610e3cd6aSAntonio Quartulli	help
57c6c8fea2SSven Eckelmann	  This is an option for use by developers; most people should
58c6c8fea2SSven Eckelmann	  say N here. This enables compilation of support for
59c6c8fea2SSven Eckelmann	  outputting debugging information to the kernel log. The
60c6c8fea2SSven Eckelmann	  output is controlled via the module parameter debug.
61