[PATCH 0/2] Enable the batman-adv Gateway selection

Tim Niemeyer tim.niemeyer at mastersword.de
Mo Sep 14 21:58:51 CEST 2015


This Patchset enables the gateway selection and adds a cron to reset the
selection every one minute. I didn't find a better way to tell batman to
look for newer and better gateways.

I tried different gateway selection classes, only class 1 allows us to
take care of the selection via the announced bandwidth. Unfortunately the
class 1 stick with the selection until the gateway disappears. Even if a
much better gateway is announced the node will stay with that gateway. To encounter this behaviour, the cron disables the client mode for one second.
This will tell batman to make a new evaluation.

Attention: By applying this patches only Hoods with enabled gateway selection
can serve DHCP to Client.


Tim Niemeyer (2):
  batman-adv: enabled client gateway mode
  cron: disable every 1min the gw selection for 1s

 bsp/default/root_file_system/etc/config/batman-adv | 4 ++--
 bsp/default/root_file_system/etc/crontabs/root     | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

-- 
2.1.4




Mehr Informationen über die Mailingliste franken-dev