wifi: renew patch drivers/net/wireless
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rtl8723au / hal / OUTSRC / rtl8723a / odm_RegConfig8723A.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  * You should have received a copy of the GNU General Public License along with
15  * this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
17  *
18  *
19  ******************************************************************************/
20 #ifndef __INC_ODM_REGCONFIG_H_8723A
21 #define __INC_ODM_REGCONFIG_H_8723A
22  
23 #if (RTL8723A_SUPPORT == 1)
24
25 void
26 odm_ConfigRFReg_8723A(
27         IN      PDM_ODM_T                               pDM_Odm,
28         IN      u4Byte                                  Addr,
29         IN      u4Byte                                  Data,
30         IN  ODM_RF_RADIO_PATH_E     RF_PATH,
31         IN      u4Byte                              RegAddr
32         );
33
34 void 
35 odm_ConfigRF_RadioA_8723A(
36         IN      PDM_ODM_T                               pDM_Odm,
37         IN      u4Byte                                  Addr,
38         IN      u4Byte                                  Data
39         );
40
41 void 
42 odm_ConfigRF_RadioB_8723A(
43         IN      PDM_ODM_T                               pDM_Odm,
44         IN      u4Byte                                  Addr,
45         IN      u4Byte                                  Data
46         );
47
48 void 
49 odm_ConfigMAC_8723A(
50         IN      PDM_ODM_T       pDM_Odm,
51         IN      u4Byte          Addr,
52         IN      u1Byte          Data
53         );
54
55 void 
56 odm_ConfigBB_AGC_8723A(
57         IN      PDM_ODM_T       pDM_Odm,
58         IN      u4Byte          Addr,
59         IN      u4Byte          Bitmask,
60         IN      u4Byte          Data
61     );
62
63 void
64 odm_ConfigBB_PHY_REG_PG_8723A(
65         IN      PDM_ODM_T       pDM_Odm,
66         IN      u4Byte          Addr,
67         IN      u4Byte          Bitmask,
68         IN      u4Byte          Data
69     );
70
71 void 
72 odm_ConfigBB_PHY_8723A(
73         IN      PDM_ODM_T       pDM_Odm,
74         IN      u4Byte          Addr,
75         IN      u4Byte          Bitmask,
76         IN      u4Byte          Data
77     );
78 #endif
79 #endif // end of SUPPORT
80