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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -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 | /** |