2019-05-29 23:57:50 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2009-08-06 13:25:28 +00:00
|
|
|
/*
|
|
|
|
* This file is part of wl1271
|
|
|
|
*
|
|
|
|
* Copyright (C) 2008-2009 Nokia Corporation
|
|
|
|
*
|
|
|
|
* Contact: Luciano Coelho <luciano.coelho@nokia.com>
|
|
|
|
*/
|
|
|
|
|
2010-11-08 11:20:10 +00:00
|
|
|
#ifndef __PS_H__
|
|
|
|
#define __PS_H__
|
2009-08-06 13:25:28 +00:00
|
|
|
|
2011-11-21 17:25:24 +00:00
|
|
|
#include "wlcore.h"
|
2010-11-08 11:20:10 +00:00
|
|
|
#include "acx.h"
|
2009-08-06 13:25:28 +00:00
|
|
|
|
2011-10-05 09:55:51 +00:00
|
|
|
int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif,
|
2012-01-31 09:57:23 +00:00
|
|
|
enum wl1271_cmd_ps_mode mode);
|
2011-10-10 08:13:13 +00:00
|
|
|
void wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
|
|
|
|
u8 hlid, bool clean_queues);
|
|
|
|
void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid);
|
2009-08-06 13:25:28 +00:00
|
|
|
|
2011-05-13 08:57:13 +00:00
|
|
|
#define WL1271_PS_COMPLETE_TIMEOUT 500
|
|
|
|
|
2009-08-06 13:25:28 +00:00
|
|
|
#endif /* __WL1271_PS_H__ */
|