1 /******************************************************************************
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
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.
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
14 ******************************************************************************/
15 #ifndef __RTL8723A_RF_H__
16 #define __RTL8723A_RF_H__
18 /*--------------------------Define Parameters-------------------------------*/
21 /* For RF 6052 Series */
23 #define RF6052_MAX_TX_PWR 0x3F
24 #define RF6052_MAX_REG 0x3F
25 #define RF6052_MAX_PATH 2
26 /*--------------------------Define Parameters-------------------------------*/
29 /*------------------------------Define structure----------------------------*/
31 /*------------------------------Define structure----------------------------*/
34 /*------------------------Export global variable----------------------------*/
35 /*------------------------Export global variable----------------------------*/
37 /*------------------------Export Marco Definition---------------------------*/
39 /*------------------------Export Marco Definition---------------------------*/
42 /*--------------------------Exported Function prototype---------------------*/
45 /* RF RL6052 Series API */
47 void rtl8723a_phy_rf6052set_bw(struct rtw_adapter *Adapter,
48 enum ht_channel_width Bandwidth);
49 void rtl823a_phy_rf6052setccktxpower(struct rtw_adapter *Adapter,
51 void rtl8723a_PHY_RF6052SetOFDMTxPower(struct rtw_adapter *Adapter,
52 u8* pPowerLevel, u8 Channel);
54 /*--------------------------Exported Function prototype---------------------*/
56 int PHY_RF6052_Config8723A(struct rtw_adapter *Adapter);