OSDN Git Service

rtl8723au: Remove some trailing white space
[android-x86/external-modules-rtl8723au.git] / include / rtl8192c_rf.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 /******************************************************************************
21  *
22  *
23  * Module:      rtl8192c_rf.h   ( Header File)
24  *
25  * Note:        Collect every HAL RF type exter API or constant.
26  *
27  * Function:
28  *
29  * Export:
30  *
31  * Abbrev:
32  *
33  * History:
34  * Data                 Who             Remark
35  *
36  * 09/25/2008   MHC             Create initial version.
37  *
38  *
39 ******************************************************************************/
40 #ifndef _RTL8192C_RF_H_
41 #define _RTL8192C_RF_H_
42 /* Check to see if the file has been included already.  */
43
44
45 /*--------------------------Define Parameters-------------------------------*/
46
47 //
48 // For RF 6052 Series
49 //
50 #define         RF6052_MAX_TX_PWR                       0x3F
51 #define         RF6052_MAX_REG                          0x3F
52 #define         RF6052_MAX_PATH                         2
53 /*--------------------------Define Parameters-------------------------------*/
54
55
56 /*------------------------------Define structure----------------------------*/
57
58 /*------------------------------Define structure----------------------------*/
59
60
61 /*------------------------Export global variable----------------------------*/
62 /*------------------------Export global variable----------------------------*/
63
64 /*------------------------Export Marco Definition---------------------------*/
65
66 /*------------------------Export Marco Definition---------------------------*/
67
68
69 /*--------------------------Exported Function prototype---------------------*/
70
71 //
72 // RF RL6052 Series API
73 //
74 void            rtl8192c_RF_ChangeTxPath(       IN      PADAPTER        Adapter,
75                                                                                 IN      u16             DataRate);
76 void            rtl8192c_PHY_RF6052SetBandwidth(
77                                                                                 IN      PADAPTER                                Adapter,
78                                                                                 IN      HT_CHANNEL_WIDTH                Bandwidth);
79 VOID    rtl8192c_PHY_RF6052SetCckTxPower(
80                                                                                 IN      PADAPTER        Adapter,
81                                                                                 IN      u8*             pPowerlevel);
82 VOID    rtl8192c_PHY_RF6052SetOFDMTxPower(
83                                                                                 IN      PADAPTER        Adapter,
84                                                                                 IN      u8*             pPowerLevel,
85                                                                                 IN      u8              Channel);
86 int     PHY_RF6052_Config8192C( IN      PADAPTER                Adapter );
87
88 /*--------------------------Exported Function prototype---------------------*/
89
90
91 #endif/* End of HalRf.h */