batman-adv: Add aggregated_ogms mesh genl configuration
authorSven Eckelmann <sven@narfation.org>
Fri, 23 Nov 2018 11:46:14 +0000 (12:46 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sat, 9 Feb 2019 13:28:13 +0000 (14:28 +0100)
commit9ab4cee5ced970019a5d0f3a43cf85671ca7b38f
treef185509fbed79ee31cbef55c1716736fc22d794c
parent49e7e37cd98122126e8da58df2fe2261c6e83df2
batman-adv: Add aggregated_ogms mesh genl configuration

The mesh interface can delay OGM messages to aggregate different ogms
together in a single OGM packet.

The BATADV_CMD_SET_MESH/BATADV_CMD_GET_MESH commands allow to set/get the
configuration of this feature using the BATADV_ATTR_AGGREGATED_OGMS_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