blob: 58755ae16e5a401cf5bdd12d2ce097eb0ca93f9e [file] [log] [blame]
Ojaswin Mujoo9df8a972019-03-31 14:44:36 +05301/* SPDX-License-Identifier: GPL-2.0+ */
Forest Bond92b96792009-06-13 07:38:31 -04002/*
3 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
4 * All rights reserved.
5 *
Forest Bond92b96792009-06-13 07:38:31 -04006 * File: power.h
7 *
Uwe Kleine-König0d743952010-06-11 12:17:04 +02008 * Purpose: Handles 802.11 power management functions
Forest Bond92b96792009-06-13 07:38:31 -04009 *
10 * Author: Lyndon Chen
11 *
12 * Date: July 17, 2002
13 *
14 */
15
16#ifndef __POWER_H__
17#define __POWER_H__
18
Malcolm Priestley4a36a962014-07-24 23:34:17 +010019#define C_PWBT 1000 /* micro sec. power up before TBTT */
Forest Bond92b96792009-06-13 07:38:31 -040020
Simon Sandström6ddcf342017-02-04 18:09:39 +010021void vnt_disable_power_saving(struct vnt_private *priv);
22void vnt_enable_power_saving(struct vnt_private *priv, u16 listen_interval);
23int vnt_next_tbtt_wakeup(struct vnt_private *priv);
Forest Bond92b96792009-06-13 07:38:31 -040024
Andres Moree7b07d12010-05-01 19:12:26 -030025#endif /* __POWER_H__ */