]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/staging/rtl8188eu/include/odm_precomp.h
Merge remote-tracking branch 'usb-gadget/next'
[karo-tx-linux.git] / 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
34 /* 2 Hardware Parameter Files */
35
36 #include "Hal8188EFWImg_CE.h"
37
38
39 /* 2 OutSrc Header Files */
40
41 #include "odm.h"
42 #include "odm_HWConfig.h"
43 #include "odm_debug.h"
44 #include "odm_RegDefine11AC.h"
45 #include "odm_RegDefine11N.h"
46
47 #include "HalPhyRf.h"
48 #include "HalPhyRf_8188e.h"/* for IQK,LCK,Power-tracking */
49 #include "Hal8188ERateAdaptive.h"/* for  RA,Power training */
50 #include "rtl8188e_hal.h"
51
52 #include "odm_interface.h"
53 #include "odm_reg.h"
54
55 #include "HalHWImg8188E_MAC.h"
56 #include "HalHWImg8188E_RF.h"
57 #include "HalHWImg8188E_BB.h"
58 #include "Hal8188EReg.h"
59
60 #include "odm_RegConfig8188E.h"
61 #include "odm_RTL8188E.h"
62
63 void odm_CmnInfoHook_Debug(struct odm_dm_struct *pDM_Odm);
64 void odm_CmnInfoInit_Debug(struct odm_dm_struct *pDM_Odm);
65 void odm_DIGInit(struct odm_dm_struct *pDM_Odm);
66 void odm_RateAdaptiveMaskInit(struct odm_dm_struct *pDM_Odm);
67 void odm_DynamicBBPowerSavingInit(struct odm_dm_struct *pDM_Odm);
68 void odm_DynamicTxPowerInit(struct odm_dm_struct *pDM_Odm);
69 void odm_TXPowerTrackingInit(struct odm_dm_struct *pDM_Odm);
70 void ODM_EdcaTurboInit(struct odm_dm_struct *pDM_Odm);
71 void odm_SwAntDivInit_NIC(struct odm_dm_struct *pDM_Odm);
72 void odm_GlobalAdapterCheck(void);
73 void odm_CmnInfoUpdate_Debug(struct odm_dm_struct *pDM_Odm);
74 void odm_CommonInfoSelfUpdate(struct odm_dm_struct *pDM_Odm);
75 void odm_FalseAlarmCounterStatistics(struct odm_dm_struct *pDM_Odm);
76 void odm_DIG(struct odm_dm_struct *pDM_Odm);
77 void odm_CCKPacketDetectionThresh(struct odm_dm_struct *pDM_Odm);
78 void odm_RefreshRateAdaptiveMaskMP(struct odm_dm_struct *pDM_Odm);
79 void odm_DynamicBBPowerSaving(struct odm_dm_struct *pDM_Odm);
80 void odm_SwAntDivChkAntSwitch(struct odm_dm_struct *pDM_Odm, u8 Step);
81 void odm_EdcaTurboCheck(struct odm_dm_struct *pDM_Odm);
82 void odm_DynamicTxPower(struct odm_dm_struct *pDM_Odm);
83 void odm_CommonInfoSelfInit(struct odm_dm_struct *pDM_Odm);
84 void odm_SwAntDivInit(struct odm_dm_struct *pDM_Odm);
85 void odm_RSSIMonitorCheck(struct odm_dm_struct *pDM_Odm);
86 void odm_RefreshRateAdaptiveMask(struct odm_dm_struct *pDM_Odm);
87 void odm_1R_CCA(struct odm_dm_struct *pDM_Odm);
88 void odm_RefreshRateAdaptiveMaskCE(struct odm_dm_struct *pDM_Odm);
89 void odm_RefreshRateAdaptiveMaskAPADSL(struct odm_dm_struct *pDM_Odm);
90 void odm_DynamicTxPowerNIC(struct odm_dm_struct *pDM_Odm);
91 void odm_DynamicTxPowerAP(struct odm_dm_struct *pDM_Odm);
92 void odm_RSSIMonitorCheckMP(struct odm_dm_struct *pDM_Odm);
93 void odm_RSSIMonitorCheckCE(struct odm_dm_struct *pDM_Odm);
94 void odm_RSSIMonitorCheckAP(struct odm_dm_struct *pDM_Odm);
95 void odm_TXPowerTrackingThermalMeterInit(struct odm_dm_struct *pDM_Odm);
96 void odm_EdcaTurboCheckCE(struct odm_dm_struct *pDM_Odm);
97 void odm_TXPowerTrackingCheckCE(struct odm_dm_struct *pDM_Odm);
98 void odm_TXPowerTrackingCheckMP(struct odm_dm_struct *pDM_Odm);
99 void odm_TXPowerTrackingCheckAP(struct odm_dm_struct *pDM_Odm);
100 void odm_SwAntDivChkAntSwitchCallback(void *FunctionContext);
101 void odm_InitHybridAntDiv(struct odm_dm_struct *pDM_Odm);
102 void odm_HwAntDiv(struct odm_dm_struct *pDM_Odm);
103
104 #endif  /*  __ODM_PRECOMP_H__ */