summaryrefslogtreecommitdiff
path: root/net/mac80211/mesh.c
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin@sipsolutions.net>2017-05-16 12:23:12 +0300
committerJohannes Berg <johannes.berg@intel.com>2017-05-19 14:25:58 +0300
commit8d9de16f80d35f12198496640c4f09d35fd77715 (patch)
tree74992d2e7684efa2e0f8a48f4607695f7c14b09a /net/mac80211/mesh.c
parentd37d49c2f18fb53c6315b2b0fd7f1fb3d8be57ac (diff)
downloadlinux-8d9de16f80d35f12198496640c4f09d35fd77715.tar.xz
wireless: Require HANDLE_DFS flag to switch channel for non-AP mode
In the case the channel should be switched to one requiring DFS we need to make sure that userspace will handle radar events when they happen. For AP mode this is assumed to be the case, as a manager like hostapd is required. However IBSS and MESH modes can work without further userspace assistance, so refuse to use DFS channels unless userspace vouches that it handles DFS. NOTE: Userspace should have already flagged support earlier during mesh or IBSS setup. However, this information is not readily accessible currently. Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> [sw: style cleanups] Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh.c')
0 files changed, 0 insertions, 0 deletions