summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2018-11-23 13:28:02 +0100
committerSimon Wunderlich <sw@simonwunderlich.de>2019-02-09 14:28:15 +0100
commit7b751b39f018a828a04692e199c044087102e96c (patch)
tree3bd8c30f9e8b11e092952a1d213732799517b01e /include
parent6c57cde6800bae2361b8ac14a5924ffc592b3a90 (diff)
downloadlinux-7b751b39f018a828a04692e199c044087102e96c.tar.bz2
batman-adv: Add orig_interval mesh genl configuration
The OGM packets are transmitted every orig_interval milliseconds. This value can be changed using the configuration interface. The BATADV_CMD_SET_MESH/BATADV_CMD_GET_MESH commands allow to set/get the configuration of this feature using the u32 BATADV_ATTR_ORIG_INTERVAL attribute. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/batman_adv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/batman_adv.h b/include/uapi/linux/batman_adv.h
index a4239c147bde..6bedd4889c37 100644
--- a/include/uapi/linux/batman_adv.h
+++ b/include/uapi/linux/batman_adv.h
@@ -471,6 +471,12 @@ enum batadv_nl_attrs {
*/
BATADV_ATTR_NETWORK_CODING_ENABLED,
+ /**
+ * @BATADV_ATTR_ORIG_INTERVAL: defines the interval in milliseconds in
+ * which batman sends its protocol messages.
+ */
+ BATADV_ATTR_ORIG_INTERVAL,
+
/* add attributes above here, update the policy in netlink.c */
/**