diff options
author | Eyal Shapira <eyal@wizery.com> | 2012-02-02 12:03:39 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-02-15 08:38:33 +0200 |
commit | dae728fe67c7c5ab10f91366bd9d1f8db203e123 (patch) | |
tree | 7e6b717095b5564a883ed0481ecc77ca4be766d8 /drivers/net/wireless/wl12xx/ps.c | |
parent | wl12xx: add new coex params (diff) | |
download | linux-dev-dae728fe67c7c5ab10f91366bd9d1f8db203e123.tar.xz linux-dev-dae728fe67c7c5ab10f91366bd9d1f8db203e123.zip |
wl12xx: Set different wake up conditions in case of suspend
Added ability to set different wake up conditions for suspend/resume.
Set default values to wake up every 3 DTIMs while suspended
and every 1 DTIM while resumed
Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/wireless/wl12xx/ps.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/ps.c b/drivers/net/wireless/wl12xx/ps.c index e209e29ffb45..d1979223ad28 100644 --- a/drivers/net/wireless/wl12xx/ps.c +++ b/drivers/net/wireless/wl12xx/ps.c @@ -170,7 +170,9 @@ int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, wl1271_debug(DEBUG_PSM, "entering psm (mode=%d,timeout=%u)", mode, timeout); - ret = wl1271_acx_wake_up_conditions(wl, wlvif); + ret = wl1271_acx_wake_up_conditions(wl, wlvif, + wl->conf.conn.wake_up_event, + wl->conf.conn.listen_interval); if (ret < 0) { wl1271_error("couldn't set wake up conditions"); return ret; |