mac80211: use channel contexts
authorJohannes Berg <johannes.berg@intel.com>
Thu, 26 Jul 2012 15:24:39 +0000 (17:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 17 Oct 2012 09:02:09 +0000 (11:02 +0200)
commit55de908ab292c03f1eb280f51170ddb9c6b57e31
treebc75bb5cea581cadf6fe8b4f121cce02d07c276a
parentfe57d9f5c0a2c1ef97ba8cdc42cfda5743f287b8
mac80211: use channel contexts

Instead of operating on a single channel only,
use the new channel context infrastructure in
all mac80211 code.

This enables drivers that want to use the new
channel context infrastructure to use multiple
channels, while nothing should change for all
the other drivers that don't support it.

Right now this disables both TX power settings
and spatial multiplexing powersave. Both need
to be re-enabled on a channel context basis.

Additionally, when channel contexts are used
drop the connection when channel switch is
received rather than trying to handle it. This
will have to be improved later.

[With fixes from Eliad and Emmanuel incorporated]
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
16 files changed:
net/mac80211/cfg.c
net/mac80211/chan.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/main.c
net/mac80211/mesh.c
net/mac80211/mesh_plink.c
net/mac80211/mlme.c
net/mac80211/offchannel.c
net/mac80211/pm.c
net/mac80211/rate.h
net/mac80211/scan.c
net/mac80211/sta_info.c
net/mac80211/tx.c
net/mac80211/util.c