8723BU: Update 8723BU wifi driver to version v4.3.16_14189.20150519_BTCOEX2015119...
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rockchip_wlan / rtl8723bu / hal / OUTSRC / phydm_DynamicBBPowerSaving.h
1 /******************************************************************************\r
2  *\r
3  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.\r
4  *                                        \r
5  * This program is free software; you can redistribute it and/or modify it\r
6  * under the terms of version 2 of the GNU General Public License as\r
7  * published by the Free Software Foundation.\r
8  *\r
9  * This program is distributed in the hope that it will be useful, but WITHOUT\r
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\r
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\r
12  * more details.\r
13  *\r
14  * You should have received a copy of the GNU General Public License along with\r
15  * this program; if not, write to the Free Software Foundation, Inc.,\r
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA\r
17  *\r
18  *\r
19  ******************************************************************************/\r
20  \r
21 #ifndef __PHYDMDYNAMICBBPOWERSAVING_H__\r
22 #define    __PHYDMDYNAMICBBPOWERSAVING_H__\r
23 \r
24 #define DYNAMIC_BBPWRSAV_VERSION        "1.0"\r
25 \r
26 typedef struct _Dynamic_Power_Saving_\r
27 {\r
28         u1Byte          PreCCAState;\r
29         u1Byte          CurCCAState;\r
30 \r
31         u1Byte          PreRFState;\r
32         u1Byte          CurRFState;\r
33 \r
34         int                 Rssi_val_min;\r
35         \r
36         u1Byte          initialize;\r
37         u4Byte          Reg874,RegC70,Reg85C,RegA74;\r
38         \r
39 }PS_T,*pPS_T;\r
40 \r
41 #define dm_RF_Saving    ODM_RF_Saving\r
42 \r
43 void ODM_RF_Saving(\r
44         IN              PVOID                                   pDM_VOID,\r
45         IN      u1Byte          bForceInNormal\r
46 );\r
47 \r
48 VOID 
49 odm_DynamicBBPowerSavingInit(
50         IN              PVOID                                   pDM_VOID\r
51         );
52
53 VOID 
54 odm_DynamicBBPowerSaving(
55         IN              PVOID                                   pDM_VOID\r
56         );
57
58 VOID
59 odm_1R_CCA(
60         IN              PVOID                                   pDM_VOID\r
61         );\r
62 \r
63 #endif\r