| .. | .. | 
|---|
| 1 | 1 |  # SPDX-License-Identifier: GPL-2.0 | 
|---|
| 2 |  | -# Copyright (C) 2007-2018  B.A.T.M.A.N. contributors:  | 
|---|
 | 2 | +# Copyright (C) 2007-2020  B.A.T.M.A.N. contributors:  | 
|---|
| 3 | 3 |  # | 
|---|
| 4 | 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/>.  | 
|---|
| 17 | 5 |   | 
|---|
| 18 | 6 |  # | 
|---|
| 19 | 7 |  # B.A.T.M.A.N meshing protocol | 
|---|
| .. | .. | 
|---|
| 22 | 10 |  config BATMAN_ADV | 
|---|
| 23 | 11 |  	tristate "B.A.T.M.A.N. Advanced Meshing Protocol" | 
|---|
| 24 | 12 |  	depends on NET | 
|---|
| 25 |  | -	select CRC16  | 
|---|
| 26 | 13 |  	select LIBCRC32C | 
|---|
| 27 | 14 |  	help | 
|---|
| 28 |  | -          B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is  | 
|---|
| 29 |  | -          a routing protocol for multi-hop ad-hoc mesh networks. The  | 
|---|
| 30 |  | -          networks may be wired or wireless. See  | 
|---|
| 31 |  | -          https://www.open-mesh.org/ for more information and user space  | 
|---|
| 32 |  | -          tools.  | 
|---|
 | 15 | +	  B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is  | 
|---|
 | 16 | +	  a routing protocol for multi-hop ad-hoc mesh networks. The  | 
|---|
 | 17 | +	  networks may be wired or wireless. See  | 
|---|
 | 18 | +	  https://www.open-mesh.org/ for more information and user space  | 
|---|
 | 19 | +	  tools.  | 
|---|
| 33 | 20 |   | 
|---|
| 34 | 21 |  config BATMAN_ADV_BATMAN_V | 
|---|
| 35 | 22 |  	bool "B.A.T.M.A.N. V protocol" | 
|---|
| .. | .. | 
|---|
| 48 | 35 |  config BATMAN_ADV_BLA | 
|---|
| 49 | 36 |  	bool "Bridge Loop Avoidance" | 
|---|
| 50 | 37 |  	depends on BATMAN_ADV && INET | 
|---|
 | 38 | +	select CRC16  | 
|---|
| 51 | 39 |  	default y | 
|---|
| 52 | 40 |  	help | 
|---|
| 53 | 41 |  	  This option enables BLA (Bridge Loop Avoidance), a mechanism | 
|---|
| .. | .. | 
|---|
| 82 | 70 |  config BATMAN_ADV_MCAST | 
|---|
| 83 | 71 |  	bool "Multicast optimisation" | 
|---|
| 84 | 72 |  	depends on BATMAN_ADV && INET && !(BRIDGE=m && BATMAN_ADV=y) | 
|---|
 | 73 | +	default y  | 
|---|
| 85 | 74 |  	help | 
|---|
| 86 | 75 |  	  This option enables the multicast optimisation which aims to | 
|---|
| 87 | 76 |  	  reduce the air overhead while improving the reliability of | 
|---|
| .. | .. | 
|---|
| 100 | 89 |   | 
|---|
| 101 | 90 |  config BATMAN_ADV_DEBUG | 
|---|
| 102 | 91 |  	bool "B.A.T.M.A.N. debugging" | 
|---|
| 103 |  | -	depends on BATMAN_ADV_DEBUGFS  | 
|---|
 | 92 | +	depends on BATMAN_ADV  | 
|---|
| 104 | 93 |  	help | 
|---|
| 105 | 94 |  	  This is an option for use by developers; most people should | 
|---|
| 106 | 95 |  	  say N here. This enables compilation of support for | 
|---|
| 107 |  | -	  outputting debugging information to the kernel log. The  | 
|---|
| 108 |  | -	  output is controlled via the module parameter debug.  | 
|---|
 | 96 | +	  outputting debugging information to the debugfs log or tracing  | 
|---|
 | 97 | +	  buffer. The output is controlled via the batadv netdev specific  | 
|---|
 | 98 | +	  log_level setting.  | 
|---|
 | 99 | +  | 
|---|
 | 100 | +config BATMAN_ADV_SYSFS  | 
|---|
 | 101 | +	bool "batman-adv sysfs entries"  | 
|---|
 | 102 | +	depends on BATMAN_ADV  | 
|---|
 | 103 | +	help  | 
|---|
 | 104 | +	  Say Y here if you want to enable batman-adv device configuration and  | 
|---|
 | 105 | +	  status interface through sysfs attributes. It is replaced by the  | 
|---|
 | 106 | +	  batadv generic netlink family but still used by various userspace  | 
|---|
 | 107 | +	  tools and scripts.  | 
|---|
 | 108 | +  | 
|---|
 | 109 | +	  If unsure, say Y.  | 
|---|
 | 110 | +  | 
|---|
 | 111 | +config BATMAN_ADV_TRACING  | 
|---|
 | 112 | +	bool "B.A.T.M.A.N. tracing support"  | 
|---|
 | 113 | +	depends on BATMAN_ADV  | 
|---|
 | 114 | +	depends on EVENT_TRACING  | 
|---|
 | 115 | +	help  | 
|---|
 | 116 | +	  This is an option for use by developers; most people should  | 
|---|
 | 117 | +	  say N here. Select this option to gather traces like the debug  | 
|---|
 | 118 | +	  messages using the generic tracing infrastructure of the kernel.  | 
|---|
 | 119 | +	  BATMAN_ADV_DEBUG must also be selected to get trace events for  | 
|---|
 | 120 | +	  batadv_dbg.  | 
|---|