1 /******************************************************************************
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
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.
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
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
19 ******************************************************************************/
20 #ifndef __ODM_RTL8188E_H__
21 #define __ODM_RTL8188E_H__
25 #define MAIN_ANT_CG_TRX 1
26 #define AUX_ANT_CG_TRX 0
27 #define MAIN_ANT_CGCS_RX 0
28 #define AUX_ANT_CGCS_RX 1
30 void ODM_DIG_LowerBound_88E(struct odm_dm_struct *pDM_Odm);
32 void ODM_AntennaDiversityInit_88E(struct odm_dm_struct *pDM_Odm);
34 void ODM_AntennaDiversity_88E(struct odm_dm_struct *pDM_Odm);
36 void ODM_SetTxAntByTxInfo_88E(struct odm_dm_struct *pDM_Odm, u8 *pDesc,
39 void ODM_UpdateRxIdleAnt_88E(struct odm_dm_struct *pDM_Odm, u8 Ant);
41 void ODM_AntselStatistics_88E(struct odm_dm_struct *pDM_Odm, u8 antsel_tr_mux,
42 u32 MacId, u8 RxPWDBAll);
44 void odm_FastAntTraining(struct odm_dm_struct *pDM_Odm);
46 void odm_FastAntTrainingCallback(struct odm_dm_struct *pDM_Odm);
48 void odm_FastAntTrainingWorkItemCallback(struct odm_dm_struct *pDM_Odm);
50 void odm_PrimaryCCA_Init(struct odm_dm_struct *pDM_Odm);
52 bool ODM_DynamicPrimaryCCA_DupRTS(struct odm_dm_struct *pDM_Odm);
54 void odm_DynamicPrimaryCCA(struct odm_dm_struct *pDM_Odm);