/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 1838 u32 ratr_value; in rtl8723e_update_hal_rate_table() local 1852 ratr_value = sta->supp_rates[1] << 4; in rtl8723e_update_hal_rate_table() 1854 ratr_value = sta->supp_rates[0]; in rtl8723e_update_hal_rate_table() 1856 ratr_value = 0xfff; in rtl8723e_update_hal_rate_table() 1857 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl8723e_update_hal_rate_table() 1861 if (ratr_value & 0x0000000c) in rtl8723e_update_hal_rate_table() 1862 ratr_value &= 0x0000000d; in rtl8723e_update_hal_rate_table() 1864 ratr_value &= 0x0000000f; in rtl8723e_update_hal_rate_table() 1867 ratr_value &= 0x00000FF5; in rtl8723e_update_hal_rate_table() 1878 ratr_value &= ratr_mask; in rtl8723e_update_hal_rate_table() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 1975 u32 ratr_value; in rtl88ee_update_hal_rate_table() local 1990 ratr_value = sta->supp_rates[1] << 4; in rtl88ee_update_hal_rate_table() 1992 ratr_value = sta->supp_rates[0]; in rtl88ee_update_hal_rate_table() 1994 ratr_value = 0xfff; in rtl88ee_update_hal_rate_table() 1995 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl88ee_update_hal_rate_table() 1999 if (ratr_value & 0x0000000c) in rtl88ee_update_hal_rate_table() 2000 ratr_value &= 0x0000000d; in rtl88ee_update_hal_rate_table() 2002 ratr_value &= 0x0000000f; in rtl88ee_update_hal_rate_table() 2005 ratr_value &= 0x00000FF5; in rtl88ee_update_hal_rate_table() 2016 ratr_value &= ratr_mask; in rtl88ee_update_hal_rate_table() [all …]
|
/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() 2123 u32 ratr_value = 0; in rtl92e_update_ratr_table() local 2128 ratr_value = rate_config | *pMcsRate << 12; in rtl92e_update_ratr_table() 2131 ratr_value &= 0x00000FF0; in rtl92e_update_ratr_table() 2134 ratr_value &= 0x0000000F; in rtl92e_update_ratr_table() 2138 ratr_value &= 0x00000FF7; in rtl92e_update_ratr_table() 2143 ratr_value &= 0x0007F007; in rtl92e_update_ratr_table() [all …]
|
D | rtl_dm.c | 396 u32 ratr_value; in _rtl92e_dm_check_rate_adaptive() local 398 ratr_value = targetRATR; in _rtl92e_dm_check_rate_adaptive() 403 ratr_value &= ~(RATE_ALL_OFDM_2SS); in _rtl92e_dm_check_rate_adaptive() 404 rtl92e_writel(dev, RATR0, ratr_value); in _rtl92e_dm_check_rate_adaptive() 1149 u32 ratr_value; in rtl92e_dm_restore_state() local 1162 ratr_value = reg_ratr; in rtl92e_dm_restore_state() 1164 ratr_value &= ~(RATE_ALL_OFDM_2SS); in rtl92e_dm_restore_state() 1165 rtl92e_writel(dev, RATR0, ratr_value); in rtl92e_dm_restore_state()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 3300 u32 ratr_value; in rtl8821ae_update_hal_rate_table() local 3314 ratr_value = sta->supp_rates[1] << 4; in rtl8821ae_update_hal_rate_table() 3316 ratr_value = sta->supp_rates[0]; in rtl8821ae_update_hal_rate_table() 3318 ratr_value = 0xfff; in rtl8821ae_update_hal_rate_table() 3319 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl8821ae_update_hal_rate_table() 3323 if (ratr_value & 0x0000000c) in rtl8821ae_update_hal_rate_table() 3324 ratr_value &= 0x0000000d; in rtl8821ae_update_hal_rate_table() 3326 ratr_value &= 0x0000000f; in rtl8821ae_update_hal_rate_table() 3329 ratr_value &= 0x00000FF5; in rtl8821ae_update_hal_rate_table() 3335 ratr_value &= 0x0007F005; in rtl8821ae_update_hal_rate_table() [all …]
|
/drivers/staging/rtl8192u/ |
D | r8192U_core.c | 1921 u32 ratr_value = 0; in rtl8192_update_ratr_table() local 1924 rtl8192_config_rate(dev, (u16 *)(&ratr_value)); in rtl8192_update_ratr_table() 1925 ratr_value |= (*(u16 *)(pMcsRate)) << 12; in rtl8192_update_ratr_table() 1928 ratr_value &= 0x00000FF0; in rtl8192_update_ratr_table() 1931 ratr_value &= 0x0000000F; in rtl8192_update_ratr_table() 1934 ratr_value &= 0x00000FF7; in rtl8192_update_ratr_table() 1939 ratr_value &= 0x0007F007; in rtl8192_update_ratr_table() 1942 ratr_value &= 0x000FF007; in rtl8192_update_ratr_table() 1944 ratr_value &= 0x0F81F007; in rtl8192_update_ratr_table() 1950 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()
|