diff options
author | Eliad Peller <eliad@wizery.com> | 2012-07-27 12:33:22 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-07-31 16:11:04 +0200 |
commit | ab09587740fddf6b4116be7b6716ab47f34d2634 (patch) | |
tree | 18c304410c82725356a3a8d6076b2f9af173b21a /drivers/net/wireless/rt2x00/rt2x00queue.c | |
parent | 2b2b64380785bdcaaa9a123e7e5829acc749c4ca (diff) | |
download | linux-ab09587740fddf6b4116be7b6716ab47f34d2634.tar.bz2 |
mac80211: add PS flag to bss_conf
Currently, ps mode is indicated per device (rather than
per interface), which doesn't make a lot of sense.
Moreover, there are subtle bugs caused by the inability
to indicate ps change along with other changes
(e.g. when the AP deauth us, we'd like to indicate
CHANGED_PS | CHANGED_ASSOC, as changing PS before
notifying about disassociation will result in null-packets
being sent (if IEEE80211_HW_SUPPORTS_DYNAMIC_PS) while
the sta is already disconnected.)
Keep the current per-device notifications, and add
parallel per-vif notifications.
In order to keep it simple, the per-device ps and
the per-vif ps are orthogonal - the per-vif ps
configuration is determined only by the user
configuration (enable/disable) and the connection
state, and is not affected by other vifs state and
(temporary) dynamic_ps/offchannel operations
(unlike per-device ps).
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00queue.c')
0 files changed, 0 insertions, 0 deletions