Home
last modified time | relevance | path

Searched refs:ratr_value (Results 1 – 11 of 11) sorted by relevance

/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c2013 u32 ratr_value; in rtl92se_update_hal_rate_table() local
2027 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl92se_update_hal_rate_table()
2029 ratr_value = sta->deflink.supp_rates[0]; in rtl92se_update_hal_rate_table()
2031 ratr_value = 0xfff; in rtl92se_update_hal_rate_table()
2032 ratr_value |= (sta->deflink.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/
Dhw.c1798 u32 ratr_value; in rtl92de_update_hal_rate_table() local
1812 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl92de_update_hal_rate_table()
1814 ratr_value = sta->deflink.supp_rates[0]; in rtl92de_update_hal_rate_table()
1815 ratr_value |= (sta->deflink.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/staging/rtl8192e/rtl8192e/
Dr8192E_dev.c587 u32 ratr_value; in _rtl92e_hwconfig() local
589 ratr_value = regRATR; in _rtl92e_hwconfig()
591 ratr_value &= ~(RATE_ALL_OFDM_2SS); in _rtl92e_hwconfig()
592 rtl92e_writel(dev, RATR0, ratr_value); in _rtl92e_hwconfig()
1969 u32 ratr_value = 0; in rtl92e_update_ratr_table() local
1974 ratr_value = rate_config | *pMcsRate << 12; in rtl92e_update_ratr_table()
1977 ratr_value &= 0x00000FF0; in rtl92e_update_ratr_table()
1980 ratr_value &= 0x0000000F; in rtl92e_update_ratr_table()
1984 ratr_value &= 0x00000FF7; in rtl92e_update_ratr_table()
1989 ratr_value &= 0x0007F007; in rtl92e_update_ratr_table()
[all …]
Drtl_dm.c394 u32 ratr_value; in _rtl92e_dm_check_rate_adaptive() local
396 ratr_value = targetRATR; in _rtl92e_dm_check_rate_adaptive()
398 ratr_value &= ~(RATE_ALL_OFDM_2SS); in _rtl92e_dm_check_rate_adaptive()
399 rtl92e_writel(dev, RATR0, ratr_value); in _rtl92e_dm_check_rate_adaptive()
1042 u32 ratr_value; in rtl92e_dm_restore_state() local
1053 ratr_value = reg_ratr; in rtl92e_dm_restore_state()
1055 ratr_value &= ~(RATE_ALL_OFDM_2SS); in rtl92e_dm_restore_state()
1056 rtl92e_writel(dev, RATR0, ratr_value); in rtl92e_dm_restore_state()
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c1838 u32 ratr_value; in rtl8723e_update_hal_rate_table() local
1852 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl8723e_update_hal_rate_table()
1854 ratr_value = sta->deflink.supp_rates[0]; in rtl8723e_update_hal_rate_table()
1856 ratr_value = 0xfff; in rtl8723e_update_hal_rate_table()
1857 ratr_value |= (sta->deflink.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/rtl8192ce/
Dhw.c1762 u32 ratr_value; in rtl92ce_update_hal_rate_table() local
1776 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl92ce_update_hal_rate_table()
1778 ratr_value = sta->deflink.supp_rates[0]; in rtl92ce_update_hal_rate_table()
1780 ratr_value = 0xfff; in rtl92ce_update_hal_rate_table()
1782 ratr_value |= (sta->deflink.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/
Dhw.c1914 u32 ratr_value; in rtl92cu_update_hal_rate_table() local
1928 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl92cu_update_hal_rate_table()
1930 ratr_value = sta->deflink.supp_rates[0]; in rtl92cu_update_hal_rate_table()
1932 ratr_value = 0xfff; in rtl92cu_update_hal_rate_table()
1934 ratr_value |= (sta->deflink.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/rtl8188ee/
Dhw.c1975 u32 ratr_value; in rtl88ee_update_hal_rate_table() local
1990 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl88ee_update_hal_rate_table()
1992 ratr_value = sta->deflink.supp_rates[0]; in rtl88ee_update_hal_rate_table()
1994 ratr_value = 0xfff; in rtl88ee_update_hal_rate_table()
1995 ratr_value |= (sta->deflink.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/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c3300 u32 ratr_value; in rtl8821ae_update_hal_rate_table() local
3314 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl8821ae_update_hal_rate_table()
3316 ratr_value = sta->deflink.supp_rates[0]; in rtl8821ae_update_hal_rate_table()
3318 ratr_value = 0xfff; in rtl8821ae_update_hal_rate_table()
3319 ratr_value |= (sta->deflink.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/
Dr8192U_core.c1744 u32 ratr_value = 0; in rtl8192_update_ratr_table() local
1747 rtl8192_config_rate(dev, (u16 *)(&ratr_value)); in rtl8192_update_ratr_table()
1748 ratr_value |= (*(u16 *)(pMcsRate)) << 12; in rtl8192_update_ratr_table()
1751 ratr_value &= 0x00000FF0; in rtl8192_update_ratr_table()
1754 ratr_value &= 0x0000000F; in rtl8192_update_ratr_table()
1757 ratr_value &= 0x00000FF7; in rtl8192_update_ratr_table()
1762 ratr_value &= 0x0007F007; in rtl8192_update_ratr_table()
1765 ratr_value &= 0x000FF007; in rtl8192_update_ratr_table()
1767 ratr_value &= 0x0F81F007; in rtl8192_update_ratr_table()
1773 ratr_value &= 0x0FFFFFFF; in rtl8192_update_ratr_table()
[all …]
Dr8192U_dm.c397 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()