aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2014-02-23 02:13:01 -0500
committerJohannes Berg <johannes.berg@intel.com>2014-04-09 04:55:34 -0400
commit174e0cd28af0fe3c6c634c3e4d9e042c683bd7f7 (patch)
tree047a3e0b02e6e5bb41324cd4571ef6251cd5fa79 /include/net/cfg80211.h
parent94fc661f68c881eaa3a5904c12a2269372aa94d9 (diff)
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>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 14d8d3417735..5640dc028bfa 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -4539,12 +4539,14 @@ void cfg80211_report_obss_beacon(struct wiphy *wiphy,
4539 * cfg80211_reg_can_beacon - check if beaconing is allowed 4539 * cfg80211_reg_can_beacon - check if beaconing is allowed
4540 * @wiphy: the wiphy 4540 * @wiphy: the wiphy
4541 * @chandef: the channel definition 4541 * @chandef: the channel definition
4542 * @iftype: interface type
4542 * 4543 *
4543 * Return: %true if there is no secondary channel or the secondary channel(s) 4544 * Return: %true if there is no secondary channel or the secondary channel(s)
4544 * can be used for beaconing (i.e. is not a radar channel etc.) 4545 * can be used for beaconing (i.e. is not a radar channel etc.)
4545 */ 4546 */
4546bool cfg80211_reg_can_beacon(struct wiphy *wiphy, 4547bool cfg80211_reg_can_beacon(struct wiphy *wiphy,
4547 struct cfg80211_chan_def *chandef); 4548 struct cfg80211_chan_def *chandef,
4549 enum nl80211_iftype iftype);
4548 4550
4549/* 4551/*
4550 * cfg80211_ch_switch_notify - update wdev channel and notify userspace 4552 * cfg80211_ch_switch_notify - update wdev channel and notify userspace