190921014SLuciano Coelho /* 290921014SLuciano Coelho * This file is part of wl1251 390921014SLuciano Coelho * 490921014SLuciano Coelho * Copyright (c) 1998-2007 Texas Instruments Incorporated 590921014SLuciano Coelho * Copyright (C) 2008 Nokia Corporation 690921014SLuciano Coelho * 790921014SLuciano Coelho * This program is free software; you can redistribute it and/or 890921014SLuciano Coelho * modify it under the terms of the GNU General Public License 990921014SLuciano Coelho * version 2 as published by the Free Software Foundation. 1090921014SLuciano Coelho * 1190921014SLuciano Coelho * This program is distributed in the hope that it will be useful, but 1290921014SLuciano Coelho * WITHOUT ANY WARRANTY; without even the implied warranty of 1390921014SLuciano Coelho * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1490921014SLuciano Coelho * General Public License for more details. 1590921014SLuciano Coelho * 1690921014SLuciano Coelho * You should have received a copy of the GNU General Public License 1790921014SLuciano Coelho * along with this program; if not, write to the Free Software 1890921014SLuciano Coelho * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 1990921014SLuciano Coelho * 02110-1301 USA 2090921014SLuciano Coelho * 2190921014SLuciano Coelho */ 2290921014SLuciano Coelho 2390921014SLuciano Coelho #ifndef __WL1251_PS_H__ 2490921014SLuciano Coelho #define __WL1251_PS_H__ 2590921014SLuciano Coelho 2690921014SLuciano Coelho #include "wl1251.h" 2790921014SLuciano Coelho #include "acx.h" 2890921014SLuciano Coelho 2990921014SLuciano Coelho int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode); 3090921014SLuciano Coelho void wl1251_ps_elp_sleep(struct wl1251 *wl); 3190921014SLuciano Coelho int wl1251_ps_elp_wakeup(struct wl1251 *wl); 3290921014SLuciano Coelho void wl1251_elp_work(struct work_struct *work); 3390921014SLuciano Coelho 3490921014SLuciano Coelho 3590921014SLuciano Coelho #endif /* __WL1251_PS_H__ */ 36