Kconfig 3.8 KB

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