• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
5  *
6  ******************************************************************************/
7 #ifndef	__ODM_RTL8188E_H__
8 #define __ODM_RTL8188E_H__
9 
10 #define	MAIN_ANT	0
11 #define	AUX_ANT	1
12 #define	MAIN_ANT_CG_TRX	1
13 #define	AUX_ANT_CG_TRX	0
14 #define	MAIN_ANT_CGCS_RX	0
15 #define	AUX_ANT_CGCS_RX	1
16 
17 void ODM_DIG_LowerBound_88E(struct odm_dm_struct *pDM_Odm);
18 
19 void rtl88eu_dm_antenna_div_init(struct odm_dm_struct *dm_odm);
20 
21 void rtl88eu_dm_antenna_diversity(struct odm_dm_struct *dm_odm);
22 
23 void rtl88eu_dm_set_tx_ant_by_tx_info(struct odm_dm_struct *dm_odm, u8 *desc,
24 				      u8 mac_id);
25 
26 void rtl88eu_dm_update_rx_idle_ant(struct odm_dm_struct *dm_odm, u8 ant);
27 
28 void rtl88eu_dm_ant_sel_statistics(struct odm_dm_struct *dm_odm, u8 antsel_tr_mux,
29 				   u32 mac_id, u8 rx_pwdb_all);
30 
31 void odm_FastAntTraining(struct odm_dm_struct *pDM_Odm);
32 
33 void odm_FastAntTrainingCallback(struct odm_dm_struct *pDM_Odm);
34 
35 void odm_FastAntTrainingWorkItemCallback(struct odm_dm_struct *pDM_Odm);
36 
37 bool ODM_DynamicPrimaryCCA_DupRTS(struct odm_dm_struct *pDM_Odm);
38 
39 #endif
40