]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: track needed RX chains for channel contexts
authorJohannes Berg <johannes.berg@intel.com>
Tue, 11 Sep 2012 12:34:12 +0000 (14:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 17 Oct 2012 09:02:09 +0000 (11:02 +0200)
commit711a2ac664af9b9992e12e848ddcacb62595f6c7
tree81fc8135db27831f4456b61c3aeb5d332848b449
parent95bc7f7b11ac164fc7c8af7948a2b4b93eedac76
mac80211: track needed RX chains for channel contexts

On each channel that the device is operating on, it
may need to listen using one or more chains depending
on the SMPS settings of the interfaces using it. The
previous channel context changes completely removed
this ability (before, it was available as the SMPS
mode).

Add per-context tracking of the required static and
dynamic RX chains and notify the driver on changes.
To achieve this, track the chains and SMPS mode used
on each virtual interface and update the channel
context whenever this changes.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
12 files changed:
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/chan.c
net/mac80211/debugfs_netdev.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/main.c
net/mac80211/mlme.c
net/mac80211/status.c
net/mac80211/trace.h
net/mac80211/util.c