Lines Matching refs:dm
30 if (rtlpriv->dm.entry_min_undec_sm_pwdb != 0) in rtl8723e_dm_initial_gain_min_pwdb()
32 (rtlpriv->dm.entry_min_undec_sm_pwdb > in rtl8723e_dm_initial_gain_min_pwdb()
33 rtlpriv->dm.undec_sm_pwdb) ? in rtl8723e_dm_initial_gain_min_pwdb()
34 rtlpriv->dm.undec_sm_pwdb : in rtl8723e_dm_initial_gain_min_pwdb()
35 rtlpriv->dm.entry_min_undec_sm_pwdb; in rtl8723e_dm_initial_gain_min_pwdb()
37 rssi_val_min = rtlpriv->dm.undec_sm_pwdb; in rtl8723e_dm_initial_gain_min_pwdb()
40 rssi_val_min = rtlpriv->dm.undec_sm_pwdb; in rtl8723e_dm_initial_gain_min_pwdb()
43 rssi_val_min = rtlpriv->dm.entry_min_undec_sm_pwdb; in rtl8723e_dm_initial_gain_min_pwdb()
166 long rssi_strength = rtlpriv->dm.entry_min_undec_sm_pwdb; in rtl8723e_dm_initial_gain_multi_sta()
331 if (!rtlpriv->dm.dm_initialgain_enable) in rtl8723e_dm_dig()
347 if (!rtlpriv->dm.dynamic_txpower_enable) in rtl8723e_dm_dynamic_txpower()
350 if (rtlpriv->dm.dm_flag & HAL_DM_HIPWR_DISABLE) { in rtl8723e_dm_dynamic_txpower()
351 rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL; in rtl8723e_dm_dynamic_txpower()
356 (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)) { in rtl8723e_dm_dynamic_txpower()
360 rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL; in rtl8723e_dm_dynamic_txpower()
362 rtlpriv->dm.last_dtp_lvl = TXHIGHPWRLEVEL_NORMAL; in rtl8723e_dm_dynamic_txpower()
369 rtlpriv->dm.entry_min_undec_sm_pwdb; in rtl8723e_dm_dynamic_txpower()
375 rtlpriv->dm.undec_sm_pwdb; in rtl8723e_dm_dynamic_txpower()
382 rtlpriv->dm.entry_min_undec_sm_pwdb; in rtl8723e_dm_dynamic_txpower()
390 rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_LEVEL1; in rtl8723e_dm_dynamic_txpower()
397 rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_LEVEL1; in rtl8723e_dm_dynamic_txpower()
402 rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL; in rtl8723e_dm_dynamic_txpower()
407 if (rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl) { in rtl8723e_dm_dynamic_txpower()
414 rtlpriv->dm.last_dtp_lvl = rtlpriv->dm.dynamic_txhighpower_lvl; in rtl8723e_dm_dynamic_txpower()
458 rtlpriv->dm.current_turbo_edca = false; in rtl8723e_dm_check_edca_turbo()
474 rtlpriv->dm.current_turbo_edca = false; in rtl8723e_dm_check_edca_turbo()
477 if ((bt_change_edca) || ((!rtlpriv->dm.is_any_nonbepkts) && in rtl8723e_dm_check_edca_turbo()
478 (!rtlpriv->dm.disable_framebursting))) { in rtl8723e_dm_check_edca_turbo()
484 if (!rtlpriv->dm.is_cur_rdlstate || in rtl8723e_dm_check_edca_turbo()
485 !rtlpriv->dm.current_turbo_edca) { in rtl8723e_dm_check_edca_turbo()
489 rtlpriv->dm.is_cur_rdlstate = true; in rtl8723e_dm_check_edca_turbo()
492 if (rtlpriv->dm.is_cur_rdlstate || in rtl8723e_dm_check_edca_turbo()
493 !rtlpriv->dm.current_turbo_edca) { in rtl8723e_dm_check_edca_turbo()
497 rtlpriv->dm.is_cur_rdlstate = false; in rtl8723e_dm_check_edca_turbo()
500 rtlpriv->dm.current_turbo_edca = true; in rtl8723e_dm_check_edca_turbo()
502 if (rtlpriv->dm.current_turbo_edca) { in rtl8723e_dm_check_edca_turbo()
507 rtlpriv->dm.current_turbo_edca = false; in rtl8723e_dm_check_edca_turbo()
511 rtlpriv->dm.is_any_nonbepkts = false; in rtl8723e_dm_check_edca_turbo()
521 rtlpriv->dm.txpower_tracking = true; in rtl8723e_dm_initialize_txpower_tracking_thermalmeter()
522 rtlpriv->dm.txpower_trackinginit = false; in rtl8723e_dm_initialize_txpower_tracking_thermalmeter()
526 rtlpriv->dm.txpower_tracking); in rtl8723e_dm_initialize_txpower_tracking_thermalmeter()
547 if (rtlpriv->dm.dm_type == DM_TYPE_BYDRIVER) in rtl8723e_dm_init_rate_adaptive_mask()
548 rtlpriv->dm.useramask = true; in rtl8723e_dm_init_rate_adaptive_mask()
550 rtlpriv->dm.useramask = false; in rtl8723e_dm_init_rate_adaptive_mask()
569 if (!rtlpriv->dm.useramask) { in rtl8723e_dm_refresh_rate_adaptive_mask()
607 else if (rtlpriv->dm.undec_sm_pwdb > high_rssithresh_for_ra) in rtl8723e_dm_refresh_rate_adaptive_mask()
609 else if (rtlpriv->dm.undec_sm_pwdb > low_rssithresh_for_ra) in rtl8723e_dm_refresh_rate_adaptive_mask()
617 rtlpriv->dm.undec_sm_pwdb); in rtl8723e_dm_refresh_rate_adaptive_mask()
717 (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)) { in rtl8723e_dm_dynamic_bb_powersaving()
726 rtlpriv->dm.entry_min_undec_sm_pwdb; in rtl8723e_dm_dynamic_bb_powersaving()
732 rtlpriv->dm.undec_sm_pwdb; in rtl8723e_dm_dynamic_bb_powersaving()
739 rtlpriv->dm.entry_min_undec_sm_pwdb; in rtl8723e_dm_dynamic_bb_powersaving()
753 rtlpriv->dm.dm_type = DM_TYPE_BYDRIVER; in rtl8723e_dm_init()