summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/ps.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-05-13 11:57:13 +0300
committerLuciano Coelho <coelho@ti.com>2011-05-13 14:55:49 +0300
commit9439064cd9fce8a4db716a748dbf581eb234f9c7 (patch)
treeb1dd09bc0a8a19c9ee1a71299b97ea0df6b4ba6a /drivers/net/wireless/wl12xx/ps.h
parentf795ea8b2f047409c59e891d6e5e86a925048bf4 (diff)
wl12xx: enter/exit psm on wowlan suspend/resume
When operating as station, enter psm before suspending the device into wowlan state. Add a new completion event to signal when psm was entered successfully. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/ps.h')
-rw-r--r--drivers/net/wireless/wl12xx/ps.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/ps.h b/drivers/net/wireless/wl12xx/ps.h
index c41bd0a711b..25eb9bc9b62 100644
--- a/drivers/net/wireless/wl12xx/ps.h
+++ b/drivers/net/wireless/wl12xx/ps.h
@@ -35,4 +35,6 @@ void wl1271_elp_work(struct work_struct *work);
void wl1271_ps_link_start(struct wl1271 *wl, u8 hlid, bool clean_queues);
void wl1271_ps_link_end(struct wl1271 *wl, u8 hlid);
+#define WL1271_PS_COMPLETE_TIMEOUT 500
+
#endif /* __WL1271_PS_H__ */