From: Kalle Valo Date: Tue, 10 Feb 2009 15:09:31 +0000 (+0200) Subject: mac80211: use ps-poll when dynamic power save mode is disabled X-Git-Tag: v2.6.30-rc1~662^2~738^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=572e00122190e3064fa19bd9780b146d2d0f1905;p=pandora-kernel.git mac80211: use ps-poll when dynamic power save mode is disabled When a directed tim bit is set, mac80211 currently disables power save ands sends a null frame to the AP. But if dynamic power save is disabled, mac80211 will not enable power save ever gain. Fix this by adding ps-poll functionality to mac80211. When a directed tim bit is set, mac80211 sends a ps-poll frame to the AP and checks for the more data bit in the returned data frames. Using ps-poll is slower than waking up with null frame, but it's saves more power in cases where the traffic is low. Userspace can control if either ps-poll or null wakeup method is used by enabling and disabling dynamic power save. Signed-off-by: Kalle Valo Signed-off-by: John W. Linville --- Reading git-diff-tree failed