comment "batman-adv needs a Linux kernel to be built"
	depends on !BR2_LINUX_KERNEL

config BR2_PACKAGE_BATMAN_ADV
	bool "batman-adv"
	depends on BR2_LINUX_KERNEL
	help
	  batman-adv mesh networking kernel module
	  Note: batman-adv is part of the linux mainline
	  kernel since version 2.6.38

	  https://www.open-mesh.org/projects/batman-adv/

if BR2_PACKAGE_BATMAN_ADV

config BR2_PACKAGE_BATMAN_ADV_DEBUG
	bool "enable debugging"
	help
	  Enables B.A.T.M.A.N. debugging.

config BR2_PACKAGE_BATMAN_ADV_NC
	bool "enable network coding"
	help
	  Enables B.A.T.M.A.N. network coding.
	  Note: this requires promiscuous mode on ALL nodes!

	  https://www.open-mesh.org/projects/batman-adv/wiki/NetworkCoding

config BR2_PACKAGE_BATMAN_ADV_BATMAN_V
	bool "enable B.A.T.M.A.N. V protocol"
	default y
	help
	  Enables B.A.T.M.A.N. V network protocol.

	  https://www.open-mesh.org/projects/batman-adv/wiki/BATMAN_V

endif
