summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/hard-interface.h
diff options
context:
space:
mode:
authorMarek Lindner2016-09-30 15:21:04 +0200
committerSimon Wunderlich2016-11-08 19:02:38 +0100
commit5ed4a460a1d359e1e9e7f54f6c78dfa9d1586b4b (patch)
tree9b98f285285ac6a1292fc7296658cc4785a84bd1 /net/batman-adv/hard-interface.h
parentbatman-adv: Cache the type of wifi device for each hardif (diff)
downloadkernel-qcow2-linux-5ed4a460a1d359e1e9e7f54f6c78dfa9d1586b4b.tar.gz
kernel-qcow2-linux-5ed4a460a1d359e1e9e7f54f6c78dfa9d1586b4b.tar.xz
kernel-qcow2-linux-5ed4a460a1d359e1e9e7f54f6c78dfa9d1586b4b.zip
batman-adv: additional checks for virtual interfaces on top of WiFi
In a few situations batman-adv tries to determine whether a given interface is a WiFi interface to enable specific WiFi optimizations. If the interface batman-adv has been configured with is a virtual interface (e.g. VLAN) it would not be properly detected as WiFi interface and thus not benefit from the special WiFi treatment. This patch changes that by peeking under the hood whenever a virtual interface is in play. Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> [sven.eckelmann@open-mesh.com: integrate in wifi_flags caching, retrieve namespace of link interface] Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/hard-interface.h')
0 files changed, 0 insertions, 0 deletions