aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@intel.com>2014-11-07 07:31:37 -0500
committerJohannes Berg <johannes.berg@intel.com>2014-11-10 04:20:18 -0500
commitd04b5ac9e70b2056a8a12f768f4b46773576025e (patch)
tree076e1140f6813ab2794b5356c590e6b827dbe420 /include/uapi/linux
parent2f4572930dbd79216294a94e331478513c65df78 (diff)
cfg80211/mac80211: allow any interface to send channel switch notifications
For multi-vif channel switches, we want to send NL80211_CMD_CH_SWITCH_NOTIFY to the userspace to let it decide whether other interfaces need to be moved as well. This is needed when we want a P2P GO interface to follow the channel of a station, for example. Modify the code so that all interfaces can send CSA notifications. Additionally, send notifications for STA CSA as well. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/nl80211.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 354163433352..a552736c3e59 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -643,7 +643,9 @@
643 * @NL80211_CMD_CH_SWITCH_NOTIFY: An AP or GO may decide to switch channels 643 * @NL80211_CMD_CH_SWITCH_NOTIFY: An AP or GO may decide to switch channels
644 * independently of the userspace SME, send this event indicating 644 * independently of the userspace SME, send this event indicating
645 * %NL80211_ATTR_IFINDEX is now on %NL80211_ATTR_WIPHY_FREQ and the 645 * %NL80211_ATTR_IFINDEX is now on %NL80211_ATTR_WIPHY_FREQ and the
646 * attributes determining channel width. 646 * attributes determining channel width. This indication may also be
647 * sent when a remotely-initiated switch (e.g., when a STA receives a CSA
648 * from the remote AP) is completed;
647 * 649 *
648 * @NL80211_CMD_CH_SWITCH_STARTED_NOTIFY: Notify that a channel switch 650 * @NL80211_CMD_CH_SWITCH_STARTED_NOTIFY: Notify that a channel switch
649 * has been started on an interface, regardless of the initiator 651 * has been started on an interface, regardless of the initiator