]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - net/mac80211/iface.c
mac80211: add channel switch command and beacon callbacks
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Thu, 11 Jul 2013 14:09:06 +0000 (16:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 1 Aug 2013 16:30:33 +0000 (18:30 +0200)
commit73da7d5bab79ad7e16ff44d67c3fe8b9c0b33e5b
treecb4eee7b96aae1d31a4841167a3f36c638bd0a11
parent16ef1fe272332b2f7fd99236017b891db48d9cd6
mac80211: add channel switch command and beacon callbacks

The count field in CSA must be decremented with each beacon
transmitted. This patch implements the functionality for drivers
using ieee80211_beacon_get(). Other drivers must call back manually
after reaching count == 0.

This patch also contains the handling and finish worker for the channel
switch command, and mac80211/chanctx code to allow to change a channel
definition of an active channel context.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
[small cleanups, catch identical chandef]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/chan.c
net/mac80211/driver-ops.h
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/trace.h
net/mac80211/tx.c