mac80211: disable powersave if pm_qos asks for low latency
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 16 Apr 2009 11:17:25 +0000 (13:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:57:16 +0000 (16:57 -0400)
commit10f644a47b76d3e61b98f2d02ce9690b94c51ee5
treefc344d0f888ea0b97608cd53eec1d2dc17672087
parent965bedadc01d34027455d5d5b67063ef0209c955
mac80211: disable powersave if pm_qos asks for low latency

When an application asks for a latency lower than the beacon interval
there's nothing we can do -- we need to stay awake and not have the
AP buffer frames for us. Add code to automatically calculate this
constraint in mac80211 so drivers need not concern themselves with it.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/ieee80211.h
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/main.c
net/mac80211/mlme.c
net/mac80211/wext.c