2013-05-19 04:28:07 +00:00
|
|
|
/******************************************************************************
|
|
|
|
*
|
|
|
|
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of version 2 of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with
|
|
|
|
* this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
|
|
|
|
*
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
#ifndef __ODM_PRECOMP_H__
|
|
|
|
#define __ODM_PRECOMP_H__
|
|
|
|
|
|
|
|
#include "odm_types.h"
|
|
|
|
|
|
|
|
#define TEST_FALG___ 1
|
|
|
|
|
2013-08-12 04:36:23 +00:00
|
|
|
/* 2 Config Flags and Structs - defined by each ODM Type */
|
2013-05-19 04:28:07 +00:00
|
|
|
|
2013-07-15 04:50:52 +00:00
|
|
|
#include <osdep_service.h>
|
|
|
|
#include <drv_types.h>
|
|
|
|
#include <hal_intf.h>
|
2013-05-19 04:28:07 +00:00
|
|
|
|
2013-08-12 04:36:23 +00:00
|
|
|
/* 2 OutSrc Header Files */
|
2013-05-19 04:28:07 +00:00
|
|
|
|
|
|
|
#include "odm.h"
|
|
|
|
#include "odm_HWConfig.h"
|
|
|
|
#include "odm_debug.h"
|
|
|
|
#include "odm_RegDefine11AC.h"
|
|
|
|
#include "odm_RegDefine11N.h"
|
|
|
|
|
2013-07-15 04:50:52 +00:00
|
|
|
#include "HalPhyRf.h"
|
2013-08-12 04:36:23 +00:00
|
|
|
#include "HalPhyRf_8188e.h"/* for IQK,LCK,Power-tracking */
|
|
|
|
#include "Hal8188ERateAdaptive.h"/* for RA,Power training */
|
2013-07-15 04:50:52 +00:00
|
|
|
#include "rtl8188e_hal.h"
|
2013-05-19 04:28:07 +00:00
|
|
|
|
|
|
|
#include "odm_interface.h"
|
|
|
|
#include "odm_reg.h"
|
|
|
|
|
|
|
|
#include "HalHWImg8188E_MAC.h"
|
|
|
|
#include "HalHWImg8188E_RF.h"
|
|
|
|
#include "HalHWImg8188E_BB.h"
|
|
|
|
#include "Hal8188EReg.h"
|
|
|
|
|
|
|
|
#include "odm_RegConfig8188E.h"
|
|
|
|
#include "odm_RTL8188E.h"
|
|
|
|
|
2013-08-07 03:34:32 +00:00
|
|
|
void odm_CmnInfoHook_Debug(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_CmnInfoInit_Debug(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_DIGInit(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_RateAdaptiveMaskInit(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_DynamicBBPowerSavingInit(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_DynamicTxPowerInit(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_TXPowerTrackingInit(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void ODM_EdcaTurboInit(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_SwAntDivInit_NIC(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_GlobalAdapterCheck(void);
|
|
|
|
void odm_CmnInfoUpdate_Debug(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_CommonInfoSelfUpdate(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_FalseAlarmCounterStatistics(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_DIG(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_CCKPacketDetectionThresh(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_RefreshRateAdaptiveMaskMP(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_DynamicBBPowerSaving(struct odm_dm_struct *pDM_Odm);
|
2013-08-14 17:03:28 +00:00
|
|
|
void odm_SwAntDivChkAntSwitch(struct odm_dm_struct *pDM_Odm, u8 Step);
|
2013-08-07 03:34:32 +00:00
|
|
|
void odm_EdcaTurboCheck(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_DynamicTxPower(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_CommonInfoSelfInit(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_SwAntDivInit(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_RSSIMonitorCheck(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_RefreshRateAdaptiveMask(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_1R_CCA(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_RefreshRateAdaptiveMaskCE(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_RefreshRateAdaptiveMaskAPADSL(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_DynamicTxPowerNIC(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_DynamicTxPowerAP(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_RSSIMonitorCheckMP(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_RSSIMonitorCheckCE(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_RSSIMonitorCheckAP(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_TXPowerTrackingThermalMeterInit(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_EdcaTurboCheckCE(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_TXPowerTrackingCheckCE(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_TXPowerTrackingCheckMP(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_TXPowerTrackingCheckAP(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_SwAntDivChkAntSwitchCallback(void *FunctionContext);
|
|
|
|
void odm_InitHybridAntDiv(struct odm_dm_struct *pDM_Odm);
|
|
|
|
void odm_HwAntDiv(struct odm_dm_struct *pDM_Odm);
|
|
|
|
|
2013-08-12 04:36:23 +00:00
|
|
|
#endif /* __ODM_PRECOMP_H__ */
|