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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -471,6 +471,12 @@ enum batadv_nl_attrs { · 470 unmodified lines | |||
| 471 | */ | 471 | */ |
| 472 | BATADV_ATTR_NETWORK_CODING_ENABLED, | 472 | BATADV_ATTR_NETWORK_CODING_ENABLED, |
| 473 | 473 | ||
| 474 | /** | ||
| 475 | * @BATADV_ATTR_ORIG_INTERVAL: defines the interval in milliseconds in | ||
| 476 | * which batman sends its protocol messages. | ||
| 477 | */ | ||
| 478 | BATADV_ATTR_ORIG_INTERVAL, | ||
| 479 | |||
| 474 | /* add attributes above here, update the policy in netlink.c */ | 480 | /* add attributes above here, update the policy in netlink.c */ |
| 475 | 481 | ||
| 476 | /** | 482 | /** |