/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | hw.c | 2013 u32 ratr_value; in rtl92se_update_hal_rate_table() local 2027 ratr_value = sta->supp_rates[1] << 4; in rtl92se_update_hal_rate_table() 2029 ratr_value = sta->supp_rates[0]; in rtl92se_update_hal_rate_table() 2031 ratr_value = 0xfff; in rtl92se_update_hal_rate_table() 2032 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl92se_update_hal_rate_table() 2036 ratr_value &= 0x0000000D; in rtl92se_update_hal_rate_table() 2039 ratr_value &= 0x00000FF5; in rtl92se_update_hal_rate_table() 2045 ratr_value &= 0x0007F005; in rtl92se_update_hal_rate_table() 2062 ratr_value &= ratr_mask; in rtl92se_update_hal_rate_table() 2067 ratr_value &= 0x000ff0ff; in rtl92se_update_hal_rate_table() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 1798 u32 ratr_value; in rtl92de_update_hal_rate_table() local 1812 ratr_value = sta->supp_rates[1] << 4; in rtl92de_update_hal_rate_table() 1814 ratr_value = sta->supp_rates[0]; in rtl92de_update_hal_rate_table() 1815 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl92de_update_hal_rate_table() 1819 ratr_value &= 0x00000FF0; in rtl92de_update_hal_rate_table() 1822 if (ratr_value & 0x0000000c) in rtl92de_update_hal_rate_table() 1823 ratr_value &= 0x0000000d; in rtl92de_update_hal_rate_table() 1825 ratr_value &= 0x0000000f; in rtl92de_update_hal_rate_table() 1828 ratr_value &= 0x00000FF5; in rtl92de_update_hal_rate_table() 1834 ratr_value &= 0x0007F005; in rtl92de_update_hal_rate_table() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 1839 u32 ratr_value; in rtl8723e_update_hal_rate_table() local 1853 ratr_value = sta->supp_rates[1] << 4; in rtl8723e_update_hal_rate_table() 1855 ratr_value = sta->supp_rates[0]; in rtl8723e_update_hal_rate_table() 1857 ratr_value = 0xfff; in rtl8723e_update_hal_rate_table() 1858 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl8723e_update_hal_rate_table() 1862 if (ratr_value & 0x0000000c) in rtl8723e_update_hal_rate_table() 1863 ratr_value &= 0x0000000d; in rtl8723e_update_hal_rate_table() 1865 ratr_value &= 0x0000000f; in rtl8723e_update_hal_rate_table() 1868 ratr_value &= 0x00000FF5; in rtl8723e_update_hal_rate_table() 1879 ratr_value &= ratr_mask; in rtl8723e_update_hal_rate_table() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 1914 u32 ratr_value; in rtl92cu_update_hal_rate_table() local 1928 ratr_value = sta->supp_rates[1] << 4; in rtl92cu_update_hal_rate_table() 1930 ratr_value = sta->supp_rates[0]; in rtl92cu_update_hal_rate_table() 1932 ratr_value = 0xfff; in rtl92cu_update_hal_rate_table() 1934 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl92cu_update_hal_rate_table() 1938 if (ratr_value & 0x0000000c) in rtl92cu_update_hal_rate_table() 1939 ratr_value &= 0x0000000d; in rtl92cu_update_hal_rate_table() 1941 ratr_value &= 0x0000000f; in rtl92cu_update_hal_rate_table() 1944 ratr_value &= 0x00000FF5; in rtl92cu_update_hal_rate_table() 1950 ratr_value &= 0x0007F005; in rtl92cu_update_hal_rate_table() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 1762 u32 ratr_value; in rtl92ce_update_hal_rate_table() local 1776 ratr_value = sta->supp_rates[1] << 4; in rtl92ce_update_hal_rate_table() 1778 ratr_value = sta->supp_rates[0]; in rtl92ce_update_hal_rate_table() 1780 ratr_value = 0xfff; in rtl92ce_update_hal_rate_table() 1782 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl92ce_update_hal_rate_table() 1786 if (ratr_value & 0x0000000c) in rtl92ce_update_hal_rate_table() 1787 ratr_value &= 0x0000000d; in rtl92ce_update_hal_rate_table() 1789 ratr_value &= 0x0000000f; in rtl92ce_update_hal_rate_table() 1792 ratr_value &= 0x00000FF5; in rtl92ce_update_hal_rate_table() 1803 ratr_value &= ratr_mask; in rtl92ce_update_hal_rate_table() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.c | 668 u32 ratr_value; in _rtl92e_hwconfig() local 670 ratr_value = regRATR; in _rtl92e_hwconfig() 672 ratr_value &= ~(RATE_ALL_OFDM_2SS); in _rtl92e_hwconfig() 673 rtl92e_writel(dev, RATR0, ratr_value); in _rtl92e_hwconfig() 2125 u32 ratr_value = 0; in rtl92e_update_ratr_table() local 2130 ratr_value = rate_config | *pMcsRate << 12; in rtl92e_update_ratr_table() 2133 ratr_value &= 0x00000FF0; in rtl92e_update_ratr_table() 2136 ratr_value &= 0x0000000F; in rtl92e_update_ratr_table() 2140 ratr_value &= 0x00000FF7; in rtl92e_update_ratr_table() 2145 ratr_value &= 0x0007F007; in rtl92e_update_ratr_table() [all …]
|
D | rtl_dm.c | 423 u32 ratr_value; in _rtl92e_dm_check_rate_adaptive() local 425 ratr_value = targetRATR; in _rtl92e_dm_check_rate_adaptive() 430 ratr_value &= ~(RATE_ALL_OFDM_2SS); in _rtl92e_dm_check_rate_adaptive() 431 rtl92e_writel(dev, RATR0, ratr_value); in _rtl92e_dm_check_rate_adaptive() 1176 u32 ratr_value; in rtl92e_dm_restore_state() local 1189 ratr_value = reg_ratr; in rtl92e_dm_restore_state() 1191 ratr_value &= ~(RATE_ALL_OFDM_2SS); in rtl92e_dm_restore_state() 1192 rtl92e_writel(dev, RATR0, ratr_value); in rtl92e_dm_restore_state()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 1972 u32 ratr_value; in rtl88ee_update_hal_rate_table() local 1987 ratr_value = sta->supp_rates[1] << 4; in rtl88ee_update_hal_rate_table() 1989 ratr_value = sta->supp_rates[0]; in rtl88ee_update_hal_rate_table() 1991 ratr_value = 0xfff; in rtl88ee_update_hal_rate_table() 1992 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl88ee_update_hal_rate_table() 1996 if (ratr_value & 0x0000000c) in rtl88ee_update_hal_rate_table() 1997 ratr_value &= 0x0000000d; in rtl88ee_update_hal_rate_table() 1999 ratr_value &= 0x0000000f; in rtl88ee_update_hal_rate_table() 2002 ratr_value &= 0x00000FF5; in rtl88ee_update_hal_rate_table() 2013 ratr_value &= ratr_mask; in rtl88ee_update_hal_rate_table() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 3296 u32 ratr_value; in rtl8821ae_update_hal_rate_table() local 3310 ratr_value = sta->supp_rates[1] << 4; in rtl8821ae_update_hal_rate_table() 3312 ratr_value = sta->supp_rates[0]; in rtl8821ae_update_hal_rate_table() 3314 ratr_value = 0xfff; in rtl8821ae_update_hal_rate_table() 3315 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl8821ae_update_hal_rate_table() 3319 if (ratr_value & 0x0000000c) in rtl8821ae_update_hal_rate_table() 3320 ratr_value &= 0x0000000d; in rtl8821ae_update_hal_rate_table() 3322 ratr_value &= 0x0000000f; in rtl8821ae_update_hal_rate_table() 3325 ratr_value &= 0x00000FF5; in rtl8821ae_update_hal_rate_table() 3331 ratr_value &= 0x0007F005; in rtl8821ae_update_hal_rate_table() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ |
D | r8192U_core.c | 1920 u32 ratr_value = 0; in rtl8192_update_ratr_table() local 1923 rtl8192_config_rate(dev, (u16 *)(&ratr_value)); in rtl8192_update_ratr_table() 1924 ratr_value |= (*(u16 *)(pMcsRate)) << 12; in rtl8192_update_ratr_table() 1927 ratr_value &= 0x00000FF0; in rtl8192_update_ratr_table() 1930 ratr_value &= 0x0000000F; in rtl8192_update_ratr_table() 1933 ratr_value &= 0x00000FF7; in rtl8192_update_ratr_table() 1938 ratr_value &= 0x0007F007; in rtl8192_update_ratr_table() 1941 ratr_value &= 0x000FF007; in rtl8192_update_ratr_table() 1943 ratr_value &= 0x0F81F007; in rtl8192_update_ratr_table() 1949 ratr_value &= 0x0FFFFFFF; in rtl8192_update_ratr_table() [all …]
|
D | r8192U_dm.c | 397 u32 ratr_value; in dm_check_rate_adaptive() local 399 ratr_value = targetRATR; in dm_check_rate_adaptive() 402 ratr_value &= ~(RATE_ALL_OFDM_2SS); in dm_check_rate_adaptive() 403 write_nic_dword(dev, RATR0, ratr_value); in dm_check_rate_adaptive() 1506 u32 ratr_value; in dm_restore_dynamic_mechanism_state() local 1508 ratr_value = reg_ratr; in dm_restore_dynamic_mechanism_state() 1510 ratr_value &= ~(RATE_ALL_OFDM_2SS); in dm_restore_dynamic_mechanism_state() 1515 write_nic_dword(dev, RATR0, ratr_value); in dm_restore_dynamic_mechanism_state()
|