/linux-6.12.1/drivers/staging/rtl8723bs/hal/ |
D | odm_HWConfig.c | 76 s8 rx_pwr_all = 0x00; in odm_cck_rssi() local 83 rx_pwr_all = -34 - (2 * vga_idx); in odm_cck_rssi() 86 rx_pwr_all = -14 - (2 * vga_idx); in odm_cck_rssi() 89 rx_pwr_all = 6 - (2 * vga_idx); in odm_cck_rssi() 92 rx_pwr_all = 16 - (2 * vga_idx); in odm_cck_rssi() 98 return rx_pwr_all; in odm_cck_rssi() 107 s8 rx_pwr[4], rx_pwr_all = 0; in odm_rx_phy_status_parsing() local 139 rx_pwr_all = odm_cck_rssi(lna_idx, vga_idx); in odm_rx_phy_status_parsing() 140 pwdb_all = odm_query_rx_pwr_percentage(rx_pwr_all); in odm_rx_phy_status_parsing() 146 phy_info->recv_signal_power = rx_pwr_all; in odm_rx_phy_status_parsing() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | trx.c | 68 s8 rx_pwr_all = 0, rx_pwr[4]; in query_rxphystatus() local 101 rx_pwr_all = -100 + 2*(27-vga_idx); in query_rxphystatus() 103 rx_pwr_all = -100; in query_rxphystatus() 107 rx_pwr_all = -48 + 2*(2-vga_idx); in query_rxphystatus() 111 rx_pwr_all = -42 + 2*(7-vga_idx); in query_rxphystatus() 115 rx_pwr_all = -36 + 2*(7-vga_idx); in query_rxphystatus() 119 rx_pwr_all = -24 + 2*(7-vga_idx); in query_rxphystatus() 124 rx_pwr_all = -12 + 2*(5-vga_idx); in query_rxphystatus() 126 rx_pwr_all = -6 + 2*(5-vga_idx); in query_rxphystatus() 129 rx_pwr_all = 8-2*vga_idx; in query_rxphystatus() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
D | trx_common.c | 32 s8 rx_pwr_all, rx_pwr[4]; in _rtl92d_query_rxphystatus() local 63 rx_pwr_all = -46 - (cck_agc_rpt & 0x3e); in _rtl92d_query_rxphystatus() 66 rx_pwr_all = -26 - (cck_agc_rpt & 0x3e); in _rtl92d_query_rxphystatus() 69 rx_pwr_all = -12 - (cck_agc_rpt & 0x3e); in _rtl92d_query_rxphystatus() 72 rx_pwr_all = 16 - (cck_agc_rpt & 0x3e); in _rtl92d_query_rxphystatus() 82 rx_pwr_all = -46 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92d_query_rxphystatus() 85 rx_pwr_all = -26 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92d_query_rxphystatus() 88 rx_pwr_all = -12 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92d_query_rxphystatus() 91 rx_pwr_all = 16 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92d_query_rxphystatus() 95 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92d_query_rxphystatus() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | trx.c | 37 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl92ce_query_rxphystatus() local 70 rx_pwr_all = -46 - (cck_agc_rpt & 0x3e); in _rtl92ce_query_rxphystatus() 73 rx_pwr_all = -26 - (cck_agc_rpt & 0x3e); in _rtl92ce_query_rxphystatus() 76 rx_pwr_all = -12 - (cck_agc_rpt & 0x3e); in _rtl92ce_query_rxphystatus() 79 rx_pwr_all = 16 - (cck_agc_rpt & 0x3e); in _rtl92ce_query_rxphystatus() 89 rx_pwr_all = -46 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92ce_query_rxphystatus() 92 rx_pwr_all = -26 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92ce_query_rxphystatus() 95 rx_pwr_all = -12 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92ce_query_rxphystatus() 98 rx_pwr_all = 16 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92ce_query_rxphystatus() 103 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92ce_query_rxphystatus() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | trx.c | 45 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl92se_query_rxphystatus() local 74 rx_pwr_all = -40 - (cck_agc_rpt & 0x3e); in _rtl92se_query_rxphystatus() 77 rx_pwr_all = -20 - (cck_agc_rpt & 0x3e); in _rtl92se_query_rxphystatus() 80 rx_pwr_all = -2 - (cck_agc_rpt & 0x3e); in _rtl92se_query_rxphystatus() 83 rx_pwr_all = 14 - (cck_agc_rpt & 0x3e); in _rtl92se_query_rxphystatus() 92 rx_pwr_all = -40 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92se_query_rxphystatus() 95 rx_pwr_all = -20 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92se_query_rxphystatus() 98 rx_pwr_all = -2 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92se_query_rxphystatus() 101 rx_pwr_all = 14 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92se_query_rxphystatus() 106 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92se_query_rxphystatus() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | trx.c | 35 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl8723e_query_rxphystatus() local 71 rx_pwr_all = -46 - (cck_agc_rpt & 0x3e); in _rtl8723e_query_rxphystatus() 74 rx_pwr_all = -26 - (cck_agc_rpt & 0x3e); in _rtl8723e_query_rxphystatus() 77 rx_pwr_all = -12 - (cck_agc_rpt & 0x3e); in _rtl8723e_query_rxphystatus() 80 rx_pwr_all = 16 - (cck_agc_rpt & 0x3e); in _rtl8723e_query_rxphystatus() 89 rx_pwr_all = -46 - ((cck_agc_rpt & 0x1f) << 1); in _rtl8723e_query_rxphystatus() 92 rx_pwr_all = -26 - ((cck_agc_rpt & 0x1f) << 1); in _rtl8723e_query_rxphystatus() 95 rx_pwr_all = -12 - ((cck_agc_rpt & 0x1f) << 1); in _rtl8723e_query_rxphystatus() 98 rx_pwr_all = 16 - ((cck_agc_rpt & 0x1f) << 1); in _rtl8723e_query_rxphystatus() 103 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl8723e_query_rxphystatus() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | trx.c | 39 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl88ee_query_rxphystatus() local 77 rx_pwr_all = -100 + 2*(27-vga_idx); in _rtl88ee_query_rxphystatus() 79 rx_pwr_all = -100; in _rtl88ee_query_rxphystatus() 83 rx_pwr_all = -48 + 2*(2-vga_idx); in _rtl88ee_query_rxphystatus() 87 rx_pwr_all = -42 + 2*(7-vga_idx); in _rtl88ee_query_rxphystatus() 91 rx_pwr_all = -36 + 2*(7-vga_idx); in _rtl88ee_query_rxphystatus() 95 rx_pwr_all = -24 + 2*(7-vga_idx); in _rtl88ee_query_rxphystatus() 100 rx_pwr_all = -12 + 2*(5-vga_idx); in _rtl88ee_query_rxphystatus() 102 rx_pwr_all = -6 + 2*(5-vga_idx); in _rtl88ee_query_rxphystatus() 105 rx_pwr_all = 8-2*vga_idx; in _rtl88ee_query_rxphystatus() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | mac.c | 581 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl92c_query_rxphystatus() local 611 rx_pwr_all = -46 - (cck_agc_rpt & 0x3e); in _rtl92c_query_rxphystatus() 614 rx_pwr_all = -26 - (cck_agc_rpt & 0x3e); in _rtl92c_query_rxphystatus() 617 rx_pwr_all = -12 - (cck_agc_rpt & 0x3e); in _rtl92c_query_rxphystatus() 620 rx_pwr_all = 16 - (cck_agc_rpt & 0x3e); in _rtl92c_query_rxphystatus() 630 rx_pwr_all = -46 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92c_query_rxphystatus() 633 rx_pwr_all = -26 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92c_query_rxphystatus() 636 rx_pwr_all = -12 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92c_query_rxphystatus() 639 rx_pwr_all = 16 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92c_query_rxphystatus() 643 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92c_query_rxphystatus() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | trx.c | 37 s8 rx_pwr_all, rx_pwr[4]; in _rtl92ee_query_rxphystatus() local 69 rx_pwr_all = -100 + 2 * (27 - vga_idx); in _rtl92ee_query_rxphystatus() 71 rx_pwr_all = -100; in _rtl92ee_query_rxphystatus() 74 rx_pwr_all = -48 + 2 * (2 - vga_idx); in _rtl92ee_query_rxphystatus() 77 rx_pwr_all = -42 + 2 * (7 - vga_idx); in _rtl92ee_query_rxphystatus() 80 rx_pwr_all = -36 + 2 * (7 - vga_idx); in _rtl92ee_query_rxphystatus() 83 rx_pwr_all = -24 + 2 * (7 - vga_idx); in _rtl92ee_query_rxphystatus() 87 rx_pwr_all = -12 + 2 * (5 - vga_idx); in _rtl92ee_query_rxphystatus() 89 rx_pwr_all = -6 + 2 * (5 - vga_idx); in _rtl92ee_query_rxphystatus() 92 rx_pwr_all = 8 - 2 * vga_idx; in _rtl92ee_query_rxphystatus() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | trx.c | 38 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl8723be_query_rxphystatus() local 70 rx_pwr_all = -34 - (2 * vga_idx); in _rtl8723be_query_rxphystatus() 73 rx_pwr_all = -14 - (2 * vga_idx); in _rtl8723be_query_rxphystatus() 76 rx_pwr_all = 6 - (2 * vga_idx); in _rtl8723be_query_rxphystatus() 79 rx_pwr_all = 16 - (2 * vga_idx); in _rtl8723be_query_rxphystatus() 85 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl8723be_query_rxphystatus() 91 pstatus->recvsignalpower = rx_pwr_all; in _rtl8723be_query_rxphystatus() 132 rx_pwr_all = ((p_phystrpt->cck_sig_qual_ofdm_pwdb_all >> 1) & in _rtl8723be_query_rxphystatus() 135 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl8723be_query_rxphystatus() 139 pstatus->rxpower = rx_pwr_all; in _rtl8723be_query_rxphystatus() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtl8xxxu/ |
D | 8723a.c | 446 s8 rx_pwr_all = 0x00; in rtl8723a_cck_rssi() local 450 rx_pwr_all = -46 - (cck_agc_rpt & 0x3e); in rtl8723a_cck_rssi() 453 rx_pwr_all = -26 - (cck_agc_rpt & 0x3e); in rtl8723a_cck_rssi() 456 rx_pwr_all = -12 - (cck_agc_rpt & 0x3e); in rtl8723a_cck_rssi() 459 rx_pwr_all = 16 - (cck_agc_rpt & 0x3e); in rtl8723a_cck_rssi() 463 return rx_pwr_all; in rtl8723a_cck_rssi()
|
D | 8710b.c | 1791 s8 rx_pwr_all = 0x00; in rtl8710b_cck_rssi() local 1795 rx_pwr_all = -52 - (2 * vga_idx); in rtl8710b_cck_rssi() 1798 rx_pwr_all = -42 - (2 * vga_idx); in rtl8710b_cck_rssi() 1801 rx_pwr_all = -36 - (2 * vga_idx); in rtl8710b_cck_rssi() 1804 rx_pwr_all = -12 - (2 * vga_idx); in rtl8710b_cck_rssi() 1807 rx_pwr_all = 0 - (2 * vga_idx); in rtl8710b_cck_rssi() 1810 rx_pwr_all = 0; in rtl8710b_cck_rssi() 1814 return rx_pwr_all; in rtl8710b_cck_rssi()
|
D | 8188f.c | 1679 s8 rx_pwr_all = 0x00; in rtl8188f_cck_rssi() local 1688 rx_pwr_all = -100 + 2 * (27 - vga_idx); in rtl8188f_cck_rssi() 1690 rx_pwr_all = -100; in rtl8188f_cck_rssi() 1693 rx_pwr_all = -74 + 2 * (21 - vga_idx); in rtl8188f_cck_rssi() 1696 rx_pwr_all = -60 + 2 * (20 - vga_idx); in rtl8188f_cck_rssi() 1699 rx_pwr_all = -44 + 2 * (19 - vga_idx); in rtl8188f_cck_rssi() 1705 return rx_pwr_all; in rtl8188f_cck_rssi()
|
D | 8723b.c | 1662 s8 rx_pwr_all = 0x00; in rtl8723b_cck_rssi() local 1670 rx_pwr_all = -34 - (2 * vga_idx); in rtl8723b_cck_rssi() 1673 rx_pwr_all = -14 - (2 * vga_idx); in rtl8723b_cck_rssi() 1676 rx_pwr_all = 6 - (2 * vga_idx); in rtl8723b_cck_rssi() 1679 rx_pwr_all = 16 - (2 * vga_idx); in rtl8723b_cck_rssi() 1685 return rx_pwr_all; in rtl8723b_cck_rssi()
|
D | 8192f.c | 1972 s8 rx_pwr_all; in rtl8192f_cck_rssi() local 1976 rx_pwr_all = -44 - (2 * vga_idx); in rtl8192f_cck_rssi() 1979 rx_pwr_all = -28 - (2 * vga_idx); in rtl8192f_cck_rssi() 1982 rx_pwr_all = -10 - (2 * vga_idx); in rtl8192f_cck_rssi() 1985 rx_pwr_all = 14 - (2 * vga_idx); in rtl8192f_cck_rssi() 1988 rx_pwr_all = 0; in rtl8192f_cck_rssi() 1992 return rx_pwr_all; in rtl8192f_cck_rssi()
|
D | 8192e.c | 1681 s8 rx_pwr_all = 0x00; in rtl8192e_cck_rssi() local 1693 rx_pwr_all = lna_gain - (2 * vga_idx); in rtl8192e_cck_rssi() 1695 return rx_pwr_all; in rtl8192e_cck_rssi()
|
D | 8188e.c | 1317 s8 rx_pwr_all = 0x00; in rtl8188e_cck_rssi() local 1329 rx_pwr_all = lna_gain - (2 * vga_idx); in rtl8188e_cck_rssi() 1331 return rx_pwr_all; in rtl8188e_cck_rssi()
|
/linux-6.12.1/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 704 s8 rx_pwr[4], rx_pwr_all; in query_rx_phy_status() local 732 rx_pwr_all = -40 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status() 736 rx_pwr_all = -20 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status() 740 rx_pwr_all = -2 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status() 744 rx_pwr_all = 14 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status() 754 rx_pwr_all = -40 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status() 758 rx_pwr_all = -20 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status() 762 rx_pwr_all = -2 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status() 766 rx_pwr_all = 14 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status() 771 pwdb_all = query_rx_pwr_percentage(rx_pwr_all); in query_rx_phy_status() [all …]
|
/linux-6.12.1/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.c | 1162 s8 rx_pwr[RF90_PATH_MAX], rx_pwr_all = 0; in _rtl92e_query_rxphystatus() local 1206 rx_pwr_all = -35 - (pcck_buf->cck_agc_rpt & in _rtl92e_query_rxphystatus() 1210 rx_pwr_all = -23 - (pcck_buf->cck_agc_rpt & in _rtl92e_query_rxphystatus() 1214 rx_pwr_all = -11 - (pcck_buf->cck_agc_rpt & in _rtl92e_query_rxphystatus() 1218 rx_pwr_all = 8 - (pcck_buf->cck_agc_rpt & 0x3e); in _rtl92e_query_rxphystatus() 1226 rx_pwr_all = -35 - in _rtl92e_query_rxphystatus() 1231 rx_pwr_all = -23 - in _rtl92e_query_rxphystatus() 1236 rx_pwr_all = -11 - in _rtl92e_query_rxphystatus() 1241 rx_pwr_all = -8 - in _rtl92e_query_rxphystatus() 1248 pwdb_all = rtl92e_rx_db_to_percent(rx_pwr_all); in _rtl92e_query_rxphystatus() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/ |
D | rtw8821c.c | 591 s8 rx_pwr_all = 0; in get_cck_rx_pwr() local 608 rx_pwr_all = lna_gain - 2 * vga_idx; in get_cck_rx_pwr() 610 return rx_pwr_all; in get_cck_rx_pwr()
|