H A D | Hal8188ERateAdaptive.c | 95 struct odm_dm_struct *dm_odm, odm_SetTxRPTTiming_8188E() 118 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, odm_SetTxRPTTiming_8188E() 122 static int odm_RateDown_8188E(struct odm_dm_struct *dm_odm, odm_RateDown_8188E() argument 128 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, odm_RateDown_8188E() 131 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, odm_RateDown_8188E() 139 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, odm_RateDown_8188E() 173 odm_SetTxRPTTiming_8188E(dm_odm, pRaInfo, 2); odm_RateDown_8188E() 174 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, odm_RateDown_8188E() 176 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, odm_RateDown_8188E() 179 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, odm_RateDown_8188E() 181 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, odm_RateDown_8188E() 187 struct odm_dm_struct *dm_odm, odm_RateUp_8188E() 194 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, odm_RateUp_8188E() 197 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, odm_RateUp_8188E() 203 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, odm_RateUp_8188E() 213 odm_SetTxRPTTiming_8188E(dm_odm, pRaInfo, 0); odm_RateUp_8188E() 214 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, odm_RateUp_8188E() 240 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, odm_RateUp_8188E() 242 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, odm_RateUp_8188E() 245 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, odm_RateUp_8188E() 259 static void odm_RateDecision_8188E(struct odm_dm_struct *dm_odm, odm_RateDecision_8188E() argument 267 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, odm_RateDecision_8188E() 287 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, odm_RateDecision_8188E() 293 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, odm_RateDecision_8188E() 304 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, odm_RateDecision_8188E() 310 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, odm_RateDecision_8188E() 319 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE|ODM_COMP_INIT, ODM_DBG_LOUD, odm_RateDecision_8188E() 324 odm_RateDown_8188E(dm_odm, pRaInfo); odm_RateDecision_8188E() 326 odm_RateUp_8188E(dm_odm, pRaInfo); odm_RateDecision_8188E() 337 odm_SetTxRPTTiming_8188E(dm_odm, pRaInfo, 1); odm_RateDecision_8188E() 338 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, odm_RateDecision_8188E() 347 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, ("<===== odm_RateDecision_8188E()\n")); odm_RateDecision_8188E() 350 static int odm_ARFBRefresh_8188E(struct odm_dm_struct *dm_odm, struct odm_ra_info *pRaInfo) odm_ARFBRefresh_8188E() argument 352 struct adapter *adapt = dm_odm->Adapter; odm_ARFBRefresh_8188E() 428 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, odm_ARFBRefresh_8188E() 434 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, odm_ARFBRefresh_8188E() 529 struct odm_dm_struct *dm_odm, odm_RATxRPTTimerSetting() 533 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, (" =====>odm_RATxRPTTimerSetting()\n")); odm_RATxRPTTimerSetting() 535 if (dm_odm->CurrminRptTime != minRptTime) { odm_RATxRPTTimerSetting() 536 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, odm_RATxRPTTimerSetting() 537 (" CurrminRptTime = 0x%04x minRptTime = 0x%04x\n", dm_odm->CurrminRptTime, minRptTime)); odm_RATxRPTTimerSetting() 538 rtw_rpt_timer_cfg_cmd(dm_odm->Adapter, minRptTime); odm_RATxRPTTimerSetting() 539 dm_odm->CurrminRptTime = minRptTime; odm_RATxRPTTimerSetting() 541 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, (" <===== odm_RATxRPTTimerSetting()\n")); odm_RATxRPTTimerSetting() 546 struct odm_dm_struct *dm_odm ODM_RASupport_Init() 549 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, ("=====>ODM_RASupport_Init()\n")); ODM_RASupport_Init() 551 dm_odm->RaSupport88E = true; ODM_RASupport_Init() 554 int ODM_RAInfo_Init(struct odm_dm_struct *dm_odm, u8 macid) ODM_RAInfo_Init() argument 556 struct odm_ra_info *pRaInfo = &dm_odm->RAInfo[macid]; ODM_RAInfo_Init() 560 if (dm_odm->pWirelessMode != NULL) ODM_RAInfo_Init() 561 WirelessMode = *(dm_odm->pWirelessMode); ODM_RAInfo_Init() 572 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, ODM_RAInfo_Init() 612 int ODM_RAInfo_Init_all(struct odm_dm_struct *dm_odm) ODM_RAInfo_Init_all() argument 616 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, ("=====>\n")); ODM_RAInfo_Init_all() 617 dm_odm->CurrminRptTime = 0; ODM_RAInfo_Init_all() 620 ODM_RAInfo_Init(dm_odm, macid); ODM_RAInfo_Init_all() 625 u8 ODM_RA_GetShortGI_8188E(struct odm_dm_struct *dm_odm, u8 macid) ODM_RA_GetShortGI_8188E() argument 627 if ((!dm_odm) || (macid >= ASSOCIATE_ENTRY_NUM)) ODM_RA_GetShortGI_8188E() 629 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, ODM_RA_GetShortGI_8188E() 630 ("macid =%d SGI =%d\n", macid, dm_odm->RAInfo[macid].RateSGI)); ODM_RA_GetShortGI_8188E() 631 return dm_odm->RAInfo[macid].RateSGI; ODM_RA_GetShortGI_8188E() 634 u8 ODM_RA_GetDecisionRate_8188E(struct odm_dm_struct *dm_odm, u8 macid) ODM_RA_GetDecisionRate_8188E() argument 638 if ((!dm_odm) || (macid >= ASSOCIATE_ENTRY_NUM)) ODM_RA_GetDecisionRate_8188E() 640 DecisionRate = dm_odm->RAInfo[macid].DecisionRate; ODM_RA_GetDecisionRate_8188E() 641 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, ODM_RA_GetDecisionRate_8188E() 646 u8 ODM_RA_GetHwPwrStatus_8188E(struct odm_dm_struct *dm_odm, u8 macid) ODM_RA_GetHwPwrStatus_8188E() argument 650 if ((!dm_odm) || (macid >= ASSOCIATE_ENTRY_NUM)) ODM_RA_GetHwPwrStatus_8188E() 652 PTStage = dm_odm->RAInfo[macid].PTStage; ODM_RA_GetHwPwrStatus_8188E() 653 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, ODM_RA_GetHwPwrStatus_8188E() 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 662 if ((!dm_odm) || (macid >= ASSOCIATE_ENTRY_NUM)) ODM_RA_UpdateRateInfo_8188E() 664 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, ODM_RA_UpdateRateInfo_8188E() 668 pRaInfo = &(dm_odm->RAInfo[macid]); ODM_RA_UpdateRateInfo_8188E() 672 odm_ARFBRefresh_8188E(dm_odm, pRaInfo); ODM_RA_UpdateRateInfo_8188E() 675 void ODM_RA_SetRSSI_8188E(struct odm_dm_struct *dm_odm, u8 macid, u8 Rssi) ODM_RA_SetRSSI_8188E() argument 679 if ((!dm_odm) || (macid >= ASSOCIATE_ENTRY_NUM)) ODM_RA_SetRSSI_8188E() 681 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, ODM_RA_SetRSSI_8188E() 684 pRaInfo = &(dm_odm->RAInfo[macid]); ODM_RA_SetRSSI_8188E() 688 void ODM_RA_Set_TxRPT_Time(struct odm_dm_struct *dm_odm, u16 minRptTime) ODM_RA_Set_TxRPT_Time() argument 690 struct adapter *adapt = dm_odm->Adapter; ODM_RA_Set_TxRPT_Time() 695 void ODM_RA_TxRPT2Handle_8188E(struct odm_dm_struct *dm_odm, u8 *TxRPT_Buf, u16 TxRPT_Len, u32 macid_entry0, u32 macid_entry1) ODM_RA_TxRPT2Handle_8188E() argument 703 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, ODM_RA_TxRPT2Handle_8188E() 718 pRAInfo = &(dm_odm->RAInfo[MacId]); ODM_RA_TxRPT2Handle_8188E() 730 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, ODM_RA_TxRPT2Handle_8188E() 739 odm_RateDecision_8188E(dm_odm, pRAInfo); ODM_RA_TxRPT2Handle_8188E() 751 odm_RateDecision_8188E(dm_odm, pRAInfo); ODM_RA_TxRPT2Handle_8188E() 753 ODM_RT_TRACE(dm_odm, ODM_COMP_INIT, ODM_DBG_LOUD, ODM_RA_TxRPT2Handle_8188E() 766 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, (" TOTAL = 0!!!!\n")); ODM_RA_TxRPT2Handle_8188E() 777 odm_RATxRPTTimerSetting(dm_odm, minRptTime); ODM_RA_TxRPT2Handle_8188E() 779 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, ("<===== ODM_RA_TxRPT2Handle_8188E()\n")); ODM_RA_TxRPT2Handle_8188E() 94 odm_SetTxRPTTiming_8188E( struct odm_dm_struct *dm_odm, struct odm_ra_info *pRaInfo, u8 extend ) odm_SetTxRPTTiming_8188E() argument 186 odm_RateUp_8188E( struct odm_dm_struct *dm_odm, struct odm_ra_info *pRaInfo ) odm_RateUp_8188E() argument 528 odm_RATxRPTTimerSetting( struct odm_dm_struct *dm_odm, u16 minRptTime ) odm_RATxRPTTimerSetting() argument
|