1 # SPDX-License-Identifier: GPL-2.0 << 2 # Copyright (C) B.A.T.M.A.N. contributors: << 3 # << 4 # Marek Lindner, Simon Wunderlich << 5 << 6 # 1 # 7 # B.A.T.M.A.N meshing protocol 2 # B.A.T.M.A.N meshing protocol 8 # 3 # 9 4 10 config BATMAN_ADV 5 config BATMAN_ADV 11 tristate "B.A.T.M.A.N. Advanced Meshin 6 tristate "B.A.T.M.A.N. Advanced Meshing Protocol" >> 7 depends on NET >> 8 select CRC16 12 select LIBCRC32C 9 select LIBCRC32C >> 10 default n 13 help 11 help 14 B.A.T.M.A.N. (better approach to mob !! 12 B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is 15 a routing protocol for multi-hop ad- !! 13 a routing protocol for multi-hop ad-hoc mesh networks. The 16 networks may be wired or wireless. S !! 14 networks may be wired or wireless. See 17 https://www.open-mesh.org/ for more !! 15 https://www.open-mesh.org/ for more information and user space 18 tools. !! 16 tools. 19 17 20 config BATMAN_ADV_BATMAN_V 18 config BATMAN_ADV_BATMAN_V 21 bool "B.A.T.M.A.N. V protocol" !! 19 bool "B.A.T.M.A.N. V protocol (experimental)" 22 depends on BATMAN_ADV && !(CFG80211=m !! 20 depends on BATMAN_ADV && CFG80211=y || (CFG80211=m && BATMAN_ADV=m) 23 default y !! 21 default n 24 help 22 help 25 This option enables the B.A.T.M.A.N. 23 This option enables the B.A.T.M.A.N. V protocol, the successor 26 of the currently used B.A.T.M.A.N. I 24 of the currently used B.A.T.M.A.N. IV protocol. The main 27 changes include splitting of the OGM 25 changes include splitting of the OGM protocol into a neighbor 28 discovery protocol (Echo Location Pr 26 discovery protocol (Echo Location Protocol, ELP) and a new OGM 29 Protocol OGMv2 for flooding protocol 27 Protocol OGMv2 for flooding protocol information through the 30 network, as well as a throughput bas 28 network, as well as a throughput based metric. 31 B.A.T.M.A.N. V is currently consider 29 B.A.T.M.A.N. V is currently considered experimental and not 32 compatible to B.A.T.M.A.N. IV networ 30 compatible to B.A.T.M.A.N. IV networks. 33 31 34 config BATMAN_ADV_BLA 32 config BATMAN_ADV_BLA 35 bool "Bridge Loop Avoidance" 33 bool "Bridge Loop Avoidance" 36 depends on BATMAN_ADV && INET 34 depends on BATMAN_ADV && INET 37 select CRC16 << 38 default y 35 default y 39 help 36 help 40 This option enables BLA (Bridge Loop 37 This option enables BLA (Bridge Loop Avoidance), a mechanism 41 to avoid Ethernet frames looping whe 38 to avoid Ethernet frames looping when mesh nodes are connected 42 to both the same LAN and the same me 39 to both the same LAN and the same mesh. If you will never use 43 more than one mesh node in the same 40 more than one mesh node in the same LAN, you can safely remove 44 this feature and save some space. 41 this feature and save some space. 45 42 46 config BATMAN_ADV_DAT 43 config BATMAN_ADV_DAT 47 bool "Distributed ARP Table" 44 bool "Distributed ARP Table" 48 depends on BATMAN_ADV && INET 45 depends on BATMAN_ADV && INET 49 default y !! 46 default n 50 help 47 help 51 This option enables DAT (Distributed 48 This option enables DAT (Distributed ARP Table), a DHT based 52 mechanism that increases ARP reliabi 49 mechanism that increases ARP reliability on sparse wireless 53 mesh networks. If you think that you 50 mesh networks. If you think that your network does not need 54 this option you can safely remove it 51 this option you can safely remove it and save some space. 55 52 56 config BATMAN_ADV_NC 53 config BATMAN_ADV_NC 57 bool "Network Coding" 54 bool "Network Coding" 58 depends on BATMAN_ADV 55 depends on BATMAN_ADV >> 56 default n 59 help 57 help 60 This option enables network coding, 58 This option enables network coding, a mechanism that aims to 61 increase the overall network through 59 increase the overall network throughput by fusing multiple 62 packets in one transmission. 60 packets in one transmission. 63 Note that interfaces controlled by b 61 Note that interfaces controlled by batman-adv must be manually 64 configured to have promiscuous mode 62 configured to have promiscuous mode enabled in order to make 65 network coding work. 63 network coding work. 66 If you think that your network does 64 If you think that your network does not need this feature you 67 can safely disable it and save some 65 can safely disable it and save some space. 68 66 69 config BATMAN_ADV_MCAST 67 config BATMAN_ADV_MCAST 70 bool "Multicast optimisation" 68 bool "Multicast optimisation" 71 depends on BATMAN_ADV && INET && !(BRI 69 depends on BATMAN_ADV && INET && !(BRIDGE=m && BATMAN_ADV=y) 72 default y !! 70 default n 73 help 71 help 74 This option enables the multicast op 72 This option enables the multicast optimisation which aims to 75 reduce the air overhead while improv 73 reduce the air overhead while improving the reliability of 76 multicast messages. 74 multicast messages. 77 75 78 config BATMAN_ADV_DEBUG !! 76 config BATMAN_ADV_DEBUGFS 79 bool "B.A.T.M.A.N. debugging" !! 77 bool "batman-adv debugfs entries" 80 depends on BATMAN_ADV 78 depends on BATMAN_ADV >> 79 depends on DEBUG_FS >> 80 default y 81 help 81 help 82 This is an option for use by develop !! 82 Enable this to export routing related debug tables via debugfs. 83 say N here. This enables compilation !! 83 The information for each soft-interface and used hard-interface can be 84 outputting debugging information to !! 84 found under batman_adv/ 85 controlled via the batadv netdev spe << 86 85 87 config BATMAN_ADV_TRACING !! 86 If unsure, say Y. 88 bool "B.A.T.M.A.N. tracing support" !! 87 89 depends on BATMAN_ADV !! 88 config BATMAN_ADV_DEBUG 90 depends on EVENT_TRACING !! 89 bool "B.A.T.M.A.N. debugging" >> 90 depends on BATMAN_ADV_DEBUGFS 91 help 91 help 92 This is an option for use by develop 92 This is an option for use by developers; most people should 93 say N here. Select this option to ga !! 93 say N here. This enables compilation of support for 94 messages using the generic tracing i !! 94 outputting debugging information to the kernel log. The 95 BATMAN_ADV_DEBUG must also be select !! 95 output is controlled via the module parameter debug. 96 batadv_dbg. <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.