]> 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)
commit9656a5e201695fb5db5c3354bcda3fdda9313632
tree3a984a992a0511d1d73c423e6d1f70366609dcbe
parent65ad8510d60dc81d3ec3c8ec8a9c3a3b16d12d56
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