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)
commit43676ab590c3f8686fd047d34c3e33803eef71f0
tree056303a6b33a23a74610cceee11c946847b22c61
parent19595e054d35820e026caac314414e435287e3ae
batman-adv: improved gateway tq-based selection

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