From: Vivek Natarajan Date: Mon, 8 Feb 2010 12:17:01 +0000 (+0530) Subject: mac80211: Reset dynamic ps timer in Rx path. X-Git-Tag: v2.6.34-rc1~233^2~325^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e15276a4b220c54db665cf46a92bd9ceb9aeb052;p=pandora-kernel.git mac80211: Reset dynamic ps timer in Rx path. The current mac80211 implementation enables power save if there is no Tx traffic for a specific timeout. Hence, PS is triggered even if there is a continuous Rx only traffic(like UDP) going on. This makes the drivers to wait on the tim bit in the next beacon to awake which leads to redundant sleep-wake cycles. Fix this by restarting the dynamic ps timer on receiving every data packet. Signed-off-by: Vivek Natarajan CC: stable@kernel.org Signed-off-by: John W. Linville --- Reading git-diff-tree failed