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 ******************************************************************************/
15 #ifndef __ODM_RTL8188E_H__
16 #define __ODM_RTL8188E_H__
20 #define MAIN_ANT_CG_TRX 1
21 #define AUX_ANT_CG_TRX 0
22 #define MAIN_ANT_CGCS_RX 0
23 #define AUX_ANT_CGCS_RX 1
25 void ODM_DIG_LowerBound_88E(struct odm_dm_struct *pDM_Odm);
27 void rtl88eu_dm_antenna_div_init(struct odm_dm_struct *dm_odm);
29 void rtl88eu_dm_antenna_diversity(struct odm_dm_struct *dm_odm);
31 void rtl88eu_dm_set_tx_ant_by_tx_info(struct odm_dm_struct *dm_odm, u8 *desc,
34 void rtl88eu_dm_update_rx_idle_ant(struct odm_dm_struct *dm_odm, u8 ant);
36 void rtl88eu_dm_ant_sel_statistics(struct odm_dm_struct *dm_odm, u8 antsel_tr_mux,
37 u32 mac_id, u8 rx_pwdb_all);
39 void odm_FastAntTraining(struct odm_dm_struct *pDM_Odm);
41 void odm_FastAntTrainingCallback(struct odm_dm_struct *pDM_Odm);
43 void odm_FastAntTrainingWorkItemCallback(struct odm_dm_struct *pDM_Odm);
45 bool ODM_DynamicPrimaryCCA_DupRTS(struct odm_dm_struct *pDM_Odm);