]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: implement STA CSA for drivers using channel contexts
authorArik Nemtsov <arik@wizery.com>
Sun, 1 Sep 2013 14:15:51 +0000 (17:15 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 2 Oct 2013 16:18:23 +0000 (18:18 +0200)
commitef0e945966e954776ad9fdf29d508b2676ea59f5
tree3a984a992a0511d1d73c423e6d1f70366609dcbe
parent1a943398e76ed534766418ee4c7cb89545da74f1
mac80211: implement STA CSA for drivers using channel contexts

Limit the current implementation to a single channel context used by
a single vif, thereby avoiding multi-vif/channel complexities.

Reuse the main function from AP CSA code, but move a portion out in
order to fit the STA scenario.

Add a new mac80211 HW flag so we don't break devices that don't support
channel switch with channel-contexts. The new behavior will be opt-in.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/chan.c
net/mac80211/mlme.c