/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | dm.c | 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() 145 dm_digtable->cur_igvalue = dm_digtable->rx_gain_max; in rtl92c_dm_ctrl_initgain_by_rssi() 148 dm_digtable->cur_igvalue = dm_digtable->rx_gain_min; in rtl92c_dm_ctrl_initgain_by_rssi() 150 dm_digtable->cur_igvalue = dm_digtable->rssi_val_min + 10 - in rtl92c_dm_ctrl_initgain_by_rssi() 179 dm_digtable->cur_igvalue = 0x20; in rtl8723e_dm_initial_gain_multi_sta() 189 dm_digtable->cur_igvalue = 0x20; in rtl8723e_dm_initial_gain_multi_sta() 200 dm_digtable->cur_igvalue = 0x20; in rtl8723e_dm_initial_gain_multi_sta() 232 dm_digtable->cur_igvalue = 0x20; in rtl8723e_dm_initial_gain_sta() 424 dm_digtable->cur_igvalue, dm_digtable->pre_igvalue, in rtl8723e_dm_write_dig() [all …]
|
D | phy.c | 1490 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl8723e_phy_set_io() 1495 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8723e_phy_set_io() 1496 dm_digtable->cur_igvalue = 0x17; in rtl8723e_phy_set_io()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | dm.c | 451 digtable->cur_igvalue = in _rtl92s_dm_initial_gain_sta_beforeconnect() 455 digtable->cur_igvalue = in _rtl92s_dm_initial_gain_sta_beforeconnect() 458 digtable->cur_igvalue = digtable->rssi_val + 10 in _rtl92s_dm_initial_gain_sta_beforeconnect() 462 digtable->cur_igvalue = in _rtl92s_dm_initial_gain_sta_beforeconnect() 463 (digtable->cur_igvalue > 0x33) ? in _rtl92s_dm_initial_gain_sta_beforeconnect() 464 digtable->cur_igvalue : 0x33; in _rtl92s_dm_initial_gain_sta_beforeconnect() 467 digtable->cur_igvalue = in _rtl92s_dm_initial_gain_sta_beforeconnect() 482 digtable->cur_igvalue = rtlpriv->phy.default_initialgain[0]; in _rtl92s_dm_initial_gain_sta_beforeconnect() 492 if ((digtable->pre_igvalue != digtable->cur_igvalue) || in _rtl92s_dm_initial_gain_sta_beforeconnect() 497 initial_gain = (u8)digtable->cur_igvalue; in _rtl92s_dm_initial_gain_sta_beforeconnect() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | dm_common.c | 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() 293 if (digtable->forbidden_igi < digtable->cur_igvalue) { in rtl92c_dm_ctrl_initgain_by_rssi() 294 digtable->forbidden_igi = digtable->cur_igvalue; in rtl92c_dm_ctrl_initgain_by_rssi() 349 digtable->cur_igvalue = digtable->pre_igvalue + 2; in rtl92c_dm_ctrl_initgain_by_rssi() 351 digtable->cur_igvalue = digtable->pre_igvalue + 1; in rtl92c_dm_ctrl_initgain_by_rssi() 353 digtable->cur_igvalue = digtable->pre_igvalue - 1; in rtl92c_dm_ctrl_initgain_by_rssi() 357 if (digtable->cur_igvalue > digtable->rx_gain_max) in rtl92c_dm_ctrl_initgain_by_rssi() 358 digtable->cur_igvalue = digtable->rx_gain_max; in rtl92c_dm_ctrl_initgain_by_rssi() 360 if (digtable->cur_igvalue < digtable->rx_gain_min) in rtl92c_dm_ctrl_initgain_by_rssi() [all …]
|
D | phy_common.c | 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | dm.c | 308 de_digtable->cur_igvalue, de_digtable->pre_igvalue, in rtl92d_dm_write_dig() 315 if (de_digtable->pre_igvalue != de_digtable->cur_igvalue) { in rtl92d_dm_write_dig() 317 de_digtable->cur_igvalue); in rtl92d_dm_write_dig() 319 de_digtable->cur_igvalue); in rtl92d_dm_write_dig() 320 de_digtable->pre_igvalue = de_digtable->cur_igvalue; in rtl92d_dm_write_dig() 352 u8 value_igi = de_digtable->cur_igvalue; in rtl92d_dm_dig() 403 if (de_digtable->forbidden_igi < de_digtable->cur_igvalue) { in rtl92d_dm_dig() 404 de_digtable->forbidden_igi = de_digtable->cur_igvalue; in rtl92d_dm_dig() 449 de_digtable->cur_igvalue = value_igi; in rtl92d_dm_dig()
|
D | phy.c | 2914 de_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl92d_phy_set_io() 2919 rtlphy->initgain_backup.xaagccore1 = de_digtable->cur_igvalue; in rtl92d_phy_set_io() 2920 de_digtable->cur_igvalue = 0x37; in rtl92d_phy_set_io()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | dm.c | 475 u8 current_igi = dm_dig->cur_igvalue; in rtl88e_dm_dig() 591 dm_dig->cur_igvalue = current_igi; in rtl88e_dm_dig() 695 dm_dig->cur_igvalue, dm_dig->pre_igvalue, in rtl88e_dm_write_dig() 698 if (dm_dig->cur_igvalue > 0x3f) in rtl88e_dm_write_dig() 699 dm_dig->cur_igvalue = 0x3f; in rtl88e_dm_write_dig() 700 if (dm_dig->pre_igvalue != dm_dig->cur_igvalue) { in rtl88e_dm_write_dig() 702 dm_dig->cur_igvalue); in rtl88e_dm_write_dig() 704 dm_dig->pre_igvalue = dm_dig->cur_igvalue; in rtl88e_dm_write_dig() 1743 u32 cur_igvalue = rtl_get_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f); in rtl88e_dm_init() local 1746 rtl_dm_diginit(hw, cur_igvalue); in rtl88e_dm_init()
|
D | phy.c | 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | dm.c | 136 u8 current_igi = dm_dig->cur_igvalue; in rtl92ee_dm_dig() 288 if (dm_dig->cur_igvalue != current_igi) { in rtl92ee_dm_write_dig() 293 dm_dig->pre_igvalue = dm_dig->cur_igvalue; in rtl92ee_dm_write_dig() 294 dm_dig->cur_igvalue = current_igi; in rtl92ee_dm_write_dig() 924 u32 cur_igvalue = rtl_get_bbreg(hw, DM_REG_IGI_A_11N, DM_BIT_IGI_11N); in rtl92ee_dm_init() local 928 rtl_dm_diginit(hw, cur_igvalue); in rtl92ee_dm_init()
|
D | phy.c | 3002 rtlphy->initgain_backup.xaagccore1 = dm_dig->cur_igvalue; in rtl92ee_phy_set_io()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | dm.c | 246 u32 cur_igvalue = rtl_get_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f); in rtl8723be_dm_init() local 249 rtl_dm_diginit(hw, cur_igvalue); in rtl8723be_dm_init() 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() 381 u8 current_igi = dm_digtable->cur_igvalue; in rtl8723be_dm_dig()
|
D | phy.c | 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | dm.c | 408 u32 cur_igvalue = rtl_get_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f); in rtl8821ae_dm_init() local 416 rtl_dm_diginit(hw, cur_igvalue); in rtl8821ae_dm_init() 607 if (dm_digtable->cur_igvalue != current_igi) { in rtl8821ae_dm_write_dig() 614 dm_digtable->cur_igvalue = current_igi; in rtl8821ae_dm_write_dig() 627 u8 current_igi = dm_digtable->cur_igvalue; in rtl8821ae_dm_dig()
|
D | phy.c | 4673 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8821ae_phy_set_io()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 1915 void rtl_dm_diginit(struct ieee80211_hw *hw, u32 cur_igvalue) in rtl_dm_diginit() argument 1922 dm_digtable->cur_igvalue = cur_igvalue; in rtl_dm_diginit()
|
D | wifi.h | 2542 u32 cur_igvalue; member
|