2009-04-29 20:33:31 +00:00
|
|
|
/*
|
2009-06-12 11:17:39 +00:00
|
|
|
* This file is part of wl1251
|
2009-04-29 20:33:31 +00:00
|
|
|
*
|
|
|
|
* Copyright (c) 1998-2007 Texas Instruments Incorporated
|
|
|
|
* Copyright (C) 2008 Nokia Corporation
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* version 2 as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
|
|
* 02110-1301 USA
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2010-08-22 19:47:02 +00:00
|
|
|
#ifndef __WL1251_PS_H__
|
|
|
|
#define __WL1251_PS_H__
|
|
|
|
|
2009-06-12 11:17:25 +00:00
|
|
|
#include "wl1251.h"
|
2010-10-10 08:28:32 +00:00
|
|
|
#include "acx.h"
|
2009-04-29 20:33:31 +00:00
|
|
|
|
2011-04-04 08:04:57 +00:00
|
|
|
int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode);
|
2009-06-12 11:17:39 +00:00
|
|
|
void wl1251_ps_elp_sleep(struct wl1251 *wl);
|
|
|
|
int wl1251_ps_elp_wakeup(struct wl1251 *wl);
|
2009-11-17 16:48:37 +00:00
|
|
|
void wl1251_elp_work(struct work_struct *work);
|
2009-04-29 20:33:31 +00:00
|
|
|
|
|
|
|
|
2009-06-12 11:17:39 +00:00
|
|
|
#endif /* __WL1251_PS_H__ */
|