Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / drivers / staging / rtl8188eu / include / odm_precomp.h
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  * 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>
33 #include <usb_ops_linux.h>
34
35 /* 2 OutSrc Header Files */
36
37 #include "odm.h"
38 #include "odm_HWConfig.h"
39 #include "odm_debug.h"
40 #include "odm_RegDefine11N.h"
41
42 #include "Hal8188ERateAdaptive.h"/* for  RA,Power training */
43 #include "rtl8188e_hal.h"
44
45 #include "odm_reg.h"
46
47 #include "odm_RTL8188E.h"
48
49 void odm_CmnInfoHook_Debug(struct odm_dm_struct *pDM_Odm);
50 void odm_CmnInfoInit_Debug(struct odm_dm_struct *pDM_Odm);
51 void odm_DIGInit(struct odm_dm_struct *pDM_Odm);
52 void odm_RateAdaptiveMaskInit(struct odm_dm_struct *pDM_Odm);
53 void odm_DynamicBBPowerSavingInit(struct odm_dm_struct *pDM_Odm);
54 void odm_DynamicTxPowerInit(struct odm_dm_struct *pDM_Odm);
55 void odm_TXPowerTrackingInit(struct odm_dm_struct *pDM_Odm);
56 void ODM_EdcaTurboInit(struct odm_dm_struct *pDM_Odm);
57 void odm_SwAntDivInit_NIC(struct odm_dm_struct *pDM_Odm);
58 void odm_CmnInfoUpdate_Debug(struct odm_dm_struct *pDM_Odm);
59 void odm_CommonInfoSelfUpdate(struct odm_dm_struct *pDM_Odm);
60 void odm_FalseAlarmCounterStatistics(struct odm_dm_struct *pDM_Odm);
61 void odm_DIG(struct odm_dm_struct *pDM_Odm);
62 void odm_CCKPacketDetectionThresh(struct odm_dm_struct *pDM_Odm);
63 void odm_RefreshRateAdaptiveMaskMP(struct odm_dm_struct *pDM_Odm);
64 void odm_DynamicBBPowerSaving(struct odm_dm_struct *pDM_Odm);
65 void odm_SwAntDivChkAntSwitch(struct odm_dm_struct *pDM_Odm, u8 Step);
66 void odm_EdcaTurboCheck(struct odm_dm_struct *pDM_Odm);
67 void odm_CommonInfoSelfInit(struct odm_dm_struct *pDM_Odm);
68 void odm_RSSIMonitorCheck(struct odm_dm_struct *pDM_Odm);
69 void odm_RefreshRateAdaptiveMask(struct odm_dm_struct *pDM_Odm);
70 void odm_1R_CCA(struct odm_dm_struct *pDM_Odm);
71 void odm_RefreshRateAdaptiveMaskCE(struct odm_dm_struct *pDM_Odm);
72 void odm_RefreshRateAdaptiveMaskAPADSL(struct odm_dm_struct *pDM_Odm);
73 void odm_DynamicTxPowerNIC(struct odm_dm_struct *pDM_Odm);
74 void odm_RSSIMonitorCheckCE(struct odm_dm_struct *pDM_Odm);
75 void odm_TXPowerTrackingThermalMeterInit(struct odm_dm_struct *pDM_Odm);
76 void odm_EdcaTurboCheckCE(struct odm_dm_struct *pDM_Odm);
77 void odm_TXPowerTrackingCheckCE(struct odm_dm_struct *pDM_Odm);
78 void odm_SwAntDivChkAntSwitchCallback(void *FunctionContext);
79 void odm_InitHybridAntDiv(struct odm_dm_struct *pDM_Odm);
80 void odm_HwAntDiv(struct odm_dm_struct *pDM_Odm);
81
82 #endif  /*  __ODM_PRECOMP_H__ */