OSDN Git Service

6d54d98a3dd4307fa53430124aff45aee7b61584
[android-x86/kernel.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 {
21         u8 PreCCAState;
22         u8 CurCCAState;
23
24         u8 PreRFState;
25         u8 CurRFState;
26
27         int                 Rssi_val_min;
28
29         u8 initialize;
30         u32     Reg874, RegC70, Reg85C, RegA74;
31
32 }PS_T,*pPS_T;
33
34 #define dm_RF_Saving    ODM_RF_Saving
35
36 void ODM_RF_Saving(
37         void *                          pDM_VOID,
38 u8 bForceInNormal
39         );
40
41 void
42 odm_DynamicBBPowerSavingInit(
43         void *                          pDM_VOID
44         );
45
46 #endif