Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0+ */
0002 /*
0003  * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
0004  * All rights reserved.
0005  *
0006  * Purpose: Handles 802.11 power management  functions
0007  *
0008  * Author: Lyndon Chen
0009  *
0010  * Date: July 17, 2002
0011  *
0012  */
0013 
0014 #ifndef __POWER_H__
0015 #define __POWER_H__
0016 
0017 #include "device.h"
0018 
0019 #define C_PWBT                   1000    /* micro sec. power up before TBTT */
0020 #define PS_FAST_INTERVAL         1       /* Fast power saving listen interval */
0021 #define PS_MAX_INTERVAL          4       /* MAX power saving listen interval */
0022 
0023 void PSvDisablePowerSaving(struct vnt_private *priv);
0024 
0025 void PSvEnablePowerSaving(struct vnt_private *priv, unsigned short wListenInterval);
0026 
0027 bool PSbIsNextTBTTWakeUp(struct vnt_private *priv);
0028 
0029 #endif /* __POWER_H__ */