]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/net/cfg80211.h
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)
commitd37d49c2f18fb53c6315b2b0fd7f1fb3d8be57ac
tree57aa52c95e82c874c3a74963ee9111d877098854
parent61b81b4010496e8e989307cf7ee196f83dd09681
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