cfg80211: Enable GO operation on additional channels
authorIlan Peer <ilan.peer@intel.com>
Sun, 23 Feb 2014 07:13:01 +0000 (09:13 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 9 Apr 2014 08:55:34 +0000 (10:55 +0200)
commit174e0cd28af0fe3c6c634c3e4d9e042c683bd7f7
tree047a3e0b02e6e5bb41324cd4571ef6251cd5fa79
parent94fc661f68c881eaa3a5904c12a2269372aa94d9
cfg80211: Enable GO operation on additional channels

Allow GO operation on a channel marked with IEEE80211_CHAN_GO_CONCURRENT
iff there is an active station interface that is associated to
an AP operating on the same channel in the 2 GHz band or the same UNII band
(in the 5 GHz band). This relaxation is not allowed if the channel is
marked with IEEE80211_CHAN_RADAR.

Note that this is a permissive approach to the FCC definitions,
that require a clear assessment that the device operating the AP is
an authorized master, i.e., with radar detection and DFS capabilities.

It is assumed that such restrictions are enforced by user space.
Furthermore, it is assumed, that if the conditions that allowed for
the operation of the GO on such a channel change, i.e., the station
interface disconnected from the AP, it is the responsibility of user
space to evacuate the GO from the channel.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/net/regulatory.h
net/mac80211/ibss.c
net/wireless/Kconfig
net/wireless/chan.c
net/wireless/mesh.c
net/wireless/nl80211.c
net/wireless/reg.c
net/wireless/reg.h
net/wireless/trace.h