summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wl12xx/ps.h
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2011-02-23 01:22:31 +0300
committerLuciano Coelho <coelho@ti.com>2011-02-23 12:18:46 +0300
commitb622d992c21a85ce590afe2c18977ed28b457e0e (patch)
treeb5a5552141932de9628cc569d2f2dee4df9870dc /drivers/net/wireless/wl12xx/ps.h
parent09039f42a24084c10e7761ab28ef22932c62a46f (diff)
downloadlinux-b622d992c21a85ce590afe2c18977ed28b457e0e.tar.xz
wl12xx: AP-mode - management of links in PS-mode
Update the PS mode of each link according to a bitmap polled from fw_status. Manually notify mac80211 about PS mode changes in connected stations. mac80211 will only be notified about PS start when the station is in PS and there is a small number of TX blocks from this link ready in HW. This is required for waking up the remote station since the TIM is updated entirely by FW. When a station enters mac80211-PS-mode, we drop all the skbs in the low-level TX queues belonging to this sta with STAT_TX_FILTERED to keep our queues clean. Signed-off-by: Arik Nemtsov <arik@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 8415060f08e5..fc1f4c193593 100644
--- a/drivers/net/wireless/wl12xx/ps.h
+++ b/drivers/net/wireless/wl12xx/ps.h
@@ -32,5 +32,7 @@ int wl1271_ps_set_mode(struct wl1271 *wl, enum wl1271_cmd_ps_mode mode,
void wl1271_ps_elp_sleep(struct wl1271 *wl);
int wl1271_ps_elp_wakeup(struct wl1271 *wl, bool chip_awake);
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);
#endif /* __WL1271_PS_H__ */