wl12xx: set the ELP entry delay to the FW dyn-ps timeout
authorArik Nemtsov <arik@wizery.com>
Mon, 27 Feb 2012 22:41:28 +0000 (00:41 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 28 Feb 2012 11:19:19 +0000 (13:19 +0200)
commit5af70c864a1539bd1d3f3fcb04ab9558491c9103
treee333542ad9b0644e7819375628eefb12fa7f2f20
parente8b461c37717d6b5c071c4924845884a86c20752
wl12xx: set the ELP entry delay to the FW dyn-ps timeout

With PSM handled in FW, the checks in wl1271_elp_work() are always true.
Thus during active traffic we constantly enter and exit ELP (many times
per second). As each ELP exit takes ~10ms, this can have an adverse
effect on throughput and interactivity.
Set the ELP timeout to the dyn-ps timeout. This period is longer and
avoids the above problem. It also makes sense to stay out of ELP while
we are awake on the network, to minimize delays in Tx/Rx. The same thing
was done by the mac80211 dynamic-ps mechanism before the FW DPS changes.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/ps.c
This page took 0.029033 seconds and 5 git commands to generate.