Home
last modified time | relevance | path

Searched refs:PenaltyID2 (Results 1 – 1 of 1) sorted by relevance

/drivers/staging/rtl8188eu/hal/
DHal8188ERateAdaptive.c246 u8 RateID = 0, RtyPtID = 0, PenaltyID1 = 0, PenaltyID2 = 0; in odm_RateDecision_8188E() local
285 PenaltyID2 = RETRY_PENALTY_UP_IDX[RateID]; in odm_RateDecision_8188E()
288 pRaInfo->NscUp += pRaInfo->RTY[0] * RETRY_PENALTY[PenaltyID2][0]; in odm_RateDecision_8188E()
289 pRaInfo->NscUp += pRaInfo->RTY[1] * RETRY_PENALTY[PenaltyID2][1]; in odm_RateDecision_8188E()
290 pRaInfo->NscUp += pRaInfo->RTY[2] * RETRY_PENALTY[PenaltyID2][2]; in odm_RateDecision_8188E()
291 pRaInfo->NscUp += pRaInfo->RTY[3] * RETRY_PENALTY[PenaltyID2][3]; in odm_RateDecision_8188E()
292 pRaInfo->NscUp += pRaInfo->RTY[4] * RETRY_PENALTY[PenaltyID2][4]; in odm_RateDecision_8188E()
295 pRaInfo->NscUp, (pRaInfo->TOTAL * RETRY_PENALTY[PenaltyID2][5]))); in odm_RateDecision_8188E()
296 if (pRaInfo->NscUp > (pRaInfo->TOTAL * RETRY_PENALTY[PenaltyID2][5])) in odm_RateDecision_8188E()
297 pRaInfo->NscUp -= pRaInfo->TOTAL * RETRY_PENALTY[PenaltyID2][5]; in odm_RateDecision_8188E()
[all …]