]> git.karo-electronics.de Git - linux-beck.git/commit
cfg80211/mac80211: allow any interface to send channel switch notifications
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 7 Nov 2014 12:31:37 +0000 (14:31 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 10 Nov 2014 09:20:18 +0000 (10:20 +0100)
commitd04b5ac9e70b2056a8a12f768f4b46773576025e
tree076e1140f6813ab2794b5356c590e6b827dbe420
parent2f4572930dbd79216294a94e331478513c65df78
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>
include/uapi/linux/nl80211.h
net/mac80211/mlme.c
net/wireless/nl80211.c