2022-06-08 23:46:35 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
|
|
|
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
|
|
|
|
2013-05-19 04:28:07 +00:00
|
|
|
#ifndef __ODM_RTL8188E_H__
|
|
|
|
#define __ODM_RTL8188E_H__
|
|
|
|
|
|
|
|
#define MAIN_ANT 0
|
|
|
|
#define AUX_ANT 1
|
|
|
|
#define MAIN_ANT_CG_TRX 1
|
|
|
|
#define AUX_ANT_CG_TRX 0
|
|
|
|
#define MAIN_ANT_CGCS_RX 0
|
|
|
|
#define AUX_ANT_CGCS_RX 1
|
|
|
|
|
2013-07-26 16:20:42 +00:00
|
|
|
void ODM_AntennaDiversityInit_88E(struct odm_dm_struct *pDM_Odm);
|
2013-05-19 04:28:07 +00:00
|
|
|
|
2013-07-26 16:20:42 +00:00
|
|
|
void ODM_AntennaDiversity_88E(struct odm_dm_struct *pDM_Odm);
|
2013-05-19 04:28:07 +00:00
|
|
|
|
2013-08-15 03:03:17 +00:00
|
|
|
void ODM_SetTxAntByTxInfo_88E(struct odm_dm_struct *pDM_Odm, u8 *pDesc,
|
|
|
|
u8 macId);
|
2013-05-19 04:28:07 +00:00
|
|
|
|
2013-08-14 17:03:28 +00:00
|
|
|
void ODM_UpdateRxIdleAnt_88E(struct odm_dm_struct *pDM_Odm, u8 Ant);
|
2013-05-19 04:28:07 +00:00
|
|
|
|
2013-08-15 03:03:17 +00:00
|
|
|
void ODM_AntselStatistics_88E(struct odm_dm_struct *pDM_Odm, u8 antsel_tr_mux,
|
|
|
|
u32 MacId, u8 RxPWDBAll);
|
2013-05-19 04:28:07 +00:00
|
|
|
|
2013-08-15 03:03:17 +00:00
|
|
|
void odm_FastAntTraining(struct odm_dm_struct *pDM_Odm);
|
2013-05-19 04:28:07 +00:00
|
|
|
|
|
|
|
#endif
|