diff options
author | Vivek Natarajan <vnatarajan@atheros.com> | 2010-03-11 14:54:34 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-01 15:58:52 -0700 |
commit | 8900170d176e29c905d959e515b502debc58219c (patch) | |
tree | 00e688c017bc406accd856f4c49798141f79dd61 /net/lapb/lapb_iface.c | |
parent | 948dc19cef84be418aadc6b3ade94207c0888937 (diff) |
mac80211: Reset dynamic ps timer in Rx path.
commit e15276a4b220c54db665cf46a92bd9ceb9aeb052 upstream.
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 <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions