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
15 ******************************************************************************/
16 #ifndef __RTL8723A_ODM_H__
17 #define __RTL8723A_ODM_H__
22 #define RSSI_DEFAULT 2
24 #define IQK_MAC_REG_NUM 4
25 #define IQK_ADDA_REG_NUM 16
26 #define IQK_BB_REG_NUM 9
27 #define HP_THERMAL_NUM 8
31 /* structure and define */
37 /*------------------------Export global variable----------------------------*/
38 /*------------------------Export global variable----------------------------*/
39 /*------------------------Export Marco Definition---------------------------*/
40 /* define DM_MultiSTA_InitGainChangeNotify(Event) {DM_DigTable.CurMultiSTAConnectState = Event;} */
44 /* function prototype */
50 void rtl8723a_phy_iq_calibrate(struct rtw_adapter *pAdapter, bool bReCovery);
55 void rtl8723a_phy_lc_calibrate(struct rtw_adapter *pAdapter);
60 void rtl8723a_phy_ap_calibrate(struct rtw_adapter *pAdapter, char delta);
62 void rtl8723a_odm_check_tx_power_tracking(struct rtw_adapter *Adapter);