|
@@ -741,13 +741,13 @@ void odm_FalseAlarmCounterStatistics(struct odm_dm_struct *pDM_Odm)
|
|
|
|
|
|
ret_value = phy_query_bb_reg(adapter, ODM_REG_OFDM_FA_TYPE1_11N, bMaskDWord);
|
|
|
FalseAlmCnt->Cnt_Fast_Fsync = (ret_value&0xffff);
|
|
|
- FalseAlmCnt->Cnt_SB_Search_fail = ((ret_value&0xffff0000)>>16);
|
|
|
+ FalseAlmCnt->Cnt_SB_Search_fail = (ret_value & 0xffff0000)>>16;
|
|
|
ret_value = phy_query_bb_reg(adapter, ODM_REG_OFDM_FA_TYPE2_11N, bMaskDWord);
|
|
|
FalseAlmCnt->Cnt_OFDM_CCA = (ret_value&0xffff);
|
|
|
- FalseAlmCnt->Cnt_Parity_Fail = ((ret_value&0xffff0000)>>16);
|
|
|
+ FalseAlmCnt->Cnt_Parity_Fail = (ret_value & 0xffff0000)>>16;
|
|
|
ret_value = phy_query_bb_reg(adapter, ODM_REG_OFDM_FA_TYPE3_11N, bMaskDWord);
|
|
|
FalseAlmCnt->Cnt_Rate_Illegal = (ret_value&0xffff);
|
|
|
- FalseAlmCnt->Cnt_Crc8_fail = ((ret_value&0xffff0000)>>16);
|
|
|
+ FalseAlmCnt->Cnt_Crc8_fail = (ret_value & 0xffff0000)>>16;
|
|
|
ret_value = phy_query_bb_reg(adapter, ODM_REG_OFDM_FA_TYPE4_11N, bMaskDWord);
|
|
|
FalseAlmCnt->Cnt_Mcs_fail = (ret_value&0xffff);
|
|
|
|
|
@@ -757,7 +757,7 @@ void odm_FalseAlarmCounterStatistics(struct odm_dm_struct *pDM_Odm)
|
|
|
|
|
|
ret_value = phy_query_bb_reg(adapter, ODM_REG_SC_CNT_11N, bMaskDWord);
|
|
|
FalseAlmCnt->Cnt_BW_LSC = (ret_value&0xffff);
|
|
|
- FalseAlmCnt->Cnt_BW_USC = ((ret_value&0xffff0000)>>16);
|
|
|
+ FalseAlmCnt->Cnt_BW_USC = (ret_value & 0xffff0000)>>16;
|
|
|
|
|
|
/* hold cck counter */
|
|
|
phy_set_bb_reg(adapter, ODM_REG_CCK_FA_RST_11N, BIT12, 1);
|