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

/linux-4.1.27/drivers/staging/rtl8188eu/hal/
H A Dodm_RTL8188E.c24 static void dm_rx_hw_antena_div_init(struct odm_dm_struct *dm_odm) dm_rx_hw_antena_div_init() argument
26 struct adapter *adapter = dm_odm->Adapter; dm_rx_hw_antena_div_init()
29 if (*(dm_odm->mp_mode) == 1) { dm_rx_hw_antena_div_init()
30 dm_odm->AntDivType = CGCS_RX_SW_ANTDIV; dm_rx_hw_antena_div_init()
51 rtl88eu_dm_update_rx_idle_ant(dm_odm, MAIN_ANT); dm_rx_hw_antena_div_init()
55 static void dm_trx_hw_antenna_div_init(struct odm_dm_struct *dm_odm) dm_trx_hw_antenna_div_init() argument
57 struct adapter *adapter = dm_odm->Adapter; dm_trx_hw_antenna_div_init()
60 if (*(dm_odm->mp_mode) == 1) { dm_trx_hw_antenna_div_init()
61 dm_odm->AntDivType = CGCS_RX_SW_ANTDIV; dm_trx_hw_antenna_div_init()
85 rtl88eu_dm_update_rx_idle_ant(dm_odm, MAIN_ANT); dm_trx_hw_antenna_div_init()
88 if (!dm_odm->bIsMPChip) { /* testchip */ dm_trx_hw_antenna_div_init()
99 static void dm_fast_training_init(struct odm_dm_struct *dm_odm) dm_fast_training_init() argument
101 struct adapter *adapter = dm_odm->Adapter; dm_fast_training_init()
103 struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable; dm_fast_training_init()
106 if (*(dm_odm->mp_mode) == 1) { dm_fast_training_init()
137 if (!dm_odm->bIsMPChip) { /* testchip */ dm_fast_training_init()
145 if (!dm_odm->bIsMPChip) { /* testchip */ dm_fast_training_init()
177 void rtl88eu_dm_antenna_div_init(struct odm_dm_struct *dm_odm) rtl88eu_dm_antenna_div_init() argument
179 if (dm_odm->AntDivType == CGCS_RX_HW_ANTDIV) rtl88eu_dm_antenna_div_init()
180 dm_rx_hw_antena_div_init(dm_odm); rtl88eu_dm_antenna_div_init()
181 else if (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) rtl88eu_dm_antenna_div_init()
182 dm_trx_hw_antenna_div_init(dm_odm); rtl88eu_dm_antenna_div_init()
183 else if (dm_odm->AntDivType == CG_TRX_SMART_ANTDIV) rtl88eu_dm_antenna_div_init()
184 dm_fast_training_init(dm_odm); rtl88eu_dm_antenna_div_init()
187 void rtl88eu_dm_update_rx_idle_ant(struct odm_dm_struct *dm_odm, u8 ant) rtl88eu_dm_update_rx_idle_ant() argument
189 struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable; rtl88eu_dm_update_rx_idle_ant()
190 struct adapter *adapter = dm_odm->Adapter; rtl88eu_dm_update_rx_idle_ant()
195 default_ant = (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) ? rtl88eu_dm_update_rx_idle_ant()
197 optional_ant = (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) ? rtl88eu_dm_update_rx_idle_ant()
200 default_ant = (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) ? rtl88eu_dm_update_rx_idle_ant()
202 optional_ant = (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) ? rtl88eu_dm_update_rx_idle_ant()
206 if (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) { rtl88eu_dm_update_rx_idle_ant()
215 } else if (dm_odm->AntDivType == CGCS_RX_HW_ANTDIV) { rtl88eu_dm_update_rx_idle_ant()
225 static void update_tx_ant_88eu(struct odm_dm_struct *dm_odm, u8 ant, u32 mac_id) update_tx_ant_88eu() argument
227 struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable; update_tx_ant_88eu()
239 void rtl88eu_dm_set_tx_ant_by_tx_info(struct odm_dm_struct *dm_odm, rtl88eu_dm_set_tx_ant_by_tx_info() argument
242 struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable; rtl88eu_dm_set_tx_ant_by_tx_info()
244 if ((dm_odm->AntDivType == CG_TRX_HW_ANTDIV) || rtl88eu_dm_set_tx_ant_by_tx_info()
245 (dm_odm->AntDivType == CG_TRX_SMART_ANTDIV)) { rtl88eu_dm_set_tx_ant_by_tx_info()
252 void rtl88eu_dm_ant_sel_statistics(struct odm_dm_struct *dm_odm, rtl88eu_dm_ant_sel_statistics() argument
255 struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable; rtl88eu_dm_ant_sel_statistics()
256 if (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) { rtl88eu_dm_ant_sel_statistics()
264 } else if (dm_odm->AntDivType == CGCS_RX_HW_ANTDIV) { rtl88eu_dm_ant_sel_statistics()
275 static void rtl88eu_dm_hw_ant_div(struct odm_dm_struct *dm_odm) rtl88eu_dm_hw_ant_div() argument
277 struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable; rtl88eu_dm_hw_ant_div()
278 struct rtw_dig *dig_table = &dm_odm->DM_DigTable; rtl88eu_dm_hw_ant_div()
286 entry = dm_odm->pODM_StaInfo[i]; rtl88eu_dm_hw_ant_div()
318 if (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) rtl88eu_dm_hw_ant_div()
319 update_tx_ant_88eu(dm_odm, target_ant, i); rtl88eu_dm_hw_ant_div()
328 rtl88eu_dm_update_rx_idle_ant(dm_odm, RxIdleAnt); rtl88eu_dm_hw_ant_div()
334 void rtl88eu_dm_antenna_diversity(struct odm_dm_struct *dm_odm) rtl88eu_dm_antenna_diversity() argument
336 struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable; rtl88eu_dm_antenna_diversity()
337 struct adapter *adapter = dm_odm->Adapter; rtl88eu_dm_antenna_diversity()
339 if (!(dm_odm->SupportAbility & ODM_BB_ANT_DIV)) rtl88eu_dm_antenna_diversity()
341 if (!dm_odm->bLinked) { rtl88eu_dm_antenna_diversity()
342 ODM_RT_TRACE(dm_odm, ODM_COMP_ANT_DIV, ODM_DBG_LOUD, rtl88eu_dm_antenna_diversity()
345 ODM_RT_TRACE(dm_odm, ODM_COMP_ANT_DIV, ODM_DBG_LOUD, rtl88eu_dm_antenna_diversity()
350 if (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) rtl88eu_dm_antenna_diversity()
353 dm_fat_tbl->bBecomeLinked = dm_odm->bLinked; rtl88eu_dm_antenna_diversity()
358 ODM_RT_TRACE(dm_odm, ODM_COMP_ANT_DIV, ODM_DBG_LOUD, rtl88eu_dm_antenna_diversity()
363 if (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) rtl88eu_dm_antenna_diversity()
366 dm_fat_tbl->bBecomeLinked = dm_odm->bLinked; rtl88eu_dm_antenna_diversity()
369 if ((dm_odm->AntDivType == CG_TRX_HW_ANTDIV) || rtl88eu_dm_antenna_diversity()
370 (dm_odm->AntDivType == CGCS_RX_HW_ANTDIV)) rtl88eu_dm_antenna_diversity()
371 rtl88eu_dm_hw_ant_div(dm_odm); rtl88eu_dm_antenna_diversity()
H A DHal8188ERateAdaptive.c95 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 ((NULL == 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 ((NULL == 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 ((NULL == 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 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, ODM_RA_UpdateRateInfo_8188E()
665 if ((NULL == dm_odm) || (macid >= ASSOCIATE_ENTRY_NUM)) 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 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, ODM_RA_SetRSSI_8188E()
681 if ((NULL == dm_odm) || (macid >= ASSOCIATE_ENTRY_NUM)) 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
H A Drtl8188e_dm.c52 struct odm_dm_struct *dm_odm = &(hal_data->odmpriv); Init_ODM_ComInfo_88E() local
56 memset(dm_odm, 0, sizeof(*dm_odm)); Init_ODM_ComInfo_88E()
58 dm_odm->Adapter = Adapter; Init_ODM_ComInfo_88E()
60 ODM_CmnInfoInit(dm_odm, ODM_CMNINFO_PLATFORM, ODM_CE); Init_ODM_ComInfo_88E()
62 ODM_CmnInfoInit(dm_odm, ODM_CMNINFO_IC_TYPE, ODM_RTL8188E); Init_ODM_ComInfo_88E()
67 ODM_CmnInfoInit(dm_odm, ODM_CMNINFO_FAB_VER, fab_ver); Init_ODM_ComInfo_88E()
68 ODM_CmnInfoInit(dm_odm, ODM_CMNINFO_CUT_VER, cut_ver); Init_ODM_ComInfo_88E()
70 ODM_CmnInfoInit(dm_odm, ODM_CMNINFO_MP_TEST_CHIP, IS_NORMAL_CHIP(hal_data->VersionID)); Init_ODM_ComInfo_88E()
72 ODM_CmnInfoInit(dm_odm, ODM_CMNINFO_PATCH_ID, hal_data->CustomerID); Init_ODM_ComInfo_88E()
73 ODM_CmnInfoInit(dm_odm, ODM_CMNINFO_BWIFI_TEST, Adapter->registrypriv.wifi_spec); Init_ODM_ComInfo_88E()
77 ODM_CmnInfoUpdate(dm_odm, ODM_CMNINFO_RF_TYPE, ODM_1T1R); Init_ODM_ComInfo_88E()
79 ODM_CmnInfoUpdate(dm_odm, ODM_CMNINFO_RF_TYPE, ODM_2T2R); Init_ODM_ComInfo_88E()
81 ODM_CmnInfoUpdate(dm_odm, ODM_CMNINFO_RF_TYPE, ODM_1T2R); Init_ODM_ComInfo_88E()
83 ODM_CmnInfoInit(dm_odm, ODM_CMNINFO_RF_ANTENNA_TYPE, hal_data->TRxAntDivType); Init_ODM_ComInfo_88E()
88 ODM_CmnInfoUpdate(dm_odm, ODM_CMNINFO_ABILITY, pdmpriv->InitODMFlag); Init_ODM_ComInfo_88E()
97 struct odm_dm_struct *dm_odm = &(hal_data->odmpriv); Update_ODM_ComInfo_88E() local
119 ODM_CmnInfoUpdate(dm_odm, ODM_CMNINFO_ABILITY, pdmpriv->InitODMFlag); Update_ODM_ComInfo_88E()
121 ODM_CmnInfoHook(dm_odm, ODM_CMNINFO_TX_UNI, &(Adapter->xmitpriv.tx_bytes)); Update_ODM_ComInfo_88E()
122 ODM_CmnInfoHook(dm_odm, ODM_CMNINFO_RX_UNI, &(Adapter->recvpriv.rx_bytes)); Update_ODM_ComInfo_88E()
123 ODM_CmnInfoHook(dm_odm, ODM_CMNINFO_WM_MODE, &(pmlmeext->cur_wireless_mode)); Update_ODM_ComInfo_88E()
124 ODM_CmnInfoHook(dm_odm, ODM_CMNINFO_SEC_CHNL_OFFSET, &(hal_data->nCur40MhzPrimeSC)); Update_ODM_ComInfo_88E()
125 ODM_CmnInfoHook(dm_odm, ODM_CMNINFO_SEC_MODE, &(Adapter->securitypriv.dot11PrivacyAlgrthm)); Update_ODM_ComInfo_88E()
126 ODM_CmnInfoHook(dm_odm, ODM_CMNINFO_BW, &(hal_data->CurrentChannelBW)); Update_ODM_ComInfo_88E()
127 ODM_CmnInfoHook(dm_odm, ODM_CMNINFO_CHNL, &(hal_data->CurrentChannel)); Update_ODM_ComInfo_88E()
128 ODM_CmnInfoHook(dm_odm, ODM_CMNINFO_NET_CLOSED, &(Adapter->net_closed)); Update_ODM_ComInfo_88E()
129 ODM_CmnInfoHook(dm_odm, ODM_CMNINFO_MP_MODE, &(Adapter->registrypriv.mp_mode)); Update_ODM_ComInfo_88E()
130 ODM_CmnInfoHook(dm_odm, ODM_CMNINFO_SCAN, &(pmlmepriv->bScanInProcess)); Update_ODM_ComInfo_88E()
131 ODM_CmnInfoHook(dm_odm, ODM_CMNINFO_POWER_SAVING, &(pwrctrlpriv->bpower_saving)); Update_ODM_ComInfo_88E()
132 ODM_CmnInfoInit(dm_odm, ODM_CMNINFO_RF_ANTENNA_TYPE, hal_data->TRxAntDivType); Update_ODM_ComInfo_88E()
135 ODM_CmnInfoPtrArrayHook(dm_odm, ODM_CMNINFO_STA_STATUS, i, NULL); Update_ODM_ComInfo_88E()
142 struct odm_dm_struct *dm_odm = &(hal_data->odmpriv); rtl8188e_InitHalDm() local
148 ODM_DMInit(dm_odm); rtl8188e_InitHalDm()
225 struct odm_dm_struct *dm_odm = &hal_data->odmpriv; AntDivBeforeLink8188E() local
226 struct sw_ant_switch *dm_swat_tbl = &dm_odm->DM_SWAT_Table; AntDivBeforeLink8188E()
H A Dphy.c384 void rtl88eu_dm_txpower_track_adjust(struct odm_dm_struct *dm_odm, u8 type, rtl88eu_dm_txpower_track_adjust() argument
390 ODM_RT_TRACE(dm_odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, rtl88eu_dm_txpower_track_adjust()
392 dm_odm->BbSwingIdxOfdm, dm_odm->BbSwingFlagOfdm)); rtl88eu_dm_txpower_track_adjust()
394 if (dm_odm->BbSwingIdxOfdm <= dm_odm->BbSwingIdxOfdmBase) { rtl88eu_dm_txpower_track_adjust()
396 pwr_value = dm_odm->BbSwingIdxOfdmBase - rtl88eu_dm_txpower_track_adjust()
397 dm_odm->BbSwingIdxOfdm; rtl88eu_dm_txpower_track_adjust()
400 pwr_value = dm_odm->BbSwingIdxOfdm - rtl88eu_dm_txpower_track_adjust()
401 dm_odm->BbSwingIdxOfdmBase; rtl88eu_dm_txpower_track_adjust()
405 ODM_RT_TRACE(dm_odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, rtl88eu_dm_txpower_track_adjust()
406 ("dm_odm->BbSwingIdxCck = %d dm_odm->BbSwingIdxCckBase = %d\n", rtl88eu_dm_txpower_track_adjust()
407 dm_odm->BbSwingIdxCck, dm_odm->BbSwingIdxCckBase)); rtl88eu_dm_txpower_track_adjust()
409 if (dm_odm->BbSwingIdxCck <= dm_odm->BbSwingIdxCckBase) { rtl88eu_dm_txpower_track_adjust()
411 pwr_value = dm_odm->BbSwingIdxCckBase - rtl88eu_dm_txpower_track_adjust()
412 dm_odm->BbSwingIdxCck; rtl88eu_dm_txpower_track_adjust()
415 pwr_value = dm_odm->BbSwingIdxCck - rtl88eu_dm_txpower_track_adjust()
416 dm_odm->BbSwingIdxCckBase; rtl88eu_dm_txpower_track_adjust()
428 static void dm_txpwr_track_setpwr(struct odm_dm_struct *dm_odm) dm_txpwr_track_setpwr() argument
430 if (dm_odm->BbSwingFlagOfdm || dm_odm->BbSwingFlagCck) { dm_txpwr_track_setpwr()
431 ODM_RT_TRACE(dm_odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, dm_txpwr_track_setpwr()
432 ("dm_txpwr_track_setpwr CH=%d\n", *(dm_odm->pChannel))); dm_txpwr_track_setpwr()
433 phy_set_tx_power_level(dm_odm->Adapter, *(dm_odm->pChannel)); dm_txpwr_track_setpwr()
434 dm_odm->BbSwingFlagOfdm = false; dm_txpwr_track_setpwr()
435 dm_odm->BbSwingFlagCck = false; dm_txpwr_track_setpwr()
464 struct odm_dm_struct *dm_odm = &hal_data->odmpriv; rtl88eu_dm_txpower_tracking_callback_thermalmeter() local
466 dm_txpwr_track_setpwr(dm_odm); rtl88eu_dm_txpower_tracking_callback_thermalmeter()
468 dm_odm->RFCalibrateInfo.TXPowerTrackingCallbackCnt++; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
469 dm_odm->RFCalibrateInfo.bTXPowerTrackingInit = true; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
471 dm_odm->RFCalibrateInfo.RegA24 = 0x090e1317; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
487 dm_odm->BbSwingIdxOfdmBase = (u8)i; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
504 temp_cck = dm_odm->RFCalibrateInfo.RegA24; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
507 if ((dm_odm->RFCalibrateInfo.bCCKinCH14 && rtl88eu_dm_txpower_tracking_callback_thermalmeter()
511 dm_odm->BbSwingIdxCckBase = (u8)i; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
516 if (!dm_odm->RFCalibrateInfo.ThermalValue) { rtl88eu_dm_txpower_tracking_callback_thermalmeter()
517 dm_odm->RFCalibrateInfo.ThermalValue = hal_data->EEPROMThermalMeter; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
518 dm_odm->RFCalibrateInfo.ThermalValue_LCK = thermal_val; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
519 dm_odm->RFCalibrateInfo.ThermalValue_IQK = thermal_val; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
522 dm_odm->RFCalibrateInfo.OFDM_index[i] = ofdm_index_old[i]; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
523 dm_odm->RFCalibrateInfo.CCK_index = cck_index_old; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
527 dm_odm->RFCalibrateInfo.ThermalValue_AVG[dm_odm->RFCalibrateInfo.ThermalValue_AVG_index] = thermal_val; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
528 dm_odm->RFCalibrateInfo.ThermalValue_AVG_index++; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
529 if (dm_odm->RFCalibrateInfo.ThermalValue_AVG_index == AVG_THERMAL_NUM_88E) rtl88eu_dm_txpower_tracking_callback_thermalmeter()
530 dm_odm->RFCalibrateInfo.ThermalValue_AVG_index = 0; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
533 if (dm_odm->RFCalibrateInfo.ThermalValue_AVG[i]) { rtl88eu_dm_txpower_tracking_callback_thermalmeter()
534 thermal_avg += dm_odm->RFCalibrateInfo.ThermalValue_AVG[i]; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
542 if (dm_odm->RFCalibrateInfo.bDoneTxpower && rtl88eu_dm_txpower_tracking_callback_thermalmeter()
543 !dm_odm->RFCalibrateInfo.bReloadtxpowerindex) rtl88eu_dm_txpower_tracking_callback_thermalmeter()
544 delta = abs(thermal_val - dm_odm->RFCalibrateInfo.ThermalValue); rtl88eu_dm_txpower_tracking_callback_thermalmeter()
547 if (dm_odm->RFCalibrateInfo.bReloadtxpowerindex) { rtl88eu_dm_txpower_tracking_callback_thermalmeter()
548 dm_odm->RFCalibrateInfo.bReloadtxpowerindex = false; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
549 dm_odm->RFCalibrateInfo.bDoneTxpower = false; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
553 delta_lck = abs(dm_odm->RFCalibrateInfo.ThermalValue_LCK - thermal_val); rtl88eu_dm_txpower_tracking_callback_thermalmeter()
554 delta_iqk = abs(dm_odm->RFCalibrateInfo.ThermalValue_IQK - thermal_val); rtl88eu_dm_txpower_tracking_callback_thermalmeter()
558 dm_odm->RFCalibrateInfo.ThermalValue_LCK = thermal_val; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
562 if (delta > 0 && dm_odm->RFCalibrateInfo.TxPowerTrackControl) { rtl88eu_dm_txpower_tracking_callback_thermalmeter()
582 ofdm_index[i] = dm_odm->RFCalibrateInfo.OFDM_index[i] + ofdm_index_mapping[j][offset]; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
589 cck_index = dm_odm->RFCalibrateInfo.CCK_index + ofdm_index_mapping[j][offset]; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
597 if (dm_odm->RFCalibrateInfo.TxPowerTrackControl) { rtl88eu_dm_txpower_tracking_callback_thermalmeter()
598 dm_odm->RFCalibrateInfo.bDoneTxpower = true; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
601 dm_odm->BbSwingIdxOfdm = (u8)ofdm_index[0]; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
602 dm_odm->BbSwingIdxCck = (u8)cck_index; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
604 if (dm_odm->BbSwingIdxOfdmCurrent != dm_odm->BbSwingIdxOfdm) { rtl88eu_dm_txpower_tracking_callback_thermalmeter()
605 dm_odm->BbSwingIdxOfdmCurrent = dm_odm->BbSwingIdxOfdm; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
606 dm_odm->BbSwingFlagOfdm = true; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
609 if (dm_odm->BbSwingIdxCckCurrent != dm_odm->BbSwingIdxCck) { rtl88eu_dm_txpower_tracking_callback_thermalmeter()
610 dm_odm->BbSwingIdxCckCurrent = dm_odm->BbSwingIdxCck; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
611 dm_odm->BbSwingFlagCck = true; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
618 dm_odm->RFCalibrateInfo.ThermalValue_IQK = thermal_val; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
622 if (dm_odm->RFCalibrateInfo.TxPowerTrackControl) rtl88eu_dm_txpower_tracking_callback_thermalmeter()
623 dm_odm->RFCalibrateInfo.ThermalValue = thermal_val; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
625 dm_odm->RFCalibrateInfo.TXPowercount = 0; rtl88eu_dm_txpower_tracking_callback_thermalmeter()
668 struct odm_dm_struct *dm_odm = &hal_data->odmpriv; phy_path_a_rx_iqk() local
721 ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, phy_path_a_rx_iqk()
762 ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, phy_path_a_rx_iqk()
773 struct odm_dm_struct *dm_odm = &hal_data->odmpriv; phy_path_b_iqk() local
799 ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, phy_path_b_iqk()
990 struct odm_dm_struct *dm_odm = &hal_data->odmpriv; simularity_compare() local
995 if ((dm_odm->RFType == ODM_2T2R) || (dm_odm->RFType == ODM_2T3R) || simularity_compare()
996 (dm_odm->RFType == ODM_2T4R)) simularity_compare()
1069 struct odm_dm_struct *dm_odm = &hal_data->odmpriv; phy_iq_calibrate() local
1094 if (*(dm_odm->mp_mode) == 1) phy_iq_calibrate()
1102 save_adda_registers(adapt, adda_reg, dm_odm->RFCalibrateInfo.ADDA_backup, phy_iq_calibrate()
1105 dm_odm->RFCalibrateInfo.IQK_MAC_backup); phy_iq_calibrate()
1107 dm_odm->RFCalibrateInfo.IQK_BB_backup, IQK_BB_REG_NUM); phy_iq_calibrate()
1112 dm_odm->RFCalibrateInfo.bRfPiEnable = (u8)phy_query_bb_reg(adapt, rFPGA0_XA_HSSIParameter1, phy_iq_calibrate()
1115 if (!dm_odm->RFCalibrateInfo.bRfPiEnable) { phy_iq_calibrate()
1140 dm_odm->RFCalibrateInfo.IQK_MAC_backup); phy_iq_calibrate()
1174 ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, phy_iq_calibrate()
1180 ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, phy_iq_calibrate()
1211 ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, phy_iq_calibrate()
1220 if (!dm_odm->RFCalibrateInfo.bRfPiEnable) { phy_iq_calibrate()
1228 reload_adda_reg(adapt, adda_reg, dm_odm->RFCalibrateInfo.ADDA_backup, phy_iq_calibrate()
1233 dm_odm->RFCalibrateInfo.IQK_MAC_backup); phy_iq_calibrate()
1235 reload_adda_reg(adapt, iqk_bb_reg_92c, dm_odm->RFCalibrateInfo.IQK_BB_backup, phy_iq_calibrate()
1315 struct odm_dm_struct *dm_odm = &hal_data->odmpriv; rtl88eu_phy_iq_calibrate() local
1331 is2t = (dm_odm->RFType == ODM_2T2R) ? true : false; rtl88eu_phy_iq_calibrate()
1333 if (!(dm_odm->SupportAbility & ODM_RF_CALIBRATION)) rtl88eu_phy_iq_calibrate()
1340 ODM_RT_TRACE(dm_odm, ODM_COMP_INIT, ODM_DBG_LOUD, rtl88eu_phy_iq_calibrate()
1343 dm_odm->RFCalibrateInfo.IQK_BB_backup_recover, 9); rtl88eu_phy_iq_calibrate()
1406 dm_odm->RFCalibrateInfo.RegE94 = reg_e94; rtl88eu_phy_iq_calibrate()
1407 dm_odm->RFCalibrateInfo.RegE9C = reg_e9c; rtl88eu_phy_iq_calibrate()
1408 dm_odm->RFCalibrateInfo.RegEB4 = reg_eb4; rtl88eu_phy_iq_calibrate()
1409 dm_odm->RFCalibrateInfo.RegEBC = reg_ebc; rtl88eu_phy_iq_calibrate()
1415 ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, rtl88eu_phy_iq_calibrate()
1417 dm_odm->RFCalibrateInfo.RegE94 = 0x100; rtl88eu_phy_iq_calibrate()
1418 dm_odm->RFCalibrateInfo.RegEB4 = 0x100; rtl88eu_phy_iq_calibrate()
1419 dm_odm->RFCalibrateInfo.RegE9C = 0x0; rtl88eu_phy_iq_calibrate()
1420 dm_odm->RFCalibrateInfo.RegEBC = 0x0; rtl88eu_phy_iq_calibrate()
1435 dm_odm->RFCalibrateInfo.IQKMatrixRegSetting[chn_index].Value[0][i] = result[final][i]; rtl88eu_phy_iq_calibrate()
1436 dm_odm->RFCalibrateInfo.IQKMatrixRegSetting[chn_index].bIQKDone = true; rtl88eu_phy_iq_calibrate()
1440 dm_odm->RFCalibrateInfo.IQK_BB_backup_recover, 9); rtl88eu_phy_iq_calibrate()
1448 struct odm_dm_struct *dm_odm = &hal_data->odmpriv; rtl88eu_phy_lc_calibrate() local
1450 if (!(dm_odm->SupportAbility & ODM_RF_CALIBRATION)) rtl88eu_phy_lc_calibrate()
1455 while (*(dm_odm->pbScanInProcess) && timecount < timeout) { rtl88eu_phy_lc_calibrate()
1460 dm_odm->RFCalibrateInfo.bLCKInProgress = true; rtl88eu_phy_lc_calibrate()
1462 if (dm_odm->RFType == ODM_2T2R) { rtl88eu_phy_lc_calibrate()
1469 dm_odm->RFCalibrateInfo.bLCKInProgress = false; rtl88eu_phy_lc_calibrate()
H A Dodm_HWConfig.c27 #define READ_AND_CONFIG_MP(ic, txt) (ODM_ReadAndConfig##txt##ic(dm_odm))
28 #define READ_AND_CONFIG_TC(ic, txt) (ODM_ReadAndConfig_TC##txt##ic(dm_odm))
42 static s32 odm_SignalScaleMapping_92CSeries(struct odm_dm_struct *dm_odm, s32 CurrSig) odm_SignalScaleMapping_92CSeries() argument
65 static s32 odm_SignalScaleMapping(struct odm_dm_struct *dm_odm, s32 CurrSig) odm_SignalScaleMapping() argument
67 return odm_SignalScaleMapping_92CSeries(dm_odm, CurrSig); odm_SignalScaleMapping()
90 static void odm_RxPhyStatus92CSeries_Parsing(struct odm_dm_struct *dm_odm, odm_RxPhyStatus92CSeries_Parsing() argument
95 struct sw_ant_switch *pDM_SWAT_Table = &dm_odm->DM_SWAT_Table; odm_RxPhyStatus92CSeries_Parsing()
115 dm_odm->PhyDbgInfo.NumQryPhyStatusCCK++; odm_RxPhyStatus92CSeries_Parsing()
119 cck_highpwr = dm_odm->bCckHighPower; odm_RxPhyStatus92CSeries_Parsing()
180 if (pPhyInfo->RxPWDBAll > 40 && !dm_odm->bInHctTest) { odm_RxPhyStatus92CSeries_Parsing()
197 dm_odm->PhyDbgInfo.NumQryPhyStatusOFDM++; odm_RxPhyStatus92CSeries_Parsing()
203 if (dm_odm->RFPathRxEnable & BIT(i)) odm_RxPhyStatus92CSeries_Parsing()
215 if (dm_odm->BoardType == ODM_BOARD_HIGHPWR) { odm_RxPhyStatus92CSeries_Parsing()
229 dm_odm->PhyDbgInfo.RxSNRdB[i] = (s32)(pPhyStaRpt->path_rxsnr[i]/2); odm_RxPhyStatus92CSeries_Parsing()
264 pPhyInfo->SignalStrength = (u8)(odm_SignalScaleMapping(dm_odm, PWDB_ALL));/* PWDB_ALL; */ odm_RxPhyStatus92CSeries_Parsing()
267 pPhyInfo->SignalStrength = (u8)(odm_SignalScaleMapping(dm_odm, total_rssi /= rf_rx_num)); odm_RxPhyStatus92CSeries_Parsing()
273 dm_odm->DM_FatTable.antsel_rx_keep_0 = pPhyStaRpt->ant_sel; odm_RxPhyStatus92CSeries_Parsing()
274 dm_odm->DM_FatTable.antsel_rx_keep_1 = pPhyStaRpt->ant_sel_b; odm_RxPhyStatus92CSeries_Parsing()
275 dm_odm->DM_FatTable.antsel_rx_keep_2 = pPhyStaRpt->antsel_rx_keep_2; odm_RxPhyStatus92CSeries_Parsing()
278 static void odm_Process_RSSIForDM(struct odm_dm_struct *dm_odm, odm_Process_RSSIForDM() argument
290 struct fast_ant_train *pDM_FatTable = &dm_odm->DM_FatTable; odm_Process_RSSIForDM()
294 pEntry = dm_odm->pODM_StaInfo[pPktinfo->StationID]; odm_Process_RSSIForDM()
304 if (dm_odm->AntDivType == CG_TRX_SMART_ANTDIV) { odm_Process_RSSIForDM()
314 } else if ((dm_odm->AntDivType == CG_TRX_HW_ANTDIV) || (dm_odm->AntDivType == CGCS_RX_HW_ANTDIV)) { odm_Process_RSSIForDM()
318 rtl88eu_dm_ant_sel_statistics(dm_odm, antsel_tr_mux, pPktinfo->StationID, pPhyInfo->RxPWDBAll); odm_Process_RSSIForDM()
414 static void ODM_PhyStatusQuery_92CSeries(struct odm_dm_struct *dm_odm, ODM_PhyStatusQuery_92CSeries() argument
419 odm_RxPhyStatus92CSeries_Parsing(dm_odm, pPhyInfo, pPhyStatus, ODM_PhyStatusQuery_92CSeries()
421 if (dm_odm->RSSI_test) { ODM_PhyStatusQuery_92CSeries()
424 odm_Process_RSSIForDM(dm_odm, pPhyInfo, pPktinfo); ODM_PhyStatusQuery_92CSeries()
428 void ODM_PhyStatusQuery(struct odm_dm_struct *dm_odm, ODM_PhyStatusQuery() argument
432 ODM_PhyStatusQuery_92CSeries(dm_odm, pPhyInfo, pPhyStatus, pPktinfo); ODM_PhyStatusQuery()
/linux-4.1.27/drivers/staging/rtl8188eu/include/
H A DHal8188ERateAdaptive.h51 void ODM_RASupport_Init(struct odm_dm_struct *dm_odm);
53 int ODM_RAInfo_Init_all(struct odm_dm_struct *dm_odm);
55 int ODM_RAInfo_Init(struct odm_dm_struct *dm_odm, u8 MacID);
57 u8 ODM_RA_GetShortGI_8188E(struct odm_dm_struct *dm_odm, u8 MacID);
59 u8 ODM_RA_GetDecisionRate_8188E(struct odm_dm_struct *dm_odm, u8 MacID);
61 u8 ODM_RA_GetHwPwrStatus_8188E(struct odm_dm_struct *dm_odm, u8 MacID);
62 void ODM_RA_UpdateRateInfo_8188E(struct odm_dm_struct *dm_odm, u8 MacID,
66 void ODM_RA_SetRSSI_8188E(struct odm_dm_struct *dm_odm, u8 macid,
69 void ODM_RA_TxRPT2Handle_8188E(struct odm_dm_struct *dm_odm,
73 void ODM_RA_Set_TxRPT_Time(struct odm_dm_struct *dm_odm, u16 minRptTime);
H A Dodm_RTL8188E.h32 void rtl88eu_dm_antenna_div_init(struct odm_dm_struct *dm_odm);
34 void rtl88eu_dm_antenna_diversity(struct odm_dm_struct *dm_odm);
36 void rtl88eu_dm_set_tx_ant_by_tx_info(struct odm_dm_struct *dm_odm, u8 *desc,
39 void rtl88eu_dm_update_rx_idle_ant(struct odm_dm_struct *dm_odm, u8 ant);
41 void rtl88eu_dm_ant_sel_statistics(struct odm_dm_struct *dm_odm, u8 antsel_tr_mux,
H A Dphy.h25 void rtl88eu_dm_txpower_track_adjust(struct odm_dm_struct *dm_odm,

Completed in 128 milliseconds