2019-05-29 16:57:50 -07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2009-08-06 16:25:28 +03: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 16:25:28 +03:00
|
|
|
|
2011-11-21 19:25:24 +02:00
|
|
|
#include "wlcore.h"
|
2010-11-08 11:20:10 +00:00
|
|
|
#include "acx.h"
|
2009-08-06 16:25:28 +03:00
|
|
|
|
2011-10-05 11:55:51 +02:00
|
|
|
int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif,
|
2012-01-31 11:57:23 +02:00
|
|
|
enum wl1271_cmd_ps_mode mode);
|
2011-10-10 10:13:13 +02: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 16:25:28 +03:00
|
|
|
|
2011-05-13 11:57:13 +03:00
|
|
|
#define WL1271_PS_COMPLETE_TIMEOUT 500
|
|
|
|
|
|
2009-08-06 16:25:28 +03:00
|
|
|
#endif /* __WL1271_PS_H__ */
|