GNU Linux-libre 4.19.211-gnu1
[releases.git] / drivers / staging / rtl8188eu / include / odm_precomp.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
5  *
6  ******************************************************************************/
7
8 #ifndef __ODM_PRECOMP_H__
9 #define __ODM_PRECOMP_H__
10
11 #include "odm_types.h"
12
13 #define         TEST_FALG___            1
14
15 /* 2 Config Flags and Structs - defined by each ODM Type */
16
17 #include <osdep_service.h>
18 #include <drv_types.h>
19 #include <hal_intf.h>
20 #include <usb_ops_linux.h>
21
22 /* 2 OutSrc Header Files */
23
24 #include "odm.h"
25 #include "odm_HWConfig.h"
26 #include "odm_debug.h"
27 #include "../../rtlwifi/phydm/phydm_regdefine11n.h"
28
29 #include "hal8188e_rate_adaptive.h" /* for RA,Power training */
30 #include "rtl8188e_hal.h"
31
32 #include "odm_reg.h"
33
34 #include "odm_rtl8188e.h"
35
36 void odm_CmnInfoHook_Debug(struct odm_dm_struct *pDM_Odm);
37 void odm_CmnInfoInit_Debug(struct odm_dm_struct *pDM_Odm);
38 void odm_DIGInit(struct odm_dm_struct *pDM_Odm);
39 void odm_RateAdaptiveMaskInit(struct odm_dm_struct *pDM_Odm);
40 void odm_DynamicBBPowerSavingInit(struct odm_dm_struct *pDM_Odm);
41 void odm_DynamicTxPowerInit(struct odm_dm_struct *pDM_Odm);
42 void odm_TXPowerTrackingInit(struct odm_dm_struct *pDM_Odm);
43 void ODM_EdcaTurboInit(struct odm_dm_struct *pDM_Odm);
44 void odm_SwAntDivInit_NIC(struct odm_dm_struct *pDM_Odm);
45 void odm_CmnInfoUpdate_Debug(struct odm_dm_struct *pDM_Odm);
46 void odm_CommonInfoSelfUpdate(struct odm_dm_struct *pDM_Odm);
47 void odm_FalseAlarmCounterStatistics(struct odm_dm_struct *pDM_Odm);
48 void odm_DIG(struct odm_dm_struct *pDM_Odm);
49 void odm_CCKPacketDetectionThresh(struct odm_dm_struct *pDM_Odm);
50 void odm_RefreshRateAdaptiveMaskMP(struct odm_dm_struct *pDM_Odm);
51 void odm_DynamicBBPowerSaving(struct odm_dm_struct *pDM_Odm);
52 void odm_SwAntDivChkAntSwitch(struct odm_dm_struct *pDM_Odm, u8 Step);
53 void odm_EdcaTurboCheck(struct odm_dm_struct *pDM_Odm);
54 void odm_CommonInfoSelfInit(struct odm_dm_struct *pDM_Odm);
55 void odm_RSSIMonitorCheck(struct odm_dm_struct *pDM_Odm);
56 void odm_RefreshRateAdaptiveMask(struct odm_dm_struct *pDM_Odm);
57 void odm_1R_CCA(struct odm_dm_struct *pDM_Odm);
58 void odm_RefreshRateAdaptiveMaskCE(struct odm_dm_struct *pDM_Odm);
59 void odm_RefreshRateAdaptiveMaskAPADSL(struct odm_dm_struct *pDM_Odm);
60 void odm_DynamicTxPowerNIC(struct odm_dm_struct *pDM_Odm);
61 void odm_RSSIMonitorCheckCE(struct odm_dm_struct *pDM_Odm);
62 void odm_TXPowerTrackingThermalMeterInit(struct odm_dm_struct *pDM_Odm);
63 void odm_EdcaTurboCheckCE(struct odm_dm_struct *pDM_Odm);
64 void odm_TXPowerTrackingCheckCE(struct odm_dm_struct *pDM_Odm);
65 void odm_SwAntDivChkAntSwitchCallback(void *FunctionContext);
66 void odm_InitHybridAntDiv(struct odm_dm_struct *pDM_Odm);
67 void odm_HwAntDiv(struct odm_dm_struct *pDM_Odm);
68
69 #endif  /*  __ODM_PRECOMP_H__ */