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

/linux-4.1.27/drivers/staging/rtl8188eu/hal/
H A DHal8188ERateAdaptive.c125 u8 RateID, LowestRate, HighestRate; odm_RateDown_8188E() local
135 RateID = pRaInfo->PreRate; odm_RateDown_8188E()
140 (" RateID =%d LowestRate =%d HighestRate =%d RateSGI =%d\n", odm_RateDown_8188E()
141 RateID, LowestRate, HighestRate, pRaInfo->RateSGI)); odm_RateDown_8188E()
142 if (RateID > HighestRate) { odm_RateDown_8188E()
143 RateID = HighestRate; odm_RateDown_8188E()
146 } else if (RateID > LowestRate) { odm_RateDown_8188E()
147 if (RateID > 0) { odm_RateDown_8188E()
148 for (i = RateID-1; i > LowestRate; i--) { odm_RateDown_8188E()
150 RateID = i; odm_RateDown_8188E()
155 } else if (RateID <= LowestRate) { odm_RateDown_8188E()
156 RateID = LowestRate; odm_RateDown_8188E()
172 pRaInfo->DecisionRate = RateID; odm_RateDown_8188E()
180 ("Rate down to RateID %d RateSGI %d\n", RateID, pRaInfo->RateSGI)); odm_RateDown_8188E()
191 u8 RateID, HighestRate; odm_RateUp_8188E() local
201 RateID = pRaInfo->PreRate; odm_RateUp_8188E()
204 (" RateID =%d HighestRate =%d\n", odm_RateUp_8188E()
205 RateID, HighestRate)); odm_RateUp_8188E()
217 if (RateID < HighestRate) { odm_RateUp_8188E()
218 for (i = RateID+1; i <= HighestRate; i++) { odm_RateUp_8188E()
220 RateID = i; odm_RateUp_8188E()
224 } else if (RateID == HighestRate) { odm_RateUp_8188E()
230 RateID = HighestRate; odm_RateUp_8188E()
239 pRaInfo->DecisionRate = RateID; odm_RateUp_8188E()
241 ("Rate up to RateID %d\n", RateID)); odm_RateUp_8188E()
252 u8 RateID; odm_ResetRaCounter_8188E() local
254 RateID = pRaInfo->DecisionRate; odm_ResetRaCounter_8188E()
255 pRaInfo->NscUp = (N_THRESHOLD_HIGH[RateID]+N_THRESHOLD_LOW[RateID])>>1; odm_ResetRaCounter_8188E()
256 pRaInfo->NscDown = (N_THRESHOLD_HIGH[RateID]+N_THRESHOLD_LOW[RateID])>>1; odm_ResetRaCounter_8188E()
263 u8 RateID = 0, RtyPtID = 0, PenaltyID1 = 0, PenaltyID2 = 0, i = 0; odm_RateDecision_8188E() local
278 RateID = pRaInfo->HighestRate; odm_RateDecision_8188E()
280 RateID = pRaInfo->PreRate; odm_RateDecision_8188E()
281 if (pRaInfo->RssiStaRA > RSSI_THRESHOLD[RateID]) odm_RateDecision_8188E()
285 PenaltyID1 = RETRY_PENALTY_IDX[RtyPtID][RateID]; /* TODO by page */ odm_RateDecision_8188E()
303 PenaltyID2 = RETRY_PENALTY_UP_IDX[RateID]; 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()
322 if ((pRaInfo->NscDown < N_THRESHOLD_LOW[RateID]) || odm_RateDecision_8188E()
323 (pRaInfo->DROP > DROPING_NECESSARY[RateID])) odm_RateDecision_8188E()
325 else if (pRaInfo->NscUp > N_THRESHOLD_HIGH[RateID]) odm_RateDecision_8188E()
356 switch (pRaInfo->RateID) { odm_ARFBRefresh_8188E()
435 ("ODM_ARFBRefresh_8188E(): RateID =%d RateMask =%8.8x RAUseRate =%8.8x HighestRate =%d, DecisionRate =%d\n", odm_ARFBRefresh_8188E()
436 pRaInfo->RateID, pRaInfo->RateMask, pRaInfo->RAUseRate, pRaInfo->HighestRate, pRaInfo->DecisionRate)); odm_ARFBRefresh_8188E()
580 pRaInfo->RateID = 0; ODM_RAInfo_Init()
658 void ODM_RA_UpdateRateInfo_8188E(struct odm_dm_struct *dm_odm, u8 macid, u8 RateID, u32 RateMask, u8 SGIEnable) ODM_RA_UpdateRateInfo_8188E() argument
663 ("macid =%d RateID = 0x%x RateMask = 0x%x SGIEnable =%d\n", ODM_RA_UpdateRateInfo_8188E()
664 macid, RateID, RateMask, SGIEnable)); ODM_RA_UpdateRateInfo_8188E()
669 pRaInfo->RateID = RateID; ODM_RA_UpdateRateInfo_8188E()
754 ("macid =%d R0 =%d R1 =%d R2 =%d R3 =%d R4 =%d drop =%d valid0 =%x RateID =%d SGI =%d\n", ODM_RA_TxRPT2Handle_8188E()
H A Dusb_halinit.c1934 DBG_88E("Mac_id:%d , RateID = %d, RAUseRate = 0x%08x, RateSGI = %d, DecisionRate = 0x%02x ,PTStage = %d\n", GetHalDefVar8188EUsb()
1936 haldata->odmpriv.RAInfo[entry_id].RateID, GetHalDefVar8188EUsb()
/linux-4.1.27/drivers/staging/rtl8188eu/include/
H A DHal8188ERateAdaptive.h63 u8 RateID, u32 RateMask,
H A Dodm.h575 u8 RateID; member in struct:odm_ra_info

Completed in 96 milliseconds