On Wednesday 13 October 2010 13:33:09 Linus Lüssing wrote:
Exposing the hop_penalty is especially useful for the stated scenario: A static node can keep the default originator interval, a mobile node can select a quicker one resulting in faster route updates towards this mobile node. Additionally, such a mobile node could select a higher hop penalty (or even set it to 255 to disable acting as a router for other nodes) to make it less desirable, letting other nodes avoid selecting this mobile node as a router.
Could you please complete this patch by providing the proper sysfs API documentation. For a reference simply check the sysfs-class-net-mesh file which is now part of the repository.
Thanks, Marek