Lines Matching full:dm
13 #include "dm.h"
21 rtlpriv->dm.dynamic_txpower_enable = true; in rtl92d_dm_init_dynamic_txpower()
22 rtlpriv->dm.last_dtp_lvl = TXHIGHPWRLEVEL_NORMAL; in rtl92d_dm_init_dynamic_txpower()
23 rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL; in rtl92d_dm_init_dynamic_txpower()
34 if ((!rtlpriv->dm.dynamic_txpower_enable) in rtl92d_dm_dynamic_txpower()
35 || rtlpriv->dm.dm_flag & HAL_DM_HIPWR_DISABLE) { in rtl92d_dm_dynamic_txpower()
36 rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL; in rtl92d_dm_dynamic_txpower()
40 (rtlpriv->dm.UNDEC_SM_PWDB == 0)) { in rtl92d_dm_dynamic_txpower()
43 rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL; in rtl92d_dm_dynamic_txpower()
44 rtlpriv->dm.last_dtp_lvl = TXHIGHPWRLEVEL_NORMAL; in rtl92d_dm_dynamic_txpower()
50 rtlpriv->dm.UNDEC_SM_PWDB; in rtl92d_dm_dynamic_txpower()
56 rtlpriv->dm.undec_sm_pwdb; in rtl92d_dm_dynamic_txpower()
63 rtlpriv->dm.UNDEC_SM_PWDB; in rtl92d_dm_dynamic_txpower()
71 rtlpriv->dm.dynamic_txhighpower_lvl = in rtl92d_dm_dynamic_txpower()
77 rtlpriv->dm.dynamic_txhighpower_lvl = in rtl92d_dm_dynamic_txpower()
82 rtlpriv->dm.dynamic_txhighpower_lvl = in rtl92d_dm_dynamic_txpower()
90 rtlpriv->dm.dynamic_txhighpower_lvl = in rtl92d_dm_dynamic_txpower()
100 rtlpriv->dm.dynamic_txhighpower_lvl = in rtl92d_dm_dynamic_txpower()
106 rtlpriv->dm.dynamic_txhighpower_lvl = in rtl92d_dm_dynamic_txpower()
112 if ((rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl)) { in rtl92d_dm_dynamic_txpower()
118 rtlpriv->dm.last_dtp_lvl = rtlpriv->dm.dynamic_txhighpower_lvl; in rtl92d_dm_dynamic_txpower()
129 if (rtlpriv->dm.useramask) { in rtl92d_dm_pwdb_monitor()
130 u32 temp = rtlpriv->dm.undec_sm_pwdb; in rtl92d_dm_pwdb_monitor()
139 (u8) rtlpriv->dm.undec_sm_pwdb); in rtl92d_dm_pwdb_monitor()
147 rtlpriv->dm.dm_type = DM_TYPE_BYDRIVER; in rtl92de_dm_init()
163 /* 1. RF is OFF. (No need to do DM.) in rtl92de_dm_watchdog()
167 * to be swapped with DM. in rtl92de_dm_watchdog()