Home
last modified time | relevance | path

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

/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Ddm.c153 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8723e_dm_initial_gain_min_pwdb() local
156 if ((dm_digtable->curmultista_cstate == DIG_MULTISTA_CONNECT) && in rtl8723e_dm_initial_gain_min_pwdb()
157 (dm_digtable->cursta_cstate == DIG_STA_CONNECT)) { in rtl8723e_dm_initial_gain_min_pwdb()
166 } else if (dm_digtable->cursta_cstate == DIG_STA_CONNECT || in rtl8723e_dm_initial_gain_min_pwdb()
167 dm_digtable->cursta_cstate == DIG_STA_BEFORE_CONNECT) { in rtl8723e_dm_initial_gain_min_pwdb()
169 } else if (dm_digtable->curmultista_cstate == in rtl8723e_dm_initial_gain_min_pwdb()
228 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl92c_dm_ctrl_initgain_by_fa() local
229 u8 value_igi = dm_digtable->cur_igvalue; in rtl92c_dm_ctrl_initgain_by_fa()
246 dm_digtable->cur_igvalue = value_igi; in rtl92c_dm_ctrl_initgain_by_fa()
253 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl92c_dm_ctrl_initgain_by_rssi() local
[all …]
Dphy.c1521 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8723e_phy_set_io() local
1528 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl8723e_phy_set_io()
1533 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8723e_phy_set_io()
1534 dm_digtable->cur_igvalue = 0x17; in rtl8723e_phy_set_io()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.c283 struct dig_t *rtl_dm_dig = &rtlpriv->dm_digtable; in rtl8723be_dm_find_minimum_rssi()
322 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8723be_dm_check_rssi_monitor() local
373 dm_digtable->rssi_val_min = in rtl8723be_dm_check_rssi_monitor()
374 rtlpriv->dm_digtable.min_undec_pwdb_for_dm; in rtl8723be_dm_check_rssi_monitor()
380 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8723be_dm_write_dig() local
382 if (dm_digtable->stop_dig) in rtl8723be_dm_write_dig()
385 if (dm_digtable->cur_igvalue != current_igi) { in rtl8723be_dm_write_dig()
391 dm_digtable->pre_igvalue = dm_digtable->cur_igvalue; in rtl8723be_dm_write_dig()
392 dm_digtable->cur_igvalue = current_igi; in rtl8723be_dm_write_dig()
398 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8723be_dm_dig() local
[all …]
Dphy.c2537 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8723be_phy_set_io() local
2545 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl8723be_phy_set_io()
2551 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8723be_phy_set_io()
2552 dm_digtable->cur_igvalue = 0x17; in rtl8723be_phy_set_io()
/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Ddm_common.c202 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl92c_dm_initial_gain_min_pwdb() local
205 if ((dm_digtable->curmultista_cstate == DIG_MULTISTA_CONNECT) && in rtl92c_dm_initial_gain_min_pwdb()
206 (dm_digtable->cursta_cstate == DIG_STA_CONNECT)) { in rtl92c_dm_initial_gain_min_pwdb()
215 } else if (dm_digtable->cursta_cstate == DIG_STA_CONNECT || in rtl92c_dm_initial_gain_min_pwdb()
216 dm_digtable->cursta_cstate == DIG_STA_BEFORE_CONNECT) { in rtl92c_dm_initial_gain_min_pwdb()
218 } else if (dm_digtable->curmultista_cstate == DIG_MULTISTA_CONNECT) { in rtl92c_dm_initial_gain_min_pwdb()
286 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl92c_dm_ctrl_initgain_by_fa() local
287 u8 value_igi = dm_digtable->cur_igvalue; in rtl92c_dm_ctrl_initgain_by_fa()
306 dm_digtable->cur_igvalue = value_igi; in rtl92c_dm_ctrl_initgain_by_fa()
313 struct dig_t *digtable = &rtlpriv->dm_digtable; in rtl92c_dm_ctrl_initgain_by_rssi()
[all …]
Dphy_common.c1590 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl92c_phy_set_io() local
1597 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl92c_phy_set_io()
1602 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl92c_phy_set_io()
1603 dm_digtable->cur_igvalue = 0x17; in rtl92c_phy_set_io()
/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c153 struct dig_t dm_digtable; variable
1213 if (dm_digtable.dig_algorithm == DIG_ALGO_BY_RSSI) in _rtl92e_dm_bb_initialgain_restore()
1251 if (dm_digtable.dig_algorithm == DIG_ALGO_BY_RSSI) in rtl92e_dm_backup_state()
1278 dm_digtable.dig_enable_flag = true; in _rtl92e_dm_dig_init()
1280 dm_digtable.dig_algorithm = DIG_ALGO_BY_RSSI; in _rtl92e_dm_dig_init()
1282 dm_digtable.dig_algorithm_switch = 0; in _rtl92e_dm_dig_init()
1284 dm_digtable.dig_state = DM_STA_DIG_MAX; in _rtl92e_dm_dig_init()
1285 dm_digtable.dig_highpwr_state = DM_STA_DIG_MAX; in _rtl92e_dm_dig_init()
1286 dm_digtable.CurSTAConnectState = DIG_STA_DISCONNECT; in _rtl92e_dm_dig_init()
1287 dm_digtable.PreSTAConnectState = DIG_STA_DISCONNECT; in _rtl92e_dm_dig_init()
[all …]
Drtl_dm.h171 extern struct dig_t dm_digtable;
Dr8192E_phy.c1311 if (dm_digtable.dig_algorithm == in rtl92e_init_gain()
1360 if (dm_digtable.dig_algorithm == in rtl92e_init_gain()
1395 if (dm_digtable.dig_algorithm == in rtl92e_init_gain()
/drivers/staging/rtl8192u/
Dr8192U_dm.c39 struct dig dm_digtable; variable
1549 if (dm_digtable.dig_algorithm == DIG_ALGO_BY_RSSI) in dm_bb_initialgain_restore()
1590 if (dm_digtable.dig_algorithm == DIG_ALGO_BY_RSSI) in dm_bb_initialgain_backup()
1632 dm_digtable.rssi_high_thresh = dm_value; in dm_change_dynamic_initgain_thresh()
1634 dm_digtable.rssi_low_thresh = dm_value; in dm_change_dynamic_initgain_thresh()
1636 dm_digtable.rssi_high_power_highthresh = dm_value; in dm_change_dynamic_initgain_thresh()
1638 dm_digtable.rssi_high_power_lowthresh = dm_value; in dm_change_dynamic_initgain_thresh()
1640 dm_digtable.dig_state = DM_STA_DIG_MAX; in dm_change_dynamic_initgain_thresh()
1641 dm_digtable.dig_enable_flag = true; in dm_change_dynamic_initgain_thresh()
1643 dm_digtable.dig_state = DM_STA_DIG_MAX; in dm_change_dynamic_initgain_thresh()
[all …]
Dr8192U_dm.h203 extern struct dig dm_digtable;
Dr819xU_phy.c1719 if (dm_digtable.dig_algorithm == DIG_ALGO_BY_FALSE_ALARM) in InitialGainOperateWorkItemCallBack()
1758 if (dm_digtable.dig_algorithm == DIG_ALGO_BY_FALSE_ALARM) in InitialGainOperateWorkItemCallBack()
1787 if (dm_digtable.dig_algorithm == DIG_ALGO_BY_FALSE_ALARM) in InitialGainOperateWorkItemCallBack()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c600 struct dig_t *rtl_dm_dig = &rtlpriv->dm_digtable; in rtl8821ae_dm_find_minimum_rssi()
674 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8821ae_dm_check_rssi_monitor() local
760 dm_digtable->rssi_val_min = rtlpriv->dm_digtable.min_undec_pwdb_for_dm; in rtl8821ae_dm_check_rssi_monitor()
766 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8821ae_dm_write_cck_cca_thres() local
768 if (dm_digtable->cur_cck_cca_thres != current_cca) in rtl8821ae_dm_write_cck_cca_thres()
771 dm_digtable->pre_cck_cca_thres = dm_digtable->cur_cck_cca_thres; in rtl8821ae_dm_write_cck_cca_thres()
772 dm_digtable->cur_cck_cca_thres = current_cca; in rtl8821ae_dm_write_cck_cca_thres()
778 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8821ae_dm_write_dig() local
780 if (dm_digtable->stop_dig) in rtl8821ae_dm_write_dig()
783 if (dm_digtable->cur_igvalue != current_igi) { in rtl8821ae_dm_write_dig()
[all …]
Dphy.c4796 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl8821ae_phy_set_io() local
4813 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8821ae_phy_set_io()
4815 rtlphy->initgain_backup.cca = dm_digtable->cur_cck_cca_thres; in rtl8821ae_phy_set_io()
/drivers/net/wireless/realtek/rtlwifi/
Dcore.c1890 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl_dm_diginit() local
1892 dm_digtable->dig_enable_flag = true; in rtl_dm_diginit()
1893 dm_digtable->dig_ext_port_stage = DIG_EXT_PORT_STAGE_MAX; in rtl_dm_diginit()
1894 dm_digtable->cur_igvalue = cur_igvalue; in rtl_dm_diginit()
1895 dm_digtable->pre_igvalue = 0; in rtl_dm_diginit()
1896 dm_digtable->cur_sta_cstate = DIG_STA_DISCONNECT; in rtl_dm_diginit()
1897 dm_digtable->presta_cstate = DIG_STA_DISCONNECT; in rtl_dm_diginit()
1898 dm_digtable->curmultista_cstate = DIG_MULTISTA_DISCONNECT; in rtl_dm_diginit()
1899 dm_digtable->rssi_lowthresh = DM_DIG_THRESH_LOW; in rtl_dm_diginit()
1900 dm_digtable->rssi_highthresh = DM_DIG_THRESH_HIGH; in rtl_dm_diginit()
[all …]
Dwifi.h2611 struct dig_t dm_digtable; member
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Ddm.c436 struct dig_t *digtable = &rtlpriv->dm_digtable; in rtl92s_backoff_enable_flag()
458 struct dig_t *digtable = &rtlpriv->dm_digtable; in _rtl92s_dm_initial_gain_sta_beforeconnect()
536 struct dig_t *dig = &rtlpriv->dm_digtable; in _rtl92s_dm_ctrl_initgain_bytwoport()
569 struct dig_t *digtable = &rtlpriv->dm_digtable; in _rtl92s_dm_ctrl_initgain_byrssi()
655 struct dig_t *digtable = &rtlpriv->dm_digtable; in _rtl92s_dm_init_dig()
Dphy.c1372 struct dig_t *digtable = &rtlpriv->dm_digtable; in rtl92s_phy_set_fw_cmd()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Ddm.c244 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl92ee_dm_cck_packet_detection_thresh()
272 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl92ee_dm_dig()
411 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl92ee_dm_write_cck_cca_thres()
423 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl92ee_dm_write_dig()
470 struct dig_t *rtl_dm_dig = &rtlpriv->dm_digtable; in rtl92ee_dm_find_minimum_rssi()
510 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl92ee_dm_check_rssi_monitor()
569 dm_dig->rssi_val_min = rtlpriv->dm_digtable.min_undec_pwdb_for_dm; in rtl92ee_dm_check_rssi_monitor()
Dphy.c3032 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl92ee_phy_set_io()
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Ddm.c243 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_dm_find_minimum_rssi()
282 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_dm_cck_packet_detection_thresh()
330 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_dm_write_dig()
352 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_early_mode_enabled()
377 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_dm_dig()
1281 rtlpriv->dm_digtable.rx_gain_max = DM_DIG_FA_UPPER; in rtl92d_dm_init()
1282 rtlpriv->dm_digtable.rx_gain_min = DM_DIG_FA_LOWER; in rtl92d_dm_init()
Dphy.c2962 struct dig_t *de_digtable = &rtlpriv->dm_digtable; in rtl92d_phy_set_io()
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Ddm.c348 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl88e_dm_initial_gain_min_pwdb()
455 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl88e_dm_cck_packet_detection_thresh()
493 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl88e_dm_dig()
713 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl88e_dm_write_dig()
1478 struct dig_t *dm_dig = &rtlpriv->dm_digtable; in rtl88e_dm_hw_ant_div()
Dphy.c2151 struct dig_t *dm_digtable = &rtlpriv->dm_digtable; in rtl88e_phy_set_io() local
2158 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl88e_phy_set_io()
2164 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl88e_phy_set_io()
2165 dm_digtable->cur_igvalue = 0x17; in rtl88e_phy_set_io()