Staging: batman-adv: adding gateway functionality
authorMarek Lindner <lindner_marek@yahoo.de>
Sun, 21 Nov 2010 23:56:02 +0000 (00:56 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 29 Nov 2010 19:09:13 +0000 (11:09 -0800)
commitdfaf9dd3459cac02411cebf418e8469aa0d8ca5d
tree1c71c3ed4de7bb097b1f1be375eaf980dd5ee958
parent7a18deb7b03e4112af5add8498889f9b2b36d59f
Staging: batman-adv: adding gateway functionality

Via the /sys filesystem you can change the gateway mode of a node using
gw_mode. Adjustments to it can be done using gw_bandwidth for server
mode and gw_sel_class for client mode.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
[sven.eckelmann@gmx.de: Rework on top of current version]
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 files changed:
drivers/staging/batman-adv/Makefile
drivers/staging/batman-adv/bat_debugfs.c
drivers/staging/batman-adv/bat_sysfs.c
drivers/staging/batman-adv/gateway_client.c [new file with mode: 0644]
drivers/staging/batman-adv/gateway_client.h [new file with mode: 0644]
drivers/staging/batman-adv/gateway_common.c [new file with mode: 0644]
drivers/staging/batman-adv/gateway_common.h [new file with mode: 0644]
drivers/staging/batman-adv/main.c
drivers/staging/batman-adv/originator.c
drivers/staging/batman-adv/packet.h
drivers/staging/batman-adv/routing.c
drivers/staging/batman-adv/send.c
drivers/staging/batman-adv/soft-interface.c
drivers/staging/batman-adv/sysfs-class-net-mesh
drivers/staging/batman-adv/types.h