GNU Linux-libre 4.14.254-gnu1
[releases.git] / drivers / staging / rtl8723bs / hal / odm_DynamicBBPowerSaving.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  ******************************************************************************/
15
16 #ifndef __ODMDYNAMICBBPOWERSAVING_H__
17 #define    __ODMDYNAMICBBPOWERSAVING_H__
18
19 typedef struct _Dynamic_Power_Saving_ {
20         u8 PreCCAState;
21         u8 CurCCAState;
22
23         u8 PreRFState;
24         u8 CurRFState;
25
26         int Rssi_val_min;
27
28         u8 initialize;
29         u32 Reg874, RegC70, Reg85C, RegA74;
30
31 } PS_T, *pPS_T;
32
33 #define dm_RF_Saving ODM_RF_Saving
34
35 void ODM_RF_Saving(void *pDM_VOID, u8 bForceInNormal);
36
37 void odm_DynamicBBPowerSavingInit(void *pDM_VOID);
38
39 #endif