xref: /openbmc/linux/drivers/net/wireless/ti/wlcore/ps.h (revision 2b27bdcc)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * This file is part of wl1271
4  *
5  * Copyright (C) 2008-2009 Nokia Corporation
6  *
7  * Contact: Luciano Coelho <luciano.coelho@nokia.com>
8  */
9 
10 #ifndef __PS_H__
11 #define __PS_H__
12 
13 #include "wlcore.h"
14 #include "acx.h"
15 
16 int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif,
17 		       enum wl1271_cmd_ps_mode mode);
18 void wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
19 			  u8 hlid, bool clean_queues);
20 void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid);
21 
22 #define WL1271_PS_COMPLETE_TIMEOUT 500
23 
24 #endif /* __WL1271_PS_H__ */
25