batman-adv: tvlv - gateway download/upload bandwidth container
authorMarek Lindner <lindner_marek@yahoo.de>
Tue, 23 Apr 2013 13:39:58 +0000 (21:39 +0800)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 9 Oct 2013 19:22:27 +0000 (21:22 +0200)
commit414254e342a0d58144de40c3da777521ebaeeb07
treea292367d064dd72f4b7a095382e11a9974d685af
parentef26157747d42254453f6b3ac2bd8bd3c53339c3
batman-adv: tvlv - gateway download/upload bandwidth container

Prior to this patch batman-adv read the advertised uplink bandwidth
from userspace and compressed this information into a single byte
called "gateway class".
Now the download & upload bandwidth information is sent as-is. No
userspace change is necessary since the sysfs API always allowed
to specify a bandwidth.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/gateway_client.c
net/batman-adv/gateway_client.h
net/batman-adv/gateway_common.c
net/batman-adv/gateway_common.h
net/batman-adv/main.c
net/batman-adv/originator.c
net/batman-adv/packet.h
net/batman-adv/soft-interface.c
net/batman-adv/sysfs.c
net/batman-adv/types.h