blob: 0f236da09277aade32080b538e808390ae9f150b [file] [log] [blame]
Larry Fingerf9f08d72013-08-21 22:34:06 -05001/******************************************************************************
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#ifndef __ODM_PRECOMP_H__
22#define __ODM_PRECOMP_H__
23
24#include "odm_types.h"
25
26#define TEST_FALG___ 1
27
28/* 2 Config Flags and Structs - defined by each ODM Type */
29
30#include <osdep_service.h>
31#include <drv_types.h>
32#include <hal_intf.h>
navin patidare73fd152014-06-11 22:51:40 +053033#include <usb_ops_linux.h>
Larry Fingerf9f08d72013-08-21 22:34:06 -050034
Larry Fingerf9f08d72013-08-21 22:34:06 -050035/* 2 OutSrc Header Files */
36
37#include "odm.h"
38#include "odm_HWConfig.h"
39#include "odm_debug.h"
Larry Fingerf9f08d72013-08-21 22:34:06 -050040#include "odm_RegDefine11N.h"
41
Larry Fingerf9f08d72013-08-21 22:34:06 -050042#include "Hal8188ERateAdaptive.h"/* for RA,Power training */
43#include "rtl8188e_hal.h"
44
Larry Fingerf9f08d72013-08-21 22:34:06 -050045#include "odm_reg.h"
46
Larry Fingerf9f08d72013-08-21 22:34:06 -050047#include "odm_RTL8188E.h"
48
49void odm_CmnInfoHook_Debug(struct odm_dm_struct *pDM_Odm);
50void odm_CmnInfoInit_Debug(struct odm_dm_struct *pDM_Odm);
51void odm_DIGInit(struct odm_dm_struct *pDM_Odm);
52void odm_RateAdaptiveMaskInit(struct odm_dm_struct *pDM_Odm);
53void odm_DynamicBBPowerSavingInit(struct odm_dm_struct *pDM_Odm);
54void odm_DynamicTxPowerInit(struct odm_dm_struct *pDM_Odm);
55void odm_TXPowerTrackingInit(struct odm_dm_struct *pDM_Odm);
56void ODM_EdcaTurboInit(struct odm_dm_struct *pDM_Odm);
57void odm_SwAntDivInit_NIC(struct odm_dm_struct *pDM_Odm);
Larry Fingerf9f08d72013-08-21 22:34:06 -050058void odm_CmnInfoUpdate_Debug(struct odm_dm_struct *pDM_Odm);
59void odm_CommonInfoSelfUpdate(struct odm_dm_struct *pDM_Odm);
60void odm_FalseAlarmCounterStatistics(struct odm_dm_struct *pDM_Odm);
61void odm_DIG(struct odm_dm_struct *pDM_Odm);
62void odm_CCKPacketDetectionThresh(struct odm_dm_struct *pDM_Odm);
63void odm_RefreshRateAdaptiveMaskMP(struct odm_dm_struct *pDM_Odm);
64void odm_DynamicBBPowerSaving(struct odm_dm_struct *pDM_Odm);
65void odm_SwAntDivChkAntSwitch(struct odm_dm_struct *pDM_Odm, u8 Step);
66void odm_EdcaTurboCheck(struct odm_dm_struct *pDM_Odm);
Larry Fingerf9f08d72013-08-21 22:34:06 -050067void odm_CommonInfoSelfInit(struct odm_dm_struct *pDM_Odm);
Larry Fingerf9f08d72013-08-21 22:34:06 -050068void odm_RSSIMonitorCheck(struct odm_dm_struct *pDM_Odm);
69void odm_RefreshRateAdaptiveMask(struct odm_dm_struct *pDM_Odm);
70void odm_1R_CCA(struct odm_dm_struct *pDM_Odm);
71void odm_RefreshRateAdaptiveMaskCE(struct odm_dm_struct *pDM_Odm);
72void odm_RefreshRateAdaptiveMaskAPADSL(struct odm_dm_struct *pDM_Odm);
73void odm_DynamicTxPowerNIC(struct odm_dm_struct *pDM_Odm);
Larry Fingerf9f08d72013-08-21 22:34:06 -050074void odm_RSSIMonitorCheckCE(struct odm_dm_struct *pDM_Odm);
Larry Fingerf9f08d72013-08-21 22:34:06 -050075void odm_TXPowerTrackingThermalMeterInit(struct odm_dm_struct *pDM_Odm);
76void odm_EdcaTurboCheckCE(struct odm_dm_struct *pDM_Odm);
77void odm_TXPowerTrackingCheckCE(struct odm_dm_struct *pDM_Odm);
Larry Fingerf9f08d72013-08-21 22:34:06 -050078void odm_SwAntDivChkAntSwitchCallback(void *FunctionContext);
79void odm_InitHybridAntDiv(struct odm_dm_struct *pDM_Odm);
80void odm_HwAntDiv(struct odm_dm_struct *pDM_Odm);
81
82#endif /* __ODM_PRECOMP_H__ */