ps.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * This file is part of wl1251
  3. *
  4. * Copyright (c) 1998-2007 Texas Instruments Incorporated
  5. * Copyright (C) 2008 Nokia Corporation
  6. *
  7. * 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. #ifndef __WL1251_PS_H__
  23. #define __WL1251_PS_H__
  24. #include "wl1251.h"
  25. #include "acx.h"
  26. int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode);
  27. void wl1251_ps_elp_sleep(struct wl1251 *wl);
  28. int wl1251_ps_elp_wakeup(struct wl1251 *wl);
  29. void wl1251_elp_work(struct work_struct *work);
  30. #endif /* __WL1251_PS_H__ */