/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | odm_rtl8188e.c | 11 static void dm_rx_hw_antena_div_init(struct odm_dm_struct *dm_odm) in dm_rx_hw_antena_div_init() argument 13 struct adapter *adapter = dm_odm->Adapter; in dm_rx_hw_antena_div_init() 16 if (*(dm_odm->mp_mode) == 1) { in dm_rx_hw_antena_div_init() 17 dm_odm->AntDivType = CGCS_RX_SW_ANTDIV; in dm_rx_hw_antena_div_init() 38 rtl88eu_dm_update_rx_idle_ant(dm_odm, MAIN_ANT); in dm_rx_hw_antena_div_init() 42 static void dm_trx_hw_antenna_div_init(struct odm_dm_struct *dm_odm) in dm_trx_hw_antenna_div_init() argument 44 struct adapter *adapter = dm_odm->Adapter; in dm_trx_hw_antenna_div_init() 47 if (*(dm_odm->mp_mode) == 1) { in dm_trx_hw_antenna_div_init() 48 dm_odm->AntDivType = CGCS_RX_SW_ANTDIV; in dm_trx_hw_antenna_div_init() 72 rtl88eu_dm_update_rx_idle_ant(dm_odm, MAIN_ANT); in dm_trx_hw_antenna_div_init() [all …]
|
D | rtl8188e_dm.c | 39 struct odm_dm_struct *dm_odm = &(hal_data->odmpriv); in Init_ODM_ComInfo_88E() local 42 memset(dm_odm, 0, sizeof(*dm_odm)); in Init_ODM_ComInfo_88E() 44 dm_odm->Adapter = Adapter; in Init_ODM_ComInfo_88E() 45 dm_odm->SupportPlatform = ODM_CE; in Init_ODM_ComInfo_88E() 46 dm_odm->SupportICType = ODM_RTL8188E; in Init_ODM_ComInfo_88E() 47 dm_odm->CutVersion = ODM_CUT_A; in Init_ODM_ComInfo_88E() 48 dm_odm->bIsMPChip = hal_data->VersionID.ChipType == NORMAL_CHIP; in Init_ODM_ComInfo_88E() 49 dm_odm->PatchID = hal_data->CustomerID; in Init_ODM_ComInfo_88E() 50 dm_odm->bWIFITest = Adapter->registrypriv.wifi_spec; in Init_ODM_ComInfo_88E() 52 dm_odm->AntDivType = hal_data->TRxAntDivType; in Init_ODM_ComInfo_88E() [all …]
|
D | hal8188e_rate_adaptive.c | 96 struct odm_dm_struct *dm_odm, in odm_SetTxRPTTiming_8188E() argument 119 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, in odm_SetTxRPTTiming_8188E() 123 static int odm_RateDown_8188E(struct odm_dm_struct *dm_odm, in odm_RateDown_8188E() argument 129 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, in odm_RateDown_8188E() 132 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, in odm_RateDown_8188E() 140 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, in odm_RateDown_8188E() 174 odm_SetTxRPTTiming_8188E(dm_odm, pRaInfo, 2); in odm_RateDown_8188E() 175 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, in odm_RateDown_8188E() 177 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_TRACE, in odm_RateDown_8188E() 180 ODM_RT_TRACE(dm_odm, ODM_COMP_RATE_ADAPTIVE, ODM_DBG_LOUD, in odm_RateDown_8188E() [all …]
|
D | phy.c | 320 void rtl88eu_dm_txpower_track_adjust(struct odm_dm_struct *dm_odm, u8 type, in rtl88eu_dm_txpower_track_adjust() argument 326 ODM_RT_TRACE(dm_odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, in rtl88eu_dm_txpower_track_adjust() 328 dm_odm->BbSwingIdxOfdm, dm_odm->BbSwingFlagOfdm)); in rtl88eu_dm_txpower_track_adjust() 330 if (dm_odm->BbSwingIdxOfdm <= dm_odm->BbSwingIdxOfdmBase) { in rtl88eu_dm_txpower_track_adjust() 332 pwr_value = dm_odm->BbSwingIdxOfdmBase - in rtl88eu_dm_txpower_track_adjust() 333 dm_odm->BbSwingIdxOfdm; in rtl88eu_dm_txpower_track_adjust() 336 pwr_value = dm_odm->BbSwingIdxOfdm - in rtl88eu_dm_txpower_track_adjust() 337 dm_odm->BbSwingIdxOfdmBase; in rtl88eu_dm_txpower_track_adjust() 341 ODM_RT_TRACE(dm_odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, in rtl88eu_dm_txpower_track_adjust() 343 dm_odm->BbSwingIdxCck, dm_odm->BbSwingIdxCckBase)); in rtl88eu_dm_txpower_track_adjust() [all …]
|
D | odm_HWConfig.c | 14 #define READ_AND_CONFIG_MP(ic, txt) (ODM_ReadAndConfig##txt##ic(dm_odm)) 15 #define READ_AND_CONFIG_TC(ic, txt) (ODM_ReadAndConfig_TC##txt##ic(dm_odm)) 29 static s32 odm_SignalScaleMapping_92CSeries(struct odm_dm_struct *dm_odm, s32 CurrSig) in odm_SignalScaleMapping_92CSeries() argument 52 static s32 odm_SignalScaleMapping(struct odm_dm_struct *dm_odm, s32 CurrSig) in odm_SignalScaleMapping() argument 54 return odm_SignalScaleMapping_92CSeries(dm_odm, CurrSig); in odm_SignalScaleMapping() 77 static void odm_RxPhyStatus92CSeries_Parsing(struct odm_dm_struct *dm_odm, in odm_RxPhyStatus92CSeries_Parsing() argument 82 struct sw_ant_switch *pDM_SWAT_Table = &dm_odm->DM_SWAT_Table; in odm_RxPhyStatus92CSeries_Parsing() 102 dm_odm->PhyDbgInfo.NumQryPhyStatusCCK++; in odm_RxPhyStatus92CSeries_Parsing() 106 cck_highpwr = dm_odm->bCckHighPower; in odm_RxPhyStatus92CSeries_Parsing() 167 if (pPhyInfo->RxPWDBAll > 40 && !dm_odm->bInHctTest) { in odm_RxPhyStatus92CSeries_Parsing() [all …]
|
/Linux-v4.19/drivers/staging/rtl8188eu/include/ |
D | hal8188e_rate_adaptive.h | 52 int ODM_RAInfo_Init_all(struct odm_dm_struct *dm_odm); 54 int ODM_RAInfo_Init(struct odm_dm_struct *dm_odm, u8 MacID); 56 u8 ODM_RA_GetShortGI_8188E(struct odm_dm_struct *dm_odm, u8 MacID); 58 u8 ODM_RA_GetDecisionRate_8188E(struct odm_dm_struct *dm_odm, u8 MacID); 60 u8 ODM_RA_GetHwPwrStatus_8188E(struct odm_dm_struct *dm_odm, u8 MacID); 61 void ODM_RA_UpdateRateInfo_8188E(struct odm_dm_struct *dm_odm, u8 MacID, 65 void ODM_RA_SetRSSI_8188E(struct odm_dm_struct *dm_odm, u8 macid, 68 void ODM_RA_TxRPT2Handle_8188E(struct odm_dm_struct *dm_odm, 72 void ODM_RA_Set_TxRPT_Time(struct odm_dm_struct *dm_odm, u16 minRptTime);
|
D | odm_rtl8188e.h | 19 void rtl88eu_dm_antenna_div_init(struct odm_dm_struct *dm_odm); 21 void rtl88eu_dm_antenna_diversity(struct odm_dm_struct *dm_odm); 23 void rtl88eu_dm_set_tx_ant_by_tx_info(struct odm_dm_struct *dm_odm, u8 *desc, 26 void rtl88eu_dm_update_rx_idle_ant(struct odm_dm_struct *dm_odm, u8 ant); 28 void rtl88eu_dm_ant_sel_statistics(struct odm_dm_struct *dm_odm, u8 antsel_tr_mux,
|
D | phy.h | 22 void rtl88eu_dm_txpower_track_adjust(struct odm_dm_struct *dm_odm,
|