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