/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | dm.c | 19 long undec_sm_pwdb; in rtl92ce_dm_dynamic_txpower() local 42 undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb; in rtl92ce_dm_dynamic_txpower() 45 undec_sm_pwdb); in rtl92ce_dm_dynamic_txpower() 47 undec_sm_pwdb = rtlpriv->dm.undec_sm_pwdb; in rtl92ce_dm_dynamic_txpower() 50 undec_sm_pwdb); in rtl92ce_dm_dynamic_txpower() 53 undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb; in rtl92ce_dm_dynamic_txpower() 57 undec_sm_pwdb); in rtl92ce_dm_dynamic_txpower() 60 if (undec_sm_pwdb >= TX_POWER_NEAR_FIELD_THRESH_LVL2) { in rtl92ce_dm_dynamic_txpower() 64 } else if ((undec_sm_pwdb < (TX_POWER_NEAR_FIELD_THRESH_LVL2 - 3)) && in rtl92ce_dm_dynamic_txpower() 65 (undec_sm_pwdb >= TX_POWER_NEAR_FIELD_THRESH_LVL1)) { in rtl92ce_dm_dynamic_txpower() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | dm.c | 16 long undec_sm_pwdb; in rtl92cu_dm_dynamic_txpower() local 39 undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb; in rtl92cu_dm_dynamic_txpower() 42 undec_sm_pwdb); in rtl92cu_dm_dynamic_txpower() 44 undec_sm_pwdb = rtlpriv->dm.undec_sm_pwdb; in rtl92cu_dm_dynamic_txpower() 47 undec_sm_pwdb); in rtl92cu_dm_dynamic_txpower() 50 undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb; in rtl92cu_dm_dynamic_txpower() 54 undec_sm_pwdb); in rtl92cu_dm_dynamic_txpower() 57 if (undec_sm_pwdb >= TX_POWER_NEAR_FIELD_THRESH_LVL2) { in rtl92cu_dm_dynamic_txpower() 61 } else if ((undec_sm_pwdb < (TX_POWER_NEAR_FIELD_THRESH_LVL2 - 3)) && in rtl92cu_dm_dynamic_txpower() 62 (undec_sm_pwdb >= TX_POWER_NEAR_FIELD_THRESH_LVL1)) { in rtl92cu_dm_dynamic_txpower() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/ |
D | stats.c | 156 long undec_sm_pwdb; in rtl_process_pwdb() local 165 undec_sm_pwdb = drv_priv->rssi_stat.undec_sm_pwdb; in rtl_process_pwdb() 167 undec_sm_pwdb = rtlpriv->dm.undec_sm_pwdb; in rtl_process_pwdb() 170 if (undec_sm_pwdb < 0) in rtl_process_pwdb() 171 undec_sm_pwdb = pstatus->rx_pwdb_all; in rtl_process_pwdb() 172 if (pstatus->rx_pwdb_all > (u32) undec_sm_pwdb) { in rtl_process_pwdb() 173 undec_sm_pwdb = (((undec_sm_pwdb) * in rtl_process_pwdb() 176 undec_sm_pwdb = undec_sm_pwdb + 1; in rtl_process_pwdb() 178 undec_sm_pwdb = (((undec_sm_pwdb) * in rtl_process_pwdb() 184 drv_priv->rssi_stat.undec_sm_pwdb = undec_sm_pwdb; in rtl_process_pwdb() [all …]
|
D | wifi.h | 1433 long undec_sm_pwdb; member 1786 long undec_sm_pwdb; /*out dm */ member
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | dm.c | 254 if (rtlpriv->dm.undec_sm_pwdb > (long)high_rssi_thresh) { in _rtl92s_dm_refresh_rateadaptive_mask() 256 } else if (rtlpriv->dm.undec_sm_pwdb > in _rtl92s_dm_refresh_rateadaptive_mask() 259 } else if (rtlpriv->dm.undec_sm_pwdb > in _rtl92s_dm_refresh_rateadaptive_mask() 269 rtlpriv->dm.undec_sm_pwdb, ra->ratr_state, in _rtl92s_dm_refresh_rateadaptive_mask() 306 if (rtlpriv->dm.undec_sm_pwdb > tmpentry_maxpwdb) { in _rtl92s_dm_switch_baseband_mrc() 523 dig->rssi_val = rtlpriv->dm.undec_sm_pwdb; in _rtl92s_dm_ctrl_initgain_bytwoport() 564 long undec_sm_pwdb; in _rtl92s_dm_dynamic_txpower() local 590 undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb; in _rtl92s_dm_dynamic_txpower() 593 undec_sm_pwdb); in _rtl92s_dm_dynamic_txpower() 595 undec_sm_pwdb = rtlpriv->dm.undec_sm_pwdb; in _rtl92s_dm_dynamic_txpower() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | dm.c | 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() 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() 345 long undec_sm_pwdb; in rtl8723e_dm_dynamic_txpower() local 368 undec_sm_pwdb = in rtl8723e_dm_dynamic_txpower() 372 undec_sm_pwdb); in rtl8723e_dm_dynamic_txpower() 374 undec_sm_pwdb = in rtl8723e_dm_dynamic_txpower() 375 rtlpriv->dm.undec_sm_pwdb; in rtl8723e_dm_dynamic_txpower() 378 undec_sm_pwdb); in rtl8723e_dm_dynamic_txpower() [all …]
|
D | dm.h | 100 (((struct rtl_priv *)(_priv))->dm.undec_sm_pwdb) \
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | dm_common.c | 23 ((RTLPRIV(_priv))->dm.undec_sm_pwdb) 184 rtlpriv->dm.undec_sm_pwdb) ? in rtl92c_dm_initial_gain_min_pwdb() 185 rtlpriv->dm.undec_sm_pwdb : in rtl92c_dm_initial_gain_min_pwdb() 188 rssi_val_min = rtlpriv->dm.undec_sm_pwdb; in rtl92c_dm_initial_gain_min_pwdb() 191 rssi_val_min = rtlpriv->dm.undec_sm_pwdb; in rtl92c_dm_initial_gain_min_pwdb() 1290 dm_pstable->rssi_val_min = rtlpriv->dm.undec_sm_pwdb; in rtl92c_dm_dynamic_bb_powersaving() 1317 rtlpriv->dm.undec_sm_pwdb = -1; in rtl92c_dm_init() 1341 long undec_sm_pwdb; in rtl92c_dm_dynamic_txpower() local 1364 undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb; in rtl92c_dm_dynamic_txpower() 1367 undec_sm_pwdb); in rtl92c_dm_dynamic_txpower() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | dm.c | 237 rtlpriv->dm.undec_sm_pwdb; in rtl92d_dm_find_minimum_rssi() 471 long undec_sm_pwdb; in rtl92d_dm_dynamic_txpower() local 488 undec_sm_pwdb = in rtl92d_dm_dynamic_txpower() 492 undec_sm_pwdb); in rtl92d_dm_dynamic_txpower() 494 undec_sm_pwdb = in rtl92d_dm_dynamic_txpower() 495 rtlpriv->dm.undec_sm_pwdb; in rtl92d_dm_dynamic_txpower() 498 undec_sm_pwdb); in rtl92d_dm_dynamic_txpower() 501 undec_sm_pwdb = in rtl92d_dm_dynamic_txpower() 506 undec_sm_pwdb); in rtl92d_dm_dynamic_txpower() 509 if (undec_sm_pwdb >= 0x33) { in rtl92d_dm_dynamic_txpower() [all …]
|
D | trx.c | 271 long undec_sm_pwdb; in _rtl92de_process_pwdb() local 277 undec_sm_pwdb = rtlpriv->dm.undec_sm_pwdb; in _rtl92de_process_pwdb() 280 if (undec_sm_pwdb < 0) in _rtl92de_process_pwdb() 281 undec_sm_pwdb = pstats->rx_pwdb_all; in _rtl92de_process_pwdb() 282 if (pstats->rx_pwdb_all > (u32) undec_sm_pwdb) { in _rtl92de_process_pwdb() 283 undec_sm_pwdb = (((undec_sm_pwdb) * in _rtl92de_process_pwdb() 286 undec_sm_pwdb = undec_sm_pwdb + 1; in _rtl92de_process_pwdb() 288 undec_sm_pwdb = (((undec_sm_pwdb) * in _rtl92de_process_pwdb() 292 rtlpriv->dm.undec_sm_pwdb = undec_sm_pwdb; in _rtl92de_process_pwdb()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | dm.c | 334 rtlpriv->dm.undec_sm_pwdb) ? in rtl88e_dm_initial_gain_min_pwdb() 335 rtlpriv->dm.undec_sm_pwdb : in rtl88e_dm_initial_gain_min_pwdb() 338 rssi_val_min = rtlpriv->dm.undec_sm_pwdb; in rtl88e_dm_initial_gain_min_pwdb() 341 rssi_val_min = rtlpriv->dm.undec_sm_pwdb; in rtl88e_dm_initial_gain_min_pwdb() 615 long undec_sm_pwdb; in rtl92c_dm_dynamic_txpower() local 638 undec_sm_pwdb = in rtl92c_dm_dynamic_txpower() 642 undec_sm_pwdb); in rtl92c_dm_dynamic_txpower() 644 undec_sm_pwdb = in rtl92c_dm_dynamic_txpower() 645 rtlpriv->dm.undec_sm_pwdb; in rtl92c_dm_dynamic_txpower() 648 undec_sm_pwdb); in rtl92c_dm_dynamic_txpower() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | dm.c | 350 rtlpriv->dm.undec_sm_pwdb; in rtl92ee_dm_find_minimum_rssi() 386 if (stat->undec_sm_pwdb < min) in rtl92ee_dm_check_rssi_monitor() 387 min = stat->undec_sm_pwdb; in rtl92ee_dm_check_rssi_monitor() 388 if (stat->undec_sm_pwdb > max) in rtl92ee_dm_check_rssi_monitor() 389 max = stat->undec_sm_pwdb; in rtl92ee_dm_check_rssi_monitor() 392 h2c[2] = (u8)(dm->undec_sm_pwdb & 0xFF); in rtl92ee_dm_check_rssi_monitor() 420 h2c[2] = (u8)(dm->undec_sm_pwdb & 0xFF); in rtl92ee_dm_check_rssi_monitor() 425 rtl_write_byte(rtlpriv, 0x4fe, dm->undec_sm_pwdb); in rtl92ee_dm_check_rssi_monitor() 888 if (rtlpriv->dm.undec_sm_pwdb < p_ra->ldpc_thres) { in rtl92ee_dm_refresh_rate_adaptive_mask() 891 } else if (rtlpriv->dm.undec_sm_pwdb > in rtl92ee_dm_refresh_rate_adaptive_mask() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | dm.c | 281 rtlpriv->dm.undec_sm_pwdb; in rtl8723be_dm_find_minimum_rssi() 308 if (drv_priv->rssi_stat.undec_sm_pwdb < in rtl8723be_dm_check_rssi_monitor() 311 drv_priv->rssi_stat.undec_sm_pwdb; in rtl8723be_dm_check_rssi_monitor() 312 if (drv_priv->rssi_stat.undec_sm_pwdb > in rtl8723be_dm_check_rssi_monitor() 315 drv_priv->rssi_stat.undec_sm_pwdb; in rtl8723be_dm_check_rssi_monitor() 342 (u8)(rtlpriv->dm.undec_sm_pwdb & 0xFF); in rtl8723be_dm_check_rssi_monitor() 348 rtlpriv->dm.undec_sm_pwdb); in rtl8723be_dm_check_rssi_monitor() 942 if (rtlpriv->dm.undec_sm_pwdb > in rtl8723be_dm_refresh_rate_adaptive_mask() 945 else if (rtlpriv->dm.undec_sm_pwdb > in rtl8723be_dm_refresh_rate_adaptive_mask() 954 rtlpriv->dm.undec_sm_pwdb); in rtl8723be_dm_refresh_rate_adaptive_mask()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | dm.c | 445 rtlpriv->dm.undec_sm_pwdb; in rtl8821ae_dm_find_minimum_rssi() 523 if (drv_priv->rssi_stat.undec_sm_pwdb < in rtl8821ae_dm_check_rssi_monitor() 526 drv_priv->rssi_stat.undec_sm_pwdb; in rtl8821ae_dm_check_rssi_monitor() 527 if (drv_priv->rssi_stat.undec_sm_pwdb > in rtl8821ae_dm_check_rssi_monitor() 530 drv_priv->rssi_stat.undec_sm_pwdb; in rtl8821ae_dm_check_rssi_monitor() 569 (u8)(rtlpriv->dm.undec_sm_pwdb & 0xFF); in rtl8821ae_dm_check_rssi_monitor() 579 rtl_write_byte(rtlpriv, 0x4fe, rtlpriv->dm.undec_sm_pwdb); in rtl8821ae_dm_check_rssi_monitor() 2384 if (rtlpriv->dm.undec_sm_pwdb > in rtl8821ae_dm_refresh_rate_adaptive_mask() 2387 else if (rtlpriv->dm.undec_sm_pwdb > in rtl8821ae_dm_refresh_rate_adaptive_mask() 2396 rtlpriv->dm.undec_sm_pwdb); in rtl8821ae_dm_refresh_rate_adaptive_mask()
|
D | dm.h | 260 (((struct rtl_priv *)(_priv))->dm.undec_sm_pwdb))
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtcoutsrc.c | 500 return rtlpriv->dm.undec_sm_pwdb; in halbtc_get_wifi_rssi()
|