]> git.baikalelectronics.ru Git - kernel.git/commit
wireless: Only join DFS channels in mesh mode if userspace flags support
authorBenjamin Berg <benjamin@sipsolutions.net>
Tue, 16 May 2017 09:23:11 +0000 (11:23 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 19 May 2017 11:25:58 +0000 (13:25 +0200)
commit27f22563136cad65caf8bd0f4f49ba5cc178cd14
tree57aa52c95e82c874c3a74963ee9111d877098854
parent984a4bab45f334bc2617db6ff542f304555b6245
wireless: Only join DFS channels in mesh mode if userspace flags support

When joining a mesh network it is not guaranteed that userspace has a
daemon listening for radar events. This is however required for channels
requiring DFS. To flag that userspace will handle radar events, it needs
to set NL80211_ATTR_HANDLE_DFS.

This matches the current mechanism used for IBSS mode.

Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/mesh.c
net/wireless/nl80211.c