dm_odm 84 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c static void odm_SetTxRPTTiming_8188E(struct odm_dm_struct *dm_odm, dm_odm 105 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, dm_odm 109 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c static int odm_RateDown_8188E(struct odm_dm_struct *dm_odm, dm_odm 115 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, dm_odm 118 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, dm_odm 126 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 160 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c odm_SetTxRPTTiming_8188E(dm_odm, pRaInfo, 2); dm_odm 161 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, dm_odm 163 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 166 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, dm_odm 168 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 173 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c static int odm_RateUp_8188E(struct odm_dm_struct *dm_odm, dm_odm 179 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, dm_odm 182 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, dm_odm 188 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 198 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c odm_SetTxRPTTiming_8188E(dm_odm, pRaInfo, 0); dm_odm 199 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, dm_odm 225 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, dm_odm 227 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 230 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, dm_odm 246 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c static void odm_RateDecision_8188E(struct odm_dm_struct *dm_odm, dm_odm 253 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 273 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 279 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 290 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 296 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 305 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE | ODM_COMP_INIT, ODM_DBG_LOUD, dm_odm 310 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c odm_RateDown_8188E(dm_odm, pRaInfo); dm_odm 312 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c odm_RateUp_8188E(dm_odm, pRaInfo); dm_odm 323 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c odm_SetTxRPTTiming_8188E(dm_odm, pRaInfo, 1); dm_odm 324 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, dm_odm 333 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 337 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c static int odm_ARFBRefresh_8188E(struct odm_dm_struct *dm_odm, struct odm_ra_info *pRaInfo) dm_odm 339 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c struct adapter *adapt = dm_odm->Adapter; dm_odm 417 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, dm_odm 423 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, dm_odm 518 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c static void odm_RATxRPTTimerSetting(struct odm_dm_struct *dm_odm, dm_odm 521 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 524 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c if (dm_odm->CurrminRptTime != minRptTime) { dm_odm 525 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, dm_odm 526 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c (" CurrminRptTime = 0x%04x minRptTime = 0x%04x\n", dm_odm->CurrminRptTime, minRptTime)); dm_odm 527 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c rtw_rpt_timer_cfg_cmd(dm_odm->Adapter, minRptTime); dm_odm 528 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c dm_odm->CurrminRptTime = minRptTime; dm_odm 530 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 534 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c int ODM_RAInfo_Init(struct odm_dm_struct *dm_odm, u8 macid) dm_odm 536 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c struct odm_ra_info *pRaInfo = &dm_odm->RAInfo[macid]; dm_odm 540 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c if (dm_odm->pWirelessMode) dm_odm 541 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c WirelessMode = *dm_odm->pWirelessMode; dm_odm 552 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, dm_odm 592 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c int ODM_RAInfo_Init_all(struct odm_dm_struct *dm_odm) dm_odm 596 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, ("=====>\n")); dm_odm 597 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c dm_odm->CurrminRptTime = 0; dm_odm 600 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RAInfo_Init(dm_odm, macid); dm_odm 605 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c u8 ODM_RA_GetShortGI_8188E(struct odm_dm_struct *dm_odm, u8 macid) dm_odm 607 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c if ((!dm_odm) || (macid >= ASSOCIATE_ENTRY_NUM)) dm_odm 609 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 610 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ("macid =%d SGI =%d\n", macid, dm_odm->RAInfo[macid].RateSGI)); dm_odm 611 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c return dm_odm->RAInfo[macid].RateSGI; dm_odm 614 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c u8 ODM_RA_GetDecisionRate_8188E(struct odm_dm_struct *dm_odm, u8 macid) dm_odm 618 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c if ((!dm_odm) || (macid >= ASSOCIATE_ENTRY_NUM)) dm_odm 620 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c DecisionRate = dm_odm->RAInfo[macid].DecisionRate; dm_odm 621 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 626 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c u8 ODM_RA_GetHwPwrStatus_8188E(struct odm_dm_struct *dm_odm, u8 macid) dm_odm 630 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c if ((!dm_odm) || (macid >= ASSOCIATE_ENTRY_NUM)) dm_odm 632 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c PTStage = dm_odm->RAInfo[macid].PTStage; dm_odm 633 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 638 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c void ODM_RA_UpdateRateInfo_8188E(struct odm_dm_struct *dm_odm, u8 macid, u8 RateID, u32 RateMask, u8 SGIEnable) dm_odm 642 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c if ((!dm_odm) || (macid >= ASSOCIATE_ENTRY_NUM)) dm_odm 644 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, dm_odm 648 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c pRaInfo = &dm_odm->RAInfo[macid]; dm_odm 652 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c odm_ARFBRefresh_8188E(dm_odm, pRaInfo); dm_odm 655 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c void ODM_RA_SetRSSI_8188E(struct odm_dm_struct *dm_odm, u8 macid, u8 Rssi) dm_odm 659 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c if ((!dm_odm) || (macid >= ASSOCIATE_ENTRY_NUM)) dm_odm 661 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, dm_odm 664 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c pRaInfo = &dm_odm->RAInfo[macid]; dm_odm 668 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c void ODM_RA_Set_TxRPT_Time(struct odm_dm_struct *dm_odm, u16 minRptTime) dm_odm 670 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c struct adapter *adapt = dm_odm->Adapter; dm_odm 675 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c void ODM_RA_TxRPT2Handle_8188E(struct odm_dm_struct *dm_odm, u8 *TxRPT_Buf, u16 TxRPT_Len, u32 macid_entry0, u32 macid_entry1) dm_odm 683 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, dm_odm 698 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c pRAInfo = &dm_odm->RAInfo[MacId]; dm_odm 710 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, dm_odm 719 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c odm_RateDecision_8188E(dm_odm, pRAInfo); dm_odm 731 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c odm_RateDecision_8188E(dm_odm, pRAInfo); dm_odm 733 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_INIT, ODM_DBG_LOUD, dm_odm 746 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, (" TOTAL = 0!!!!\n")); dm_odm 757 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c odm_RATxRPTTimerSetting(dm_odm, minRptTime); dm_odm 759 drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, dm_odm 14 drivers/staging/rtl8188eu/hal/odm_hwconfig.c #define READ_AND_CONFIG_MP(ic, txt) (ODM_ReadAndConfig##txt##ic(dm_odm)) dm_odm 15 drivers/staging/rtl8188eu/hal/odm_hwconfig.c #define READ_AND_CONFIG_TC(ic, txt) (ODM_ReadAndConfig_TC##txt##ic(dm_odm)) dm_odm 29 drivers/staging/rtl8188eu/hal/odm_hwconfig.c static s32 odm_signal_scale_mapping(struct odm_dm_struct *dm_odm, s32 currsig) dm_odm 64 drivers/staging/rtl8188eu/hal/odm_hwconfig.c static void odm_RxPhyStatus92CSeries_Parsing(struct odm_dm_struct *dm_odm, dm_odm 69 drivers/staging/rtl8188eu/hal/odm_hwconfig.c struct sw_ant_switch *pDM_SWAT_Table = &dm_odm->DM_SWAT_Table; dm_odm 90 drivers/staging/rtl8188eu/hal/odm_hwconfig.c dm_odm->PhyDbgInfo.NumQryPhyStatusCCK++; dm_odm 94 drivers/staging/rtl8188eu/hal/odm_hwconfig.c cck_highpwr = dm_odm->bCckHighPower; dm_odm 155 drivers/staging/rtl8188eu/hal/odm_hwconfig.c if (pPhyInfo->RxPWDBAll > 40 && !dm_odm->bInHctTest) { dm_odm 172 drivers/staging/rtl8188eu/hal/odm_hwconfig.c dm_odm->PhyDbgInfo.NumQryPhyStatusOFDM++; dm_odm 178 drivers/staging/rtl8188eu/hal/odm_hwconfig.c if (dm_odm->RFPathRxEnable & BIT(i)) dm_odm 190 drivers/staging/rtl8188eu/hal/odm_hwconfig.c if (dm_odm->BoardType == ODM_BOARD_HIGHPWR) { dm_odm 204 drivers/staging/rtl8188eu/hal/odm_hwconfig.c dm_odm->PhyDbgInfo.RxSNRdB[i] = (s32)(pPhyStaRpt->path_rxsnr[i]/2); dm_odm 239 drivers/staging/rtl8188eu/hal/odm_hwconfig.c pPhyInfo->SignalStrength = (u8)(odm_signal_scale_mapping(dm_odm, PWDB_ALL));/* PWDB_ALL; */ dm_odm 242 drivers/staging/rtl8188eu/hal/odm_hwconfig.c pPhyInfo->SignalStrength = (u8)(odm_signal_scale_mapping(dm_odm, total_rssi /= rf_rx_num)); dm_odm 248 drivers/staging/rtl8188eu/hal/odm_hwconfig.c dm_odm->DM_FatTable.antsel_rx_keep_0 = pPhyStaRpt->ant_sel; dm_odm 249 drivers/staging/rtl8188eu/hal/odm_hwconfig.c dm_odm->DM_FatTable.antsel_rx_keep_1 = pPhyStaRpt->ant_sel_b; dm_odm 250 drivers/staging/rtl8188eu/hal/odm_hwconfig.c dm_odm->DM_FatTable.antsel_rx_keep_2 = pPhyStaRpt->antsel_rx_keep_2; dm_odm 253 drivers/staging/rtl8188eu/hal/odm_hwconfig.c static void odm_Process_RSSIForDM(struct odm_dm_struct *dm_odm, dm_odm 265 drivers/staging/rtl8188eu/hal/odm_hwconfig.c struct fast_ant_train *pDM_FatTable = &dm_odm->DM_FatTable; dm_odm 269 drivers/staging/rtl8188eu/hal/odm_hwconfig.c pEntry = dm_odm->pODM_StaInfo[pPktinfo->StationID]; dm_odm 280 drivers/staging/rtl8188eu/hal/odm_hwconfig.c if (dm_odm->AntDivType == CG_TRX_SMART_ANTDIV) { dm_odm 290 drivers/staging/rtl8188eu/hal/odm_hwconfig.c } else if ((dm_odm->AntDivType == CG_TRX_HW_ANTDIV) || (dm_odm->AntDivType == CGCS_RX_HW_ANTDIV)) { dm_odm 294 drivers/staging/rtl8188eu/hal/odm_hwconfig.c rtl88eu_dm_ant_sel_statistics(dm_odm, antsel_tr_mux, pPktinfo->StationID, pPhyInfo->RxPWDBAll); dm_odm 390 drivers/staging/rtl8188eu/hal/odm_hwconfig.c void ODM_PhyStatusQuery(struct odm_dm_struct *dm_odm, dm_odm 394 drivers/staging/rtl8188eu/hal/odm_hwconfig.c odm_RxPhyStatus92CSeries_Parsing(dm_odm, pPhyInfo, pPhyStatus, dm_odm 396 drivers/staging/rtl8188eu/hal/odm_hwconfig.c if (dm_odm->RSSI_test) dm_odm 399 drivers/staging/rtl8188eu/hal/odm_hwconfig.c odm_Process_RSSIForDM(dm_odm, pPhyInfo, pPktinfo); dm_odm 11 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c static void dm_rx_hw_antena_div_init(struct odm_dm_struct *dm_odm) dm_odm 13 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c struct adapter *adapter = dm_odm->Adapter; dm_odm 16 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if (*dm_odm->mp_mode == 1) { dm_odm 17 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c dm_odm->AntDivType = CGCS_RX_SW_ANTDIV; dm_odm 38 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c rtl88eu_dm_update_rx_idle_ant(dm_odm, MAIN_ANT); dm_odm 42 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c static void dm_trx_hw_antenna_div_init(struct odm_dm_struct *dm_odm) dm_odm 44 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c struct adapter *adapter = dm_odm->Adapter; dm_odm 47 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if (*dm_odm->mp_mode == 1) { dm_odm 48 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c dm_odm->AntDivType = CGCS_RX_SW_ANTDIV; dm_odm 72 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c rtl88eu_dm_update_rx_idle_ant(dm_odm, MAIN_ANT); dm_odm 75 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if (!dm_odm->bIsMPChip) { /* testchip */ dm_odm 86 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c static void dm_fast_training_init(struct odm_dm_struct *dm_odm) dm_odm 88 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c struct adapter *adapter = dm_odm->Adapter; dm_odm 90 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable; dm_odm 92 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if (*dm_odm->mp_mode == 1) dm_odm 123 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if (!dm_odm->bIsMPChip) { /* testchip */ dm_odm 141 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c void rtl88eu_dm_antenna_div_init(struct odm_dm_struct *dm_odm) dm_odm 143 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if (dm_odm->AntDivType == CGCS_RX_HW_ANTDIV) dm_odm 144 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c dm_rx_hw_antena_div_init(dm_odm); dm_odm 145 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c else if (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) dm_odm 146 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c dm_trx_hw_antenna_div_init(dm_odm); dm_odm 147 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c else if (dm_odm->AntDivType == CG_TRX_SMART_ANTDIV) dm_odm 148 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c dm_fast_training_init(dm_odm); dm_odm 151 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c void rtl88eu_dm_update_rx_idle_ant(struct odm_dm_struct *dm_odm, u8 ant) dm_odm 153 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable; dm_odm 154 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c struct adapter *adapter = dm_odm->Adapter; dm_odm 159 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c default_ant = (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) ? dm_odm 161 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c optional_ant = (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) ? dm_odm 164 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c default_ant = (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) ? dm_odm 166 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c optional_ant = (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) ? dm_odm 170 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) { dm_odm 179 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c } else if (dm_odm->AntDivType == CGCS_RX_HW_ANTDIV) { dm_odm 189 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c static void update_tx_ant_88eu(struct odm_dm_struct *dm_odm, u8 ant, u32 mac_id) dm_odm 191 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable; dm_odm 203 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c void rtl88eu_dm_set_tx_ant_by_tx_info(struct odm_dm_struct *dm_odm, dm_odm 206 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable; dm_odm 208 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if ((dm_odm->AntDivType == CG_TRX_HW_ANTDIV) || dm_odm 209 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c (dm_odm->AntDivType == CG_TRX_SMART_ANTDIV)) { dm_odm 216 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c void rtl88eu_dm_ant_sel_statistics(struct odm_dm_struct *dm_odm, dm_odm 219 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable; dm_odm 221 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) { dm_odm 229 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c } else if (dm_odm->AntDivType == CGCS_RX_HW_ANTDIV) { dm_odm 240 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c static void rtl88eu_dm_hw_ant_div(struct odm_dm_struct *dm_odm) dm_odm 242 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable; dm_odm 243 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c struct rtw_dig *dig_table = &dm_odm->DM_DigTable; dm_odm 251 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c entry = dm_odm->pODM_StaInfo[i]; dm_odm 283 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) dm_odm 284 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c update_tx_ant_88eu(dm_odm, target_ant, i); dm_odm 293 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c rtl88eu_dm_update_rx_idle_ant(dm_odm, RxIdleAnt); dm_odm 299 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c void rtl88eu_dm_antenna_diversity(struct odm_dm_struct *dm_odm) dm_odm 301 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable; dm_odm 302 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c struct adapter *adapter = dm_odm->Adapter; dm_odm 304 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if (!(dm_odm->SupportAbility & ODM_BB_ANT_DIV)) dm_odm 306 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if (!dm_odm->bLinked) { dm_odm 307 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c ODM_RT_TRACE(dm_odm, ODM_COMP_ANT_DIV, ODM_DBG_LOUD, dm_odm 310 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c ODM_RT_TRACE(dm_odm, ODM_COMP_ANT_DIV, ODM_DBG_LOUD, dm_odm 315 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) dm_odm 318 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c dm_fat_tbl->bBecomeLinked = dm_odm->bLinked; dm_odm 323 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c ODM_RT_TRACE(dm_odm, ODM_COMP_ANT_DIV, ODM_DBG_LOUD, dm_odm 328 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) dm_odm 331 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c dm_fat_tbl->bBecomeLinked = dm_odm->bLinked; dm_odm 334 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c if ((dm_odm->AntDivType == CG_TRX_HW_ANTDIV) || dm_odm 335 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c (dm_odm->AntDivType == CGCS_RX_HW_ANTDIV)) dm_odm 336 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c rtl88eu_dm_hw_ant_div(dm_odm); dm_odm 301 drivers/staging/rtl8188eu/hal/phy.c void rtl88eu_dm_txpower_track_adjust(struct odm_dm_struct *dm_odm, u8 type, dm_odm 307 drivers/staging/rtl8188eu/hal/phy.c ODM_RT_TRACE(dm_odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, dm_odm 309 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingIdxOfdm, dm_odm->BbSwingFlagOfdm)); dm_odm 311 drivers/staging/rtl8188eu/hal/phy.c if (dm_odm->BbSwingIdxOfdm <= dm_odm->BbSwingIdxOfdmBase) { dm_odm 313 drivers/staging/rtl8188eu/hal/phy.c pwr_value = dm_odm->BbSwingIdxOfdmBase - dm_odm 314 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingIdxOfdm; dm_odm 317 drivers/staging/rtl8188eu/hal/phy.c pwr_value = dm_odm->BbSwingIdxOfdm - dm_odm 318 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingIdxOfdmBase; dm_odm 322 drivers/staging/rtl8188eu/hal/phy.c ODM_RT_TRACE(dm_odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, dm_odm 324 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingIdxCck, dm_odm->BbSwingIdxCckBase)); dm_odm 326 drivers/staging/rtl8188eu/hal/phy.c if (dm_odm->BbSwingIdxCck <= dm_odm->BbSwingIdxCckBase) { dm_odm 328 drivers/staging/rtl8188eu/hal/phy.c pwr_value = dm_odm->BbSwingIdxCckBase - dm_odm 329 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingIdxCck; dm_odm 332 drivers/staging/rtl8188eu/hal/phy.c pwr_value = dm_odm->BbSwingIdxCck - dm_odm 333 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingIdxCckBase; dm_odm 344 drivers/staging/rtl8188eu/hal/phy.c static void dm_txpwr_track_setpwr(struct odm_dm_struct *dm_odm) dm_odm 346 drivers/staging/rtl8188eu/hal/phy.c if (dm_odm->BbSwingFlagOfdm || dm_odm->BbSwingFlagCck) { dm_odm 347 drivers/staging/rtl8188eu/hal/phy.c ODM_RT_TRACE(dm_odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, dm_odm 348 drivers/staging/rtl8188eu/hal/phy.c ("dm_txpwr_track_setpwr CH=%d\n", *(dm_odm->pChannel))); dm_odm 349 drivers/staging/rtl8188eu/hal/phy.c phy_set_tx_power_level(dm_odm->Adapter, *(dm_odm->pChannel)); dm_odm 350 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingFlagOfdm = false; dm_odm 351 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingFlagCck = false; dm_odm 379 drivers/staging/rtl8188eu/hal/phy.c struct odm_dm_struct *dm_odm = &hal_data->odmpriv; dm_odm 381 drivers/staging/rtl8188eu/hal/phy.c dm_txpwr_track_setpwr(dm_odm); dm_odm 383 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.TXPowerTrackingCallbackCnt++; dm_odm 385 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.RegA24 = 0x090e1317; dm_odm 396 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingIdxOfdmBase = (u8)i; dm_odm 402 drivers/staging/rtl8188eu/hal/phy.c temp_cck = dm_odm->RFCalibrateInfo.RegA24; dm_odm 405 drivers/staging/rtl8188eu/hal/phy.c if ((dm_odm->RFCalibrateInfo.bCCKinCH14 && dm_odm 409 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingIdxCckBase = (u8)i; dm_odm 414 drivers/staging/rtl8188eu/hal/phy.c if (!dm_odm->RFCalibrateInfo.ThermalValue) { dm_odm 415 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.ThermalValue = hal_data->EEPROMThermalMeter; dm_odm 416 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.ThermalValue_LCK = thermal_val; dm_odm 417 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.ThermalValue_IQK = thermal_val; dm_odm 419 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.OFDM_index[0] = ofdm_index_old[0]; dm_odm 420 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.CCK_index = cck_index_old; dm_odm 424 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.ThermalValue_AVG[dm_odm->RFCalibrateInfo.ThermalValue_AVG_index] = thermal_val; dm_odm 425 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.ThermalValue_AVG_index++; dm_odm 426 drivers/staging/rtl8188eu/hal/phy.c if (dm_odm->RFCalibrateInfo.ThermalValue_AVG_index == AVG_THERMAL_NUM_88E) dm_odm 427 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.ThermalValue_AVG_index = 0; dm_odm 430 drivers/staging/rtl8188eu/hal/phy.c if (dm_odm->RFCalibrateInfo.ThermalValue_AVG[i]) { dm_odm 431 drivers/staging/rtl8188eu/hal/phy.c thermal_avg += dm_odm->RFCalibrateInfo.ThermalValue_AVG[i]; dm_odm 439 drivers/staging/rtl8188eu/hal/phy.c if (dm_odm->RFCalibrateInfo.bDoneTxpower && dm_odm 440 drivers/staging/rtl8188eu/hal/phy.c !dm_odm->RFCalibrateInfo.bReloadtxpowerindex) { dm_odm 441 drivers/staging/rtl8188eu/hal/phy.c delta = abs(thermal_val - dm_odm->RFCalibrateInfo.ThermalValue); dm_odm 444 drivers/staging/rtl8188eu/hal/phy.c if (dm_odm->RFCalibrateInfo.bReloadtxpowerindex) { dm_odm 445 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.bReloadtxpowerindex = false; dm_odm 446 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.bDoneTxpower = false; dm_odm 450 drivers/staging/rtl8188eu/hal/phy.c delta_lck = abs(dm_odm->RFCalibrateInfo.ThermalValue_LCK - thermal_val); dm_odm 451 drivers/staging/rtl8188eu/hal/phy.c delta_iqk = abs(dm_odm->RFCalibrateInfo.ThermalValue_IQK - thermal_val); dm_odm 455 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.ThermalValue_LCK = thermal_val; dm_odm 459 drivers/staging/rtl8188eu/hal/phy.c if (delta > 0 && dm_odm->RFCalibrateInfo.TxPowerTrackControl) { dm_odm 478 drivers/staging/rtl8188eu/hal/phy.c ofdm_index[0] = dm_odm->RFCalibrateInfo.OFDM_index[0] + ofdm_index_mapping[j][offset]; dm_odm 484 drivers/staging/rtl8188eu/hal/phy.c cck_index = dm_odm->RFCalibrateInfo.CCK_index + ofdm_index_mapping[j][offset]; dm_odm 492 drivers/staging/rtl8188eu/hal/phy.c if (dm_odm->RFCalibrateInfo.TxPowerTrackControl) { dm_odm 493 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.bDoneTxpower = true; dm_odm 496 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingIdxOfdm = (u8)ofdm_index[0]; dm_odm 497 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingIdxCck = (u8)cck_index; dm_odm 499 drivers/staging/rtl8188eu/hal/phy.c if (dm_odm->BbSwingIdxOfdmCurrent != dm_odm->BbSwingIdxOfdm) { dm_odm 500 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingIdxOfdmCurrent = dm_odm->BbSwingIdxOfdm; dm_odm 501 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingFlagOfdm = true; dm_odm 504 drivers/staging/rtl8188eu/hal/phy.c if (dm_odm->BbSwingIdxCckCurrent != dm_odm->BbSwingIdxCck) { dm_odm 505 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingIdxCckCurrent = dm_odm->BbSwingIdxCck; dm_odm 506 drivers/staging/rtl8188eu/hal/phy.c dm_odm->BbSwingFlagCck = true; dm_odm 513 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.ThermalValue_IQK = thermal_val; dm_odm 517 drivers/staging/rtl8188eu/hal/phy.c if (dm_odm->RFCalibrateInfo.TxPowerTrackControl) dm_odm 518 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.ThermalValue = thermal_val; dm_odm 520 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.TXPowercount = 0; dm_odm 561 drivers/staging/rtl8188eu/hal/phy.c struct odm_dm_struct *dm_odm = &adapt->HalData->odmpriv; dm_odm 614 drivers/staging/rtl8188eu/hal/phy.c ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, dm_odm 655 drivers/staging/rtl8188eu/hal/phy.c ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, dm_odm 665 drivers/staging/rtl8188eu/hal/phy.c struct odm_dm_struct *dm_odm = &adapt->HalData->odmpriv; dm_odm 691 drivers/staging/rtl8188eu/hal/phy.c ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, dm_odm 952 drivers/staging/rtl8188eu/hal/phy.c struct odm_dm_struct *dm_odm = &adapt->HalData->odmpriv; dm_odm 978 drivers/staging/rtl8188eu/hal/phy.c if (*(dm_odm->mp_mode) == 1) dm_odm 985 drivers/staging/rtl8188eu/hal/phy.c save_adda_registers(adapt, adda_reg, dm_odm->RFCalibrateInfo.ADDA_backup, dm_odm 988 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.IQK_MAC_backup); dm_odm 990 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.IQK_BB_backup, IQK_BB_REG_NUM); dm_odm 995 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.bRfPiEnable = (u8)phy_query_bb_reg(adapt, rFPGA0_XA_HSSIParameter1, dm_odm 998 drivers/staging/rtl8188eu/hal/phy.c if (!dm_odm->RFCalibrateInfo.bRfPiEnable) { dm_odm 1023 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.IQK_MAC_backup); dm_odm 1057 drivers/staging/rtl8188eu/hal/phy.c ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, dm_odm 1063 drivers/staging/rtl8188eu/hal/phy.c ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, dm_odm 1094 drivers/staging/rtl8188eu/hal/phy.c ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, dm_odm 1103 drivers/staging/rtl8188eu/hal/phy.c if (!dm_odm->RFCalibrateInfo.bRfPiEnable) { dm_odm 1111 drivers/staging/rtl8188eu/hal/phy.c reload_adda_reg(adapt, adda_reg, dm_odm->RFCalibrateInfo.ADDA_backup, dm_odm 1116 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.IQK_MAC_backup); dm_odm 1118 drivers/staging/rtl8188eu/hal/phy.c reload_adda_reg(adapt, iqk_bb_reg_92c, dm_odm->RFCalibrateInfo.IQK_BB_backup, dm_odm 1197 drivers/staging/rtl8188eu/hal/phy.c struct odm_dm_struct *dm_odm = &adapt->HalData->odmpriv; dm_odm 1214 drivers/staging/rtl8188eu/hal/phy.c if (!(dm_odm->SupportAbility & ODM_RF_CALIBRATION)) dm_odm 1221 drivers/staging/rtl8188eu/hal/phy.c ODM_RT_TRACE(dm_odm, ODM_COMP_INIT, ODM_DBG_LOUD, dm_odm 1224 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.IQK_BB_backup_recover, 9); dm_odm 1279 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.RegE94 = reg_e94; dm_odm 1280 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.RegE9C = reg_e9c; dm_odm 1281 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.RegEB4 = reg_eb4; dm_odm 1282 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.RegEBC = reg_ebc; dm_odm 1287 drivers/staging/rtl8188eu/hal/phy.c ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, dm_odm 1289 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.RegE94 = 0x100; dm_odm 1290 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.RegEB4 = 0x100; dm_odm 1291 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.RegE9C = 0x0; dm_odm 1292 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.RegEBC = 0x0; dm_odm 1305 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.IQKMatrixRegSetting[0].Value[0][i] = result[final][i]; dm_odm 1306 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.IQKMatrixRegSetting[0].bIQKDone = true; dm_odm 1310 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.IQK_BB_backup_recover, 9); dm_odm 1317 drivers/staging/rtl8188eu/hal/phy.c struct odm_dm_struct *dm_odm = &adapt->HalData->odmpriv; dm_odm 1319 drivers/staging/rtl8188eu/hal/phy.c if (!(dm_odm->SupportAbility & ODM_RF_CALIBRATION)) dm_odm 1324 drivers/staging/rtl8188eu/hal/phy.c while (*(dm_odm->pbScanInProcess) && timecount < timeout) { dm_odm 1329 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.bLCKInProgress = true; dm_odm 1333 drivers/staging/rtl8188eu/hal/phy.c dm_odm->RFCalibrateInfo.bLCKInProgress = false; dm_odm 39 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c struct odm_dm_struct *dm_odm = &(hal_data->odmpriv); dm_odm 42 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c memset(dm_odm, 0, sizeof(*dm_odm)); dm_odm 44 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->Adapter = Adapter; dm_odm 45 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->SupportPlatform = ODM_CE; dm_odm 46 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->SupportICType = ODM_RTL8188E; dm_odm 47 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->CutVersion = ODM_CUT_A; dm_odm 48 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->bIsMPChip = hal_data->VersionID.ChipType == NORMAL_CHIP; dm_odm 49 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->PatchID = hal_data->CustomerID; dm_odm 50 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->bWIFITest = Adapter->registrypriv.wifi_spec; dm_odm 52 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->AntDivType = hal_data->TRxAntDivType; dm_odm 56 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->BbSwingIdxOfdm = 12; /* Set defalut value as index 12. */ dm_odm 57 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->BbSwingIdxOfdmCurrent = 12; dm_odm 58 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->BbSwingFlagOfdm = false; dm_odm 63 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->SupportAbility = pdmpriv->InitODMFlag; dm_odm 72 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c struct odm_dm_struct *dm_odm = &(hal_data->odmpriv); dm_odm 94 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->SupportAbility = pdmpriv->InitODMFlag; dm_odm 96 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->pNumTxBytesUnicast = &Adapter->xmitpriv.tx_bytes; dm_odm 97 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->pNumRxBytesUnicast = &Adapter->recvpriv.rx_bytes; dm_odm 98 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->pWirelessMode = &pmlmeext->cur_wireless_mode; dm_odm 99 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->pSecChOffset = &hal_data->nCur40MhzPrimeSC; dm_odm 100 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->pSecurity = (u8 *)&Adapter->securitypriv.dot11PrivacyAlgrthm; dm_odm 101 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->pBandWidth = (u8 *)&hal_data->CurrentChannelBW; dm_odm 102 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->pChannel = &hal_data->CurrentChannel; dm_odm 103 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->pbNet_closed = (bool *)&Adapter->net_closed; dm_odm 104 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->mp_mode = &Adapter->registrypriv.mp_mode; dm_odm 105 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->pbScanInProcess = (bool *)&pmlmepriv->bScanInProcess; dm_odm 106 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->pbPowerSaving = (bool *)&pwrctrlpriv->bpower_saving; dm_odm 107 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->AntDivType = hal_data->TRxAntDivType; dm_odm 111 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->BbSwingIdxOfdm = 12; /* Set defalut value as index 12. */ dm_odm 112 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->BbSwingIdxOfdmCurrent = 12; dm_odm 113 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c dm_odm->BbSwingFlagOfdm = false; dm_odm 116 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c ODM_CmnInfoPtrArrayHook(dm_odm, ODM_CMNINFO_STA_STATUS, i, NULL); dm_odm 122 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c struct odm_dm_struct *dm_odm = &(Adapter->HalData->odmpriv); dm_odm 128 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c ODM_DMInit(dm_odm); dm_odm 189 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c struct odm_dm_struct *dm_odm = &Adapter->HalData->odmpriv; dm_odm 190 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c struct sw_ant_switch *dm_swat_tbl = &dm_odm->DM_SWAT_Table; dm_odm 52 drivers/staging/rtl8188eu/include/hal8188e_rate_adaptive.h int ODM_RAInfo_Init_all(struct odm_dm_struct *dm_odm); dm_odm 54 drivers/staging/rtl8188eu/include/hal8188e_rate_adaptive.h int ODM_RAInfo_Init(struct odm_dm_struct *dm_odm, u8 MacID); dm_odm 56 drivers/staging/rtl8188eu/include/hal8188e_rate_adaptive.h u8 ODM_RA_GetShortGI_8188E(struct odm_dm_struct *dm_odm, u8 MacID); dm_odm 58 drivers/staging/rtl8188eu/include/hal8188e_rate_adaptive.h u8 ODM_RA_GetDecisionRate_8188E(struct odm_dm_struct *dm_odm, u8 MacID); dm_odm 60 drivers/staging/rtl8188eu/include/hal8188e_rate_adaptive.h u8 ODM_RA_GetHwPwrStatus_8188E(struct odm_dm_struct *dm_odm, u8 MacID); dm_odm 61 drivers/staging/rtl8188eu/include/hal8188e_rate_adaptive.h void ODM_RA_UpdateRateInfo_8188E(struct odm_dm_struct *dm_odm, u8 MacID, dm_odm 65 drivers/staging/rtl8188eu/include/hal8188e_rate_adaptive.h void ODM_RA_SetRSSI_8188E(struct odm_dm_struct *dm_odm, u8 macid, dm_odm 68 drivers/staging/rtl8188eu/include/hal8188e_rate_adaptive.h void ODM_RA_TxRPT2Handle_8188E(struct odm_dm_struct *dm_odm, dm_odm 72 drivers/staging/rtl8188eu/include/hal8188e_rate_adaptive.h void ODM_RA_Set_TxRPT_Time(struct odm_dm_struct *dm_odm, u16 minRptTime); dm_odm 19 drivers/staging/rtl8188eu/include/odm_rtl8188e.h void rtl88eu_dm_antenna_div_init(struct odm_dm_struct *dm_odm); dm_odm 21 drivers/staging/rtl8188eu/include/odm_rtl8188e.h void rtl88eu_dm_antenna_diversity(struct odm_dm_struct *dm_odm); dm_odm 23 drivers/staging/rtl8188eu/include/odm_rtl8188e.h void rtl88eu_dm_set_tx_ant_by_tx_info(struct odm_dm_struct *dm_odm, u8 *desc, dm_odm 26 drivers/staging/rtl8188eu/include/odm_rtl8188e.h void rtl88eu_dm_update_rx_idle_ant(struct odm_dm_struct *dm_odm, u8 ant); dm_odm 28 drivers/staging/rtl8188eu/include/odm_rtl8188e.h void rtl88eu_dm_ant_sel_statistics(struct odm_dm_struct *dm_odm, u8 antsel_tr_mux, dm_odm 21 drivers/staging/rtl8188eu/include/phy.h void rtl88eu_dm_txpower_track_adjust(struct odm_dm_struct *dm_odm,