/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | dm.c | 19 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8723e_dm_initial_gain_min_pwdb() local 28 if ((dm_digtable->curmultista_cstate == DIG_MULTISTA_CONNECT) && in rtl8723e_dm_initial_gain_min_pwdb() 29 (dm_digtable->cursta_cstate == DIG_STA_CONNECT)) { in rtl8723e_dm_initial_gain_min_pwdb() 38 } else if (dm_digtable->cursta_cstate == DIG_STA_CONNECT || in rtl8723e_dm_initial_gain_min_pwdb() 39 dm_digtable->cursta_cstate == DIG_STA_BEFORE_CONNECT) { in rtl8723e_dm_initial_gain_min_pwdb() 41 } else if (dm_digtable->curmultista_cstate == in rtl8723e_dm_initial_gain_min_pwdb() 100 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl92c_dm_ctrl_initgain_by_fa() local 101 u8 value_igi = dm_digtable->cur_igvalue; in rtl92c_dm_ctrl_initgain_by_fa() 118 dm_digtable->cur_igvalue = value_igi; in rtl92c_dm_ctrl_initgain_by_fa() 125 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl92c_dm_ctrl_initgain_by_rssi() local [all …]
|
D | phy.c | 1481 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8723e_phy_set_io() local 1488 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl8723e_phy_set_io() 1493 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8723e_phy_set_io() 1494 dm_digtable->cur_igvalue = 0x17; in rtl8723e_phy_set_io()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | dm.c | 261 struct dig_t *rtl_dm_dig = &rtlpriv->dm_digtable; in rtl8723be_dm_find_minimum_rssi() 300 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8723be_dm_check_rssi_monitor() local 351 dm_digtable->rssi_val_min = in rtl8723be_dm_check_rssi_monitor() 352 rtlpriv->dm_digtable.min_undec_pwdb_for_dm; in rtl8723be_dm_check_rssi_monitor() 358 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8723be_dm_write_dig() local 360 if (dm_digtable->stop_dig) in rtl8723be_dm_write_dig() 363 if (dm_digtable->cur_igvalue != current_igi) { in rtl8723be_dm_write_dig() 369 dm_digtable->pre_igvalue = dm_digtable->cur_igvalue; in rtl8723be_dm_write_dig() 370 dm_digtable->cur_igvalue = current_igi; in rtl8723be_dm_write_dig() 376 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8723be_dm_dig() local [all …]
|
D | phy.c | 2463 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8723be_phy_set_io() local 2471 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl8723be_phy_set_io() 2477 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8723be_phy_set_io() 2478 dm_digtable->cur_igvalue = 0x17; in rtl8723be_phy_set_io()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | dm_common.c | 176 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl92c_dm_initial_gain_min_pwdb() local 179 if ((dm_digtable->curmultista_cstate == DIG_MULTISTA_CONNECT) && in rtl92c_dm_initial_gain_min_pwdb() 180 (dm_digtable->cursta_cstate == DIG_STA_CONNECT)) { in rtl92c_dm_initial_gain_min_pwdb() 189 } else if (dm_digtable->cursta_cstate == DIG_STA_CONNECT || in rtl92c_dm_initial_gain_min_pwdb() 190 dm_digtable->cursta_cstate == DIG_STA_BEFORE_CONNECT) { in rtl92c_dm_initial_gain_min_pwdb() 192 } else if (dm_digtable->curmultista_cstate == DIG_MULTISTA_CONNECT) { in rtl92c_dm_initial_gain_min_pwdb() 260 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl92c_dm_ctrl_initgain_by_fa() local 261 u8 value_igi = dm_digtable->cur_igvalue; in rtl92c_dm_ctrl_initgain_by_fa() 280 dm_digtable->cur_igvalue = value_igi; in rtl92c_dm_ctrl_initgain_by_fa() 287 struct dig_t *digtable = &rtlpriv->dm_digtable; in rtl92c_dm_ctrl_initgain_by_rssi() [all …]
|
D | phy_common.c | 1545 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl92c_phy_set_io() local 1552 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl92c_phy_set_io() 1557 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl92c_phy_set_io() 1558 dm_digtable->cur_igvalue = 0x17; in rtl92c_phy_set_io()
|
/linux-6.12.1/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_dm.c | 145 struct dig_t dm_digtable; variable 913 dm_digtable.cur_sta_connect_state = DIG_STA_DISCONNECT; in _rtl92e_dm_dig_init() 914 dm_digtable.pre_sta_connect_state = DIG_STA_DISCONNECT; in _rtl92e_dm_dig_init() 916 dm_digtable.rssi_low_thresh = DM_DIG_THRESH_LOW; in _rtl92e_dm_dig_init() 917 dm_digtable.rssi_high_thresh = DM_DIG_THRESH_HIGH; in _rtl92e_dm_dig_init() 919 dm_digtable.rssi_high_power_lowthresh = DM_DIG_HIGH_PWR_THRESH_LOW; in _rtl92e_dm_dig_init() 920 dm_digtable.rssi_high_power_highthresh = DM_DIG_HIGH_PWR_THRESH_HIGH; in _rtl92e_dm_dig_init() 922 dm_digtable.rssi_val = 50; in _rtl92e_dm_dig_init() 923 dm_digtable.backoff_val = DM_DIG_BACKOFF; in _rtl92e_dm_dig_init() 924 dm_digtable.rx_gain_range_max = DM_DIG_MAX; in _rtl92e_dm_dig_init() [all …]
|
D | rtl_dm.h | 130 extern struct dig_t dm_digtable;
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | dm.c | 426 struct dig_t *rtl_dm_dig = &rtlpriv->dm_digtable; in rtl8821ae_dm_find_minimum_rssi() 499 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8821ae_dm_check_rssi_monitor() local 584 dm_digtable->rssi_val_min = rtlpriv->dm_digtable.min_undec_pwdb_for_dm; in rtl8821ae_dm_check_rssi_monitor() 590 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8821ae_dm_write_cck_cca_thres() local 592 if (dm_digtable->cur_cck_cca_thres != current_cca) in rtl8821ae_dm_write_cck_cca_thres() 595 dm_digtable->pre_cck_cca_thres = dm_digtable->cur_cck_cca_thres; in rtl8821ae_dm_write_cck_cca_thres() 596 dm_digtable->cur_cck_cca_thres = current_cca; in rtl8821ae_dm_write_cck_cca_thres() 602 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8821ae_dm_write_dig() local 604 if (dm_digtable->stop_dig) in rtl8821ae_dm_write_dig() 607 if (dm_digtable->cur_igvalue != current_igi) { in rtl8821ae_dm_write_dig() [all …]
|
D | phy.c | 4638 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8821ae_phy_set_io() local 4655 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8821ae_phy_set_io() 4657 rtlphy->initgain_backup.cca = dm_digtable->cur_cck_cca_thres; in rtl8821ae_phy_set_io()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 1935 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl_dm_diginit() local 1937 dm_digtable->dig_enable_flag = true; in rtl_dm_diginit() 1938 dm_digtable->dig_ext_port_stage = DIG_EXT_PORT_STAGE_MAX; in rtl_dm_diginit() 1939 dm_digtable->cur_igvalue = cur_igvalue; in rtl_dm_diginit() 1940 dm_digtable->pre_igvalue = 0; in rtl_dm_diginit() 1941 dm_digtable->cur_sta_cstate = DIG_STA_DISCONNECT; in rtl_dm_diginit() 1942 dm_digtable->presta_cstate = DIG_STA_DISCONNECT; in rtl_dm_diginit() 1943 dm_digtable->curmultista_cstate = DIG_MULTISTA_DISCONNECT; in rtl_dm_diginit() 1944 dm_digtable->rssi_lowthresh = DM_DIG_THRESH_LOW; in rtl_dm_diginit() 1945 dm_digtable->rssi_highthresh = DM_DIG_THRESH_HIGH; in rtl_dm_diginit() [all …]
|
D | wifi.h | 2720 struct dig_t dm_digtable; member
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/ |
D | dm.c | 26 int pwdb = rtlpriv->dm_digtable.min_undec_pwdb_for_dm; in rtl92du_dm_1r_cca() 86 rtlpriv->dm_digtable.rx_gain_max = DM_DIG_FA_UPPER; in rtl92du_dm_init() 87 rtlpriv->dm_digtable.rx_gain_min = DM_DIG_FA_LOWER; in rtl92du_dm_init()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | dm.c | 149 rtlpriv->dm_digtable.rx_gain_max = DM_DIG_FA_UPPER; in rtl92de_dm_init() 150 rtlpriv->dm_digtable.rx_gain_min = DM_DIG_FA_LOWER; in rtl92de_dm_init()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | dm.c | 411 struct dig_t *digtable = &rtlpriv->dm_digtable; in rtl92s_backoff_enable_flag() 433 struct dig_t *digtable = &rtlpriv->dm_digtable; in _rtl92s_dm_initial_gain_sta_beforeconnect() 511 struct dig_t *dig = &rtlpriv->dm_digtable; in _rtl92s_dm_ctrl_initgain_bytwoport() 544 struct dig_t *digtable = &rtlpriv->dm_digtable; in _rtl92s_dm_ctrl_initgain_byrssi() 630 struct dig_t *digtable = &rtlpriv->dm_digtable; in _rtl92s_dm_init_dig()
|
D | phy.c | 1324 struct dig_t *digtable = &rtlpriv->dm_digtable; in rtl92s_phy_set_fw_cmd()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | dm.c | 104 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl92ee_dm_cck_packet_detection_thresh() 132 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl92ee_dm_dig() 271 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl92ee_dm_write_cck_cca_thres() 283 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl92ee_dm_write_dig() 330 struct dig_t *rtl_dm_dig = &rtlpriv->dm_digtable; in rtl92ee_dm_find_minimum_rssi() 370 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl92ee_dm_check_rssi_monitor() 429 dm_dig->rssi_val_min = rtlpriv->dm_digtable.min_undec_pwdb_for_dm; in rtl92ee_dm_check_rssi_monitor()
|
D | phy.c | 2980 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl92ee_phy_set_io()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
D | dm_common.c | 742 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_dm_find_minimum_rssi() 783 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_dm_cck_packet_detection_thresh() 830 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_dm_write_dig() 853 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_early_mode_enabled() 878 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_dm_dig()
|
D | phy_common.c | 637 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_phy_set_io()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | dm.c | 326 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl88e_dm_initial_gain_min_pwdb() 433 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl88e_dm_cck_packet_detection_thresh() 471 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl88e_dm_dig() 691 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl88e_dm_write_dig() 1452 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl88e_dm_hw_ant_div()
|
D | phy.c | 2101 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl88e_phy_set_io() local 2108 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl88e_phy_set_io() 2114 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl88e_phy_set_io() 2115 dm_digtable->cur_igvalue = 0x17; in rtl88e_phy_set_io()
|