batman-adv: Add bonding mesh genl configuration
authorSven Eckelmann <sven@narfation.org>
Fri, 23 Nov 2018 11:55:44 +0000 (12:55 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sat, 9 Feb 2019 13:28:13 +0000 (14:28 +0100)
commitd7e52506b680826d6ff7ce73e6a90a3b9defc741
treedf1c95f8194652e2fb91b0ded39e042d7ddf14a8
parente43d16b87dc2cad18799cfd1142f4acae4135ea4
batman-adv: Add bonding mesh genl configuration

The mesh interface can use multiple slave/hard-interface ports at the same
time to transport the traffic to other nodes.

The BATADV_CMD_SET_MESH/BATADV_CMD_GET_MESH commands allow to set/get the
configuration of this feature using the BATADV_ATTR_BONDING_ENABLED
attribute. Setting the u8 to zero will disable this feature and setting it
to something else is enabling this feature.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
include/uapi/linux/batman_adv.h
net/batman-adv/netlink.c