batman-adv: Add elp_interval hardif genl configuration
authorSven Eckelmann <sven@narfation.org>
Fri, 23 Nov 2018 12:30:04 +0000 (13:30 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sat, 9 Feb 2019 13:28:15 +0000 (14:28 +0100)
commita108008290405545b43b9c7975344bc59af2341b
tree79dbdc32b04e12dc8022458d4e29d99171a0d323
parent7b751b39f018a828a04692e199c044087102e96c
batman-adv: Add elp_interval hardif genl configuration

The ELP packets are transmitted every elp_interval milliseconds on an
slave/hard-interface. This value can be changed using the configuration
interface.

The BATADV_CMD_SET_HARDIF/BATADV_CMD_GET_HARDIF commands allow to set/get
the configuration of this feature using the u32 BATADV_ATTR_ELP_INTERVAL
attribute.

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