Searched refs:PenaltyID1 (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/staging/rtl8188eu/hal/
H A DHal8188ERateAdaptive.c263 u8 RateID = 0, RtyPtID = 0, PenaltyID1 = 0, PenaltyID2 = 0, i = 0; odm_RateDecision_8188E() local
285 PenaltyID1 = RETRY_PENALTY_IDX[RtyPtID][RateID]; /* TODO by page */ odm_RateDecision_8188E()
291 pRaInfo->NscDown += pRaInfo->RTY[i] * RETRY_PENALTY[PenaltyID1][i]; odm_RateDecision_8188E()
295 (pRaInfo->TOTAL * RETRY_PENALTY[PenaltyID1][5]))); odm_RateDecision_8188E()
297 if (pRaInfo->NscDown > (pRaInfo->TOTAL * RETRY_PENALTY[PenaltyID1][5])) odm_RateDecision_8188E()
298 pRaInfo->NscDown -= pRaInfo->TOTAL * RETRY_PENALTY[PenaltyID1][5]; odm_RateDecision_8188E()
320 (" RssiStaRa = %d RtyPtID =%d PenaltyID1 = 0x%x PenaltyID2 = 0x%x RateID =%d NscDown =%d NscUp =%d SGI =%d\n", odm_RateDecision_8188E()
321 pRaInfo->RssiStaRA, RtyPtID, PenaltyID1, PenaltyID2, RateID, pRaInfo->NscDown, pRaInfo->NscUp, pRaInfo->RateSGI)); odm_RateDecision_8188E()

Completed in 36 milliseconds