History

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.

Sven Eckelmann committed 7 years ago

Commit 9ab4cee1 parent 49e7e372 files · +18 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/batman_adv.h+6−0
@@ -350,6 +350,12 @@ enum batadv_nl_attrs { · 349 unmodified lines
350 */350 */
351 BATADV_ATTR_VLANID,351 BATADV_ATTR_VLANID,
352 352
353 /**
354 * @BATADV_ATTR_AGGREGATED_OGMS_ENABLED: whether the batman protocol
355 * messages of the mesh interface shall be aggregated or not.
356 */
357 BATADV_ATTR_AGGREGATED_OGMS_ENABLED,
358
353 /* add attributes above here, update the policy in netlink.c */359 /* add attributes above here, update the policy in netlink.c */
354 360
355 /**361 /**