Home
last modified time | relevance | path

Searched refs:undec_sm_pwdb (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Ddm.c32 long undec_sm_pwdb; in rtl92d_dm_dynamic_txpower() local
49 undec_sm_pwdb = in rtl92d_dm_dynamic_txpower()
53 undec_sm_pwdb); in rtl92d_dm_dynamic_txpower()
55 undec_sm_pwdb = in rtl92d_dm_dynamic_txpower()
56 rtlpriv->dm.undec_sm_pwdb; in rtl92d_dm_dynamic_txpower()
59 undec_sm_pwdb); in rtl92d_dm_dynamic_txpower()
62 undec_sm_pwdb = in rtl92d_dm_dynamic_txpower()
67 undec_sm_pwdb); in rtl92d_dm_dynamic_txpower()
70 if (undec_sm_pwdb >= 0x33) { in rtl92d_dm_dynamic_txpower()
75 } else if ((undec_sm_pwdb < 0x33) in rtl92d_dm_dynamic_txpower()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Ddm.c19 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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Ddm.c16 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.12.1/drivers/net/wireless/realtek/rtlwifi/
Dstats.c156 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 …]
Dwifi.h1394 long undec_sm_pwdb; member
1736 long undec_sm_pwdb; /*out dm */ member
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Ddm.c254 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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Ddm.c33 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 …]
Ddm.h100 (((struct rtl_priv *)(_priv))->dm.undec_sm_pwdb) \
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
Dtrx_common.c257 long undec_sm_pwdb; in _rtl92d_process_pwdb() local
263 undec_sm_pwdb = rtlpriv->dm.undec_sm_pwdb; in _rtl92d_process_pwdb()
266 if (undec_sm_pwdb < 0) in _rtl92d_process_pwdb()
267 undec_sm_pwdb = pstats->rx_pwdb_all; in _rtl92d_process_pwdb()
268 if (pstats->rx_pwdb_all > (u32)undec_sm_pwdb) { in _rtl92d_process_pwdb()
269 undec_sm_pwdb = (((undec_sm_pwdb) * in _rtl92d_process_pwdb()
272 undec_sm_pwdb = undec_sm_pwdb + 1; in _rtl92d_process_pwdb()
274 undec_sm_pwdb = (((undec_sm_pwdb) * in _rtl92d_process_pwdb()
278 rtlpriv->dm.undec_sm_pwdb = undec_sm_pwdb; in _rtl92d_process_pwdb()
Ddm_common.c762 rtlpriv->dm.undec_sm_pwdb; in rtl92d_dm_find_minimum_rssi()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Ddm_common.c23 ((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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Ddm.c334 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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Ddm.c350 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()
881 if (rtlpriv->dm.undec_sm_pwdb < p_ra->ldpc_thres) { in rtl92ee_dm_refresh_rate_adaptive_mask()
884 } else if (rtlpriv->dm.undec_sm_pwdb > in rtl92ee_dm_refresh_rate_adaptive_mask()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
Ddm.c71 temp = rtlpriv->dm.undec_sm_pwdb << 16; in rtl92du_dm_pwdb_monitor()
76 rtl_write_byte(rtlpriv, 0x4fe, (u8)rtlpriv->dm.undec_sm_pwdb); in rtl92du_dm_pwdb_monitor()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.c281 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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c445 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()
2382 if (rtlpriv->dm.undec_sm_pwdb > in rtl8821ae_dm_refresh_rate_adaptive_mask()
2385 else if (rtlpriv->dm.undec_sm_pwdb > in rtl8821ae_dm_refresh_rate_adaptive_mask()
2394 rtlpriv->dm.undec_sm_pwdb); in rtl8821ae_dm_refresh_rate_adaptive_mask()
Ddm.h260 (((struct rtl_priv *)(_priv))->dm.undec_sm_pwdb))
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c500 return rtlpriv->dm.undec_sm_pwdb; in halbtc_get_wifi_rssi()