• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  ******************************************************************************/
16 #ifndef	__RTL8723A_ODM_H__
17 #define __RTL8723A_ODM_H__
18 /*  */
19 
20 #define	RSSI_CCK	0
21 #define	RSSI_OFDM	1
22 #define	RSSI_DEFAULT	2
23 
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
28 
29 
30 /*  */
31 /*  structure and define */
32 /*  */
33 
34 
35 
36 
37 /*------------------------Export global variable----------------------------*/
38 /*------------------------Export global variable----------------------------*/
39 /*------------------------Export Marco Definition---------------------------*/
40 /* define DM_MultiSTA_InitGainChangeNotify(Event) {DM_DigTable.CurMultiSTAConnectState = Event;} */
41 
42 
43 /*  */
44 /*  function prototype */
45 /*  */
46 
47 /*  */
48 /*  IQ calibrate */
49 /*  */
50 void rtl8723a_phy_iq_calibrate(struct rtw_adapter *pAdapter, bool bReCovery);
51 
52 /*  */
53 /*  LC calibrate */
54 /*  */
55 void rtl8723a_phy_lc_calibrate(struct rtw_adapter *pAdapter);
56 
57 /*  */
58 /*  AP calibrate */
59 /*  */
60 void rtl8723a_phy_ap_calibrate(struct rtw_adapter *pAdapter, char delta);
61 
62 void rtl8723a_odm_check_tx_power_tracking(struct rtw_adapter *Adapter);
63 
64 #endif
65