batman-adv: improved gateway tq-based selection
authorAntonio Quartulli <ordex@autistici.org>
Tue, 26 Apr 2011 19:31:45 +0000 (21:31 +0200)
committerSven Eckelmann <sven@narfation.org>
Mon, 20 Jun 2011 09:37:41 +0000 (11:37 +0200)
If a client issues a DHCPREQUEST for renewal, the packet is dropped
if the old destination (the old gateway for the client) TQ is smaller
than the current best gateway TQ less GW_THRESHOLD

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/gateway_client.c
net/batman-adv/gateway_client.h
net/batman-adv/main.h
net/batman-adv/soft-interface.c

Simple merge
Simple merge
Simple merge
Simple merge