mac80211: track whether to use channel contexts
authorJohannes Berg <johannes.berg@intel.com>
Thu, 26 Jul 2012 12:55:08 +0000 (14:55 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Oct 2012 18:22:46 +0000 (20:22 +0200)
commitfe57d9f5c0a2c1ef97ba8cdc42cfda5743f287b8
treea155a8bb9165b092703bec542aeaf0b707afa392
parente269d8600a8f6a9f2387b3f283bfb579a5479dc3
mac80211: track whether to use channel contexts

Depending on the driver, channel contexts may be used or
not. If they are used, the driver must have support for
hardware scan and remain-on-channel; otherwise the driver
must not advertise support for multiple channels.

Also prohibit WDS type interfaces when channel contexts
are to be used as there's no clear definition of which
channel they use.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/main.c
net/mac80211/offchannel.c
net/mac80211/scan.c