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#ifndef __RTL8723A_RF_H__ 16#define __RTL8723A_RF_H__ 17 18/*--------------------------Define Parameters-------------------------------*/ 19 20/* */ 21/* For RF 6052 Series */ 22/* */ 23#define RF6052_MAX_TX_PWR 0x3F 24#define RF6052_MAX_REG 0x3F 25#define RF6052_MAX_PATH 2 26/*--------------------------Define Parameters-------------------------------*/ 27 28 29/*------------------------------Define structure----------------------------*/ 30 31/*------------------------------Define structure----------------------------*/ 32 33 34/*------------------------Export global variable----------------------------*/ 35/*------------------------Export global variable----------------------------*/ 36 37/*------------------------Export Marco Definition---------------------------*/ 38 39/*------------------------Export Marco Definition---------------------------*/ 40 41 42/*--------------------------Exported Function prototype---------------------*/ 43 44/* */ 45/* RF RL6052 Series API */ 46/* */ 47void rtl8723a_phy_rf6052set_bw(struct rtw_adapter *Adapter, 48 enum ht_channel_width Bandwidth); 49void rtl823a_phy_rf6052setccktxpower(struct rtw_adapter *Adapter, 50 u8 *pPowerlevel); 51void rtl8723a_PHY_RF6052SetOFDMTxPower(struct rtw_adapter *Adapter, 52 u8 *pPowerLevel, u8 Channel); 53 54/*--------------------------Exported Function prototype---------------------*/ 55 56int PHY_RF6052_Config8723A(struct rtw_adapter *Adapter); 57 58#endif 59