Home
last modified time | relevance | path

Searched refs:dm_digtable (Results 1 – 24 of 24) sorted by relevance

/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ !
Ddm.c19 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 …]
Dphy.c1481 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.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ !
Ddm.c261 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 …]
Dphy.c2456 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8723be_phy_set_io() local
2464 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl8723be_phy_set_io()
2470 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8723be_phy_set_io()
2471 dm_digtable->cur_igvalue = 0x17; in rtl8723be_phy_set_io()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ !
Ddm_common.c176 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 …]
Dphy_common.c1557 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl92c_phy_set_io() local
1564 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl92c_phy_set_io()
1569 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl92c_phy_set_io()
1570 dm_digtable->cur_igvalue = 0x17; in rtl92c_phy_set_io()
/linux-6.1.9/drivers/staging/rtl8192e/rtl8192e/ !
Drtl_dm.c145 struct dig_t dm_digtable; variable
1095 if (dm_digtable.dig_algorithm == DIG_ALGO_BY_RSSI) in _rtl92e_dm_bb_initialgain_restore()
1122 if (dm_digtable.dig_algorithm == DIG_ALGO_BY_RSSI) in rtl92e_dm_backup_state()
1138 dm_digtable.dig_enable_flag = true; in _rtl92e_dm_dig_init()
1140 dm_digtable.dig_algorithm = DIG_ALGO_BY_RSSI; in _rtl92e_dm_dig_init()
1142 dm_digtable.dig_algorithm_switch = 0; in _rtl92e_dm_dig_init()
1144 dm_digtable.dig_state = DM_STA_DIG_MAX; in _rtl92e_dm_dig_init()
1145 dm_digtable.dig_highpwr_state = DM_STA_DIG_MAX; in _rtl92e_dm_dig_init()
1146 dm_digtable.CurSTAConnectState = DIG_STA_DISCONNECT; in _rtl92e_dm_dig_init()
1147 dm_digtable.PreSTAConnectState = DIG_STA_DISCONNECT; in _rtl92e_dm_dig_init()
[all …]
Drtl_dm.h163 extern struct dig_t dm_digtable;
Dr8192E_phy.c1235 if (dm_digtable.dig_algorithm == in rtl92e_init_gain()
1262 if (dm_digtable.dig_algorithm == in rtl92e_init_gain()
1281 if (dm_digtable.dig_algorithm == in rtl92e_init_gain()
/linux-6.1.9/drivers/staging/rtl8192u/ !
Dr8192U_dm.c41 struct dig dm_digtable; variable
1532 if (dm_digtable.dig_algorithm == DIG_ALGO_BY_RSSI) in dm_bb_initialgain_restore()
1561 if (dm_digtable.dig_algorithm == DIG_ALGO_BY_RSSI) in dm_bb_initialgain_backup()
1602 dm_digtable.dig_enable_flag = true; in dm_dig_init()
1603 dm_digtable.dig_algorithm = DIG_ALGO_BY_RSSI; in dm_dig_init()
1604 dm_digtable.dig_algorithm_switch = 0; in dm_dig_init()
1607 dm_digtable.dig_state = DM_STA_DIG_MAX; in dm_dig_init()
1608 dm_digtable.dig_highpwr_state = DM_STA_DIG_MAX; in dm_dig_init()
1610 dm_digtable.rssi_low_thresh = DM_DIG_THRESH_LOW; in dm_dig_init()
1611 dm_digtable.rssi_high_thresh = DM_DIG_THRESH_HIGH; in dm_dig_init()
[all …]
Dr8192U_dm.h149 extern struct dig dm_digtable;
Dr819xU_phy.c1657 if (dm_digtable.dig_algorithm == DIG_ALGO_BY_FALSE_ALARM) in InitialGainOperateWorkItemCallBack()
1696 if (dm_digtable.dig_algorithm == DIG_ALGO_BY_FALSE_ALARM) in InitialGainOperateWorkItemCallBack()
1725 if (dm_digtable.dig_algorithm == DIG_ALGO_BY_FALSE_ALARM) in InitialGainOperateWorkItemCallBack()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ !
Ddm.c426 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 …]
Dphy.c4665 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8821ae_phy_set_io() local
4682 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8821ae_phy_set_io()
4684 rtlphy->initgain_backup.cca = dm_digtable->cur_cck_cca_thres; in rtl8821ae_phy_set_io()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/ !
Dcore.c1951 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl_dm_diginit() local
1953 dm_digtable->dig_enable_flag = true; in rtl_dm_diginit()
1954 dm_digtable->dig_ext_port_stage = DIG_EXT_PORT_STAGE_MAX; in rtl_dm_diginit()
1955 dm_digtable->cur_igvalue = cur_igvalue; in rtl_dm_diginit()
1956 dm_digtable->pre_igvalue = 0; in rtl_dm_diginit()
1957 dm_digtable->cur_sta_cstate = DIG_STA_DISCONNECT; in rtl_dm_diginit()
1958 dm_digtable->presta_cstate = DIG_STA_DISCONNECT; in rtl_dm_diginit()
1959 dm_digtable->curmultista_cstate = DIG_MULTISTA_DISCONNECT; in rtl_dm_diginit()
1960 dm_digtable->rssi_lowthresh = DM_DIG_THRESH_LOW; in rtl_dm_diginit()
1961 dm_digtable->rssi_highthresh = DM_DIG_THRESH_HIGH; in rtl_dm_diginit()
[all …]
Dwifi.h2797 struct dig_t dm_digtable; member
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ !
Ddm.c411 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()
Dphy.c1334 struct dig_t *digtable = &rtlpriv->dm_digtable; in rtl92s_phy_set_fw_cmd()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ !
Ddm.c104 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()
Dphy.c2988 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl92ee_phy_set_io()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ !
Ddm.c217 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_dm_find_minimum_rssi()
256 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_dm_cck_packet_detection_thresh()
304 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_dm_write_dig()
326 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_early_mode_enabled()
351 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_dm_dig()
1221 rtlpriv->dm_digtable.rx_gain_max = DM_DIG_FA_UPPER; in rtl92d_dm_init()
1222 rtlpriv->dm_digtable.rx_gain_min = DM_DIG_FA_LOWER; in rtl92d_dm_init()
Dphy.c2904 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_phy_set_io()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ !
Ddm.c326 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()
Dphy.c2107 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl88e_phy_set_io() local
2114 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl88e_phy_set_io()
2120 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl88e_phy_set_io()
2121 dm_digtable->cur_igvalue = 0x17; in rtl88e_phy_set_io()