blob: e5db81fc1dfcc8d710c6761593f6f2dcd0a3d300 [file] [log] [blame]
Kalle Valo2f01a1f2009-04-29 23:33:31 +03001/*
Kalle Valo80301cd2009-06-12 14:17:39 +03002 * This file is part of wl1251
Kalle Valo2f01a1f2009-04-29 23:33:31 +03003 *
4 * Copyright (c) 1998-2007 Texas Instruments Incorporated
5 * Copyright (C) 2008 Nokia Corporation
6 *
Kalle Valo2f01a1f2009-04-29 23:33:31 +03007 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * version 2 as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19 * 02110-1301 USA
20 *
21 */
22
Kalle Valo5effdf12010-08-22 22:47:02 +030023#ifndef __WL1251_PS_H__
24#define __WL1251_PS_H__
25
Kalle Valo13674112009-06-12 14:17:25 +030026#include "wl1251.h"
Kalle Valoef2f8d42009-06-12 14:17:19 +030027#include "wl1251_acx.h"
Kalle Valo2f01a1f2009-04-29 23:33:31 +030028
Kalle Valo80301cd2009-06-12 14:17:39 +030029int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_cmd_ps_mode mode);
30void wl1251_ps_elp_sleep(struct wl1251 *wl);
31int wl1251_ps_elp_wakeup(struct wl1251 *wl);
Juuso Oikarinend5da79a2009-11-17 18:48:37 +020032void wl1251_elp_work(struct work_struct *work);
Kalle Valo2f01a1f2009-04-29 23:33:31 +030033
34
Kalle Valo80301cd2009-06-12 14:17:39 +030035#endif /* __WL1251_PS_H__ */