wlcore: decrease elp timeout
authorEliad Peller <eliad@wizery.com>
Sun, 2 Sep 2012 10:30:04 +0000 (13:30 +0300)
committerLuciano Coelho <luca@coelho.fi>
Thu, 27 Sep 2012 09:13:54 +0000 (12:13 +0300)
commitab2c4f37dcef5bd517a95a32da50d5ed0cc24cb5
tree9e6a5ccd6f25b51f45037779df1c8c64c8e1f291
parent6f8d6b20bb0bdda333e781faf775db14cb4660dd
wlcore: decrease elp timeout

The current elp timeout (the same as the dynamic
ps timeout - 1500ms) is too high. Usually,
wl1271_ps_elp_sleep() get called right after tx/rx,
which is fine, but some command might get sent
even when there is no traffic (e.g. ht changes
triggered by beacon frames), and leaving the
device awake for 1500ms in this case is redundant.

Use a timeout of 30ms.
The fw won't enter elp anyway before the dynamic-ps
timeout was expired as well (and it entered ps
successfully).

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <luca@coelho.fi>
drivers/net/wireless/ti/wlcore/ps.c