rtl8188eu: Convert typedef statements in include/odm_HWConfig.h

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-26 16:52:36 -05:00
parent ed7a8186fe
commit 8d9e1697d6
2 changed files with 7 additions and 10 deletions

View file

@ -251,7 +251,7 @@ odm_RxPhyStatus92CSeries_Parsing(
u1Byte cck_highpwr = 0; u1Byte cck_highpwr = 0;
u1Byte LNA_idx, VGA_idx; u1Byte LNA_idx, VGA_idx;
PPHY_STATUS_RPT_8192CD_T pPhyStaRpt = (PPHY_STATUS_RPT_8192CD_T)pPhyStatus; struct phy_status_rpt *pPhyStaRpt = (struct phy_status_rpt *)pPhyStatus;
isCCKrate = ((pPktinfo->Rate >= DESC92C_RATE1M) && (pPktinfo->Rate <= DESC92C_RATE11M)) ? true : false; isCCKrate = ((pPktinfo->Rate >= DESC92C_RATE1M) && (pPktinfo->Rate <= DESC92C_RATE11M)) ? true : false;

View file

@ -68,18 +68,16 @@
// structure and define // structure and define
//============================================================ //============================================================
typedef struct _Phy_Rx_AGC_Info struct phy_rx_agc_info {
{
#ifdef __LITTLE_ENDIAN #ifdef __LITTLE_ENDIAN
u1Byte gain:7,trsw:1; u1Byte gain:7,trsw:1;
#else #else
u1Byte trsw:1,gain:7; u1Byte trsw:1,gain:7;
#endif #endif
} PHY_RX_AGC_INFO_T,*pPHY_RX_AGC_INFO_T; };
typedef struct _Phy_Status_Rpt_8192cd struct phy_status_rpt {
{ struct phy_rx_agc_info path_agc[2];
PHY_RX_AGC_INFO_T path_agc[2];
u1Byte ch_corr[2]; u1Byte ch_corr[2];
u1Byte cck_sig_qual_ofdm_pwdb_all; u1Byte cck_sig_qual_ofdm_pwdb_all;
u1Byte cck_agc_rpt_ofdm_cfosho_a; u1Byte cck_agc_rpt_ofdm_cfosho_a;
@ -114,12 +112,11 @@ typedef struct _Phy_Status_Rpt_8192cd
u1Byte sgi_en:1; u1Byte sgi_en:1;
u1Byte antsel_rx_keep_2:1; //ex_intf_flg:1; u1Byte antsel_rx_keep_2:1; //ex_intf_flg:1;
#endif #endif
} PHY_STATUS_RPT_8192CD_T,*PPHY_STATUS_RPT_8192CD_T; };
typedef struct _Phy_Status_Rpt_8195 typedef struct _Phy_Status_Rpt_8195
{ {
PHY_RX_AGC_INFO_T path_agc[2]; struct phy_rx_agc_info path_agc[2];
u1Byte ch_num[2]; u1Byte ch_num[2];
u1Byte cck_sig_qual_ofdm_pwdb_all; u1Byte cck_sig_qual_ofdm_pwdb_all;
u1Byte cck_agc_rpt_ofdm_cfosho_a; u1Byte cck_agc_rpt_ofdm_cfosho_a;