Commit 38b1f67d authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef FALSE_ALARM_STATISTICS to struct false_alarm_stats

Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent d6a15cb8
...@@ -366,7 +366,7 @@ struct mimo_evm { ...@@ -366,7 +366,7 @@ struct mimo_evm {
u32 EVM2; u32 EVM2;
};//, *struct mimo_evm *; };//, *struct mimo_evm *;
typedef struct _FALSE_ALARM_STATISTICS{ struct false_alarm_stats {
u32 Cnt_Parity_Fail; u32 Cnt_Parity_Fail;
u32 Cnt_Rate_Illegal; u32 Cnt_Rate_Illegal;
u32 Cnt_Crc8_fail; u32 Cnt_Crc8_fail;
...@@ -374,7 +374,7 @@ typedef struct _FALSE_ALARM_STATISTICS{ ...@@ -374,7 +374,7 @@ typedef struct _FALSE_ALARM_STATISTICS{
u32 Cnt_Ofdm_fail; u32 Cnt_Ofdm_fail;
u32 Cnt_Cck_fail; u32 Cnt_Cck_fail;
u32 Cnt_all; u32 Cnt_all;
}FALSE_ALARM_STATISTICS, *PFALSE_ALARM_STATISTICS; };//, *struct false_alarm_stats *;
extern u8 MCS_FILTER_ALL[16]; extern u8 MCS_FILTER_ALL[16];
......
...@@ -882,7 +882,7 @@ typedef struct r8192_priv ...@@ -882,7 +882,7 @@ typedef struct r8192_priv
u8 DynamicTxHighPowerLvl; u8 DynamicTxHighPowerLvl;
u8 LastDTPLvl; u8 LastDTPLvl;
u32 CurrentRATR0; u32 CurrentRATR0;
FALSE_ALARM_STATISTICS FalseAlmCnt; struct false_alarm_stats FalseAlmCnt;
u8 DMFlag; u8 DMFlag;
u8 DM_Type; u8 DM_Type;
......
...@@ -1916,7 +1916,7 @@ void dm_FalseAlarmCounterStatistics(struct net_device *dev) ...@@ -1916,7 +1916,7 @@ void dm_FalseAlarmCounterStatistics(struct net_device *dev)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
u32 ret_value; u32 ret_value;
PFALSE_ALARM_STATISTICS FalseAlmCnt = &(priv->FalseAlmCnt); struct false_alarm_stats *FalseAlmCnt = &(priv->FalseAlmCnt);
ret_value = rtl8192_QueryBBReg(dev, rOFDM_PHYCounter1, bMaskDWord); ret_value = rtl8192_QueryBBReg(dev, rOFDM_PHYCounter1, bMaskDWord);
FalseAlmCnt->Cnt_Parity_Fail = ((ret_value&0xffff0000)>>16); FalseAlmCnt->Cnt_Parity_Fail = ((ret_value&0xffff0000)>>16);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment