Ojaswin Mujoo | 9df8a97 | 2019-03-31 14:44:36 +0530 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Forest Bond | 92b9679 | 2009-06-13 07:38:31 -0400 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. |
| 4 | * All rights reserved. |
| 5 | * |
Forest Bond | 92b9679 | 2009-06-13 07:38:31 -0400 | [diff] [blame] | 6 | * File: power.h |
| 7 | * |
Uwe Kleine-König | 0d74395 | 2010-06-11 12:17:04 +0200 | [diff] [blame] | 8 | * Purpose: Handles 802.11 power management functions |
Forest Bond | 92b9679 | 2009-06-13 07:38:31 -0400 | [diff] [blame] | 9 | * |
| 10 | * Author: Lyndon Chen |
| 11 | * |
| 12 | * Date: July 17, 2002 |
| 13 | * |
| 14 | */ |
| 15 | |
| 16 | #ifndef __POWER_H__ |
| 17 | #define __POWER_H__ |
| 18 | |
Malcolm Priestley | 4a36a96 | 2014-07-24 23:34:17 +0100 | [diff] [blame] | 19 | #define C_PWBT 1000 /* micro sec. power up before TBTT */ |
Forest Bond | 92b9679 | 2009-06-13 07:38:31 -0400 | [diff] [blame] | 20 | |
Simon Sandström | 6ddcf34 | 2017-02-04 18:09:39 +0100 | [diff] [blame] | 21 | void vnt_disable_power_saving(struct vnt_private *priv); |
| 22 | void vnt_enable_power_saving(struct vnt_private *priv, u16 listen_interval); |
| 23 | int vnt_next_tbtt_wakeup(struct vnt_private *priv); |
Forest Bond | 92b9679 | 2009-06-13 07:38:31 -0400 | [diff] [blame] | 24 | |
Andres More | e7b07d1 | 2010-05-01 19:12:26 -0300 | [diff] [blame] | 25 | #endif /* __POWER_H__ */ |