1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 2 /* Copyright(c) 2007 - 2011 Realtek Corporation. */ 3 4 #ifndef __ODM_RTL8188E_H__ 5 #define __ODM_RTL8188E_H__ 6 7 #define MAIN_ANT 0 8 #define AUX_ANT 1 9 #define MAIN_ANT_CG_TRX 1 10 #define AUX_ANT_CG_TRX 0 11 #define MAIN_ANT_CGCS_RX 0 12 #define AUX_ANT_CGCS_RX 1 13 14 void ODM_AntennaDiversityInit_88E(struct odm_dm_struct *pDM_Odm); 15 16 void ODM_AntennaDiversity_88E(struct odm_dm_struct *pDM_Odm); 17 18 void ODM_SetTxAntByTxInfo_88E(struct odm_dm_struct *pDM_Odm, u8 *pDesc, 19 u8 macId); 20 21 void ODM_UpdateRxIdleAnt_88E(struct odm_dm_struct *pDM_Odm, u8 Ant); 22 23 void ODM_AntselStatistics_88E(struct odm_dm_struct *pDM_Odm, u8 antsel_tr_mux, 24 u32 MacId, u8 RxPWDBAll); 25 26 void odm_FastAntTraining(struct odm_dm_struct *pDM_Odm); 27 28 #endif 29