Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dhw.c2004 u32 ratr_value; in rtl92se_update_hal_rate_table() local
2018 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl92se_update_hal_rate_table()
2020 ratr_value = sta->deflink.supp_rates[0]; in rtl92se_update_hal_rate_table()
2022 ratr_value = 0xfff; in rtl92se_update_hal_rate_table()
2023 ratr_value |= (sta->deflink.ht_cap.mcs.rx_mask[1] << 20 | in rtl92se_update_hal_rate_table()
2027 ratr_value &= 0x0000000D; in rtl92se_update_hal_rate_table()
2030 ratr_value &= 0x00000FF5; in rtl92se_update_hal_rate_table()
2036 ratr_value &= 0x0007F005; in rtl92se_update_hal_rate_table()
2053 ratr_value &= ratr_mask; in rtl92se_update_hal_rate_table()
2058 ratr_value &= 0x000ff0ff; in rtl92se_update_hal_rate_table()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dhw.c1792 u32 ratr_value; in rtl92de_update_hal_rate_table() local
1806 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl92de_update_hal_rate_table()
1808 ratr_value = sta->deflink.supp_rates[0]; in rtl92de_update_hal_rate_table()
1809 ratr_value |= (sta->deflink.ht_cap.mcs.rx_mask[1] << 20 | in rtl92de_update_hal_rate_table()
1813 ratr_value &= 0x00000FF0; in rtl92de_update_hal_rate_table()
1816 if (ratr_value & 0x0000000c) in rtl92de_update_hal_rate_table()
1817 ratr_value &= 0x0000000d; in rtl92de_update_hal_rate_table()
1819 ratr_value &= 0x0000000f; in rtl92de_update_hal_rate_table()
1822 ratr_value &= 0x00000FF5; in rtl92de_update_hal_rate_table()
1828 ratr_value &= 0x0007F005; in rtl92de_update_hal_rate_table()
[all …]
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_dev.c483 u32 ratr_value; in _rtl92e_hwconfig() local
485 ratr_value = regRATR; in _rtl92e_hwconfig()
486 ratr_value &= ~(RATE_ALL_OFDM_2SS); in _rtl92e_hwconfig()
487 rtl92e_writel(dev, RATR0, ratr_value); in _rtl92e_hwconfig()
1806 u32 ratr_value = 0; in rtl92e_update_ratr_table() local
1811 ratr_value = rate_config | *pMcsRate << 12; in rtl92e_update_ratr_table()
1814 ratr_value &= 0x0000000F; in rtl92e_update_ratr_table()
1818 ratr_value &= 0x00000FF7; in rtl92e_update_ratr_table()
1822 ratr_value &= 0x0007F007; in rtl92e_update_ratr_table()
1824 ratr_value &= 0x000FF007; in rtl92e_update_ratr_table()
[all …]
H A Drtl_dm.c368 u32 ratr_value; in _rtl92e_dm_check_rate_adaptive() local
370 ratr_value = target_ratr; in _rtl92e_dm_check_rate_adaptive()
371 ratr_value &= ~(RATE_ALL_OFDM_2SS); in _rtl92e_dm_check_rate_adaptive()
372 rtl92e_writel(dev, RATR0, ratr_value); in _rtl92e_dm_check_rate_adaptive()
939 u32 ratr_value; in rtl92e_dm_restore_state() local
948 ratr_value = reg_ratr; in rtl92e_dm_restore_state()
949 ratr_value &= ~(RATE_ALL_OFDM_2SS); in rtl92e_dm_restore_state()
950 rtl92e_writel(dev, RATR0, ratr_value); in rtl92e_dm_restore_state()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A 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 …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A 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 …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dhw.c1771 u32 ratr_value; in rtl92ce_update_hal_rate_table() local
1785 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl92ce_update_hal_rate_table()
1787 ratr_value = sta->deflink.supp_rates[0]; in rtl92ce_update_hal_rate_table()
1789 ratr_value = 0xfff; in rtl92ce_update_hal_rate_table()
1791 ratr_value |= (sta->deflink.ht_cap.mcs.rx_mask[1] << 20 | in rtl92ce_update_hal_rate_table()
1795 if (ratr_value & 0x0000000c) in rtl92ce_update_hal_rate_table()
1796 ratr_value &= 0x0000000d; in rtl92ce_update_hal_rate_table()
1798 ratr_value &= 0x0000000f; in rtl92ce_update_hal_rate_table()
1801 ratr_value &= 0x00000FF5; in rtl92ce_update_hal_rate_table()
1812 ratr_value &= ratr_mask; in rtl92ce_update_hal_rate_table()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A 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 …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A 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 …]
/openbmc/linux/drivers/staging/rtl8192u/
H A 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 …]
H A Dr8192U_dm.c353 u32 ratr_value; in dm_check_rate_adaptive() local
355 ratr_value = targetRATR; in dm_check_rate_adaptive()
358 ratr_value &= ~(RATE_ALL_OFDM_2SS); in dm_check_rate_adaptive()
359 write_nic_dword(dev, RATR0, ratr_value); in dm_check_rate_adaptive()
1449 u32 ratr_value; in dm_restore_dynamic_mechanism_state() local
1451 ratr_value = reg_ratr; in dm_restore_dynamic_mechanism_state()
1453 ratr_value &= ~(RATE_ALL_OFDM_2SS); in dm_restore_dynamic_mechanism_state()
1455 write_nic_dword(dev, RATR0, ratr_value); in dm_restore_dynamic_mechanism_state()