Home
last modified time | relevance | path

Searched refs:rx_pwr_all (Results 1 – 19 of 19) sorted by relevance

/linux-6.3-rc2/drivers/staging/rtl8723bs/hal/
A Dodm_HWConfig.c76 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()
146 phy_info->recv_signal_power = rx_pwr_all; in odm_rx_phy_status_parsing()
209 phy_info->rx_power = rx_pwr_all; in odm_rx_phy_status_parsing()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
A Dtrx.c68 s8 rx_pwr_all = 0, rx_pwr[4]; in query_rxphystatus() local
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()
126 rx_pwr_all = -6 + 2*(5-vga_idx); in query_rxphystatus()
129 rx_pwr_all = 8-2*vga_idx; in query_rxphystatus()
132 rx_pwr_all = 14-2*vga_idx; in query_rxphystatus()
137 rx_pwr_all += 6; in query_rxphystatus()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
A Dtrx.c45 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()
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()
124 pstats->recvsignalpower = rx_pwr_all; in _rtl92se_query_rxphystatus()
165 pstats->rxpower = rx_pwr_all; in _rtl92se_query_rxphystatus()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
A Dtrx.c35 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()
98 rx_pwr_all = 16 - ((cck_agc_rpt & 0x1f) << 1); in _rtl8723e_query_rxphystatus()
124 pstatus->recvsignalpower = rx_pwr_all; in _rtl8723e_query_rxphystatus()
180 pstatus->rxpower = rx_pwr_all; in _rtl8723e_query_rxphystatus()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
A Dtrx.c37 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()
98 rx_pwr_all = 16 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92ce_query_rxphystatus()
124 pstats->recvsignalpower = rx_pwr_all; in _rtl92ce_query_rxphystatus()
175 pstats->rxpower = rx_pwr_all; in _rtl92ce_query_rxphystatus()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
A Dtrx.c39 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl88ee_query_rxphystatus() local
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()
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()
108 rx_pwr_all = 14-2*vga_idx; in _rtl88ee_query_rxphystatus()
113 rx_pwr_all += 6; in _rtl88ee_query_rxphystatus()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
A Dmac.c580 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl92c_query_rxphystatus() local
610 rx_pwr_all = -46 - (cck_agc_rpt & 0x3e); in _rtl92c_query_rxphystatus()
613 rx_pwr_all = -26 - (cck_agc_rpt & 0x3e); in _rtl92c_query_rxphystatus()
616 rx_pwr_all = -12 - (cck_agc_rpt & 0x3e); in _rtl92c_query_rxphystatus()
619 rx_pwr_all = 16 - (cck_agc_rpt & 0x3e); in _rtl92c_query_rxphystatus()
629 rx_pwr_all = -46 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92c_query_rxphystatus()
632 rx_pwr_all = -26 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92c_query_rxphystatus()
638 rx_pwr_all = 16 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92c_query_rxphystatus()
644 pstats->recvsignalpower = rx_pwr_all; in _rtl92c_query_rxphystatus()
682 pstats->rxpower = rx_pwr_all; in _rtl92c_query_rxphystatus()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
A Dtrx.c37 s8 rx_pwr_all, rx_pwr[4]; in _rtl92ee_query_rxphystatus() local
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()
92 rx_pwr_all = 8 - 2 * vga_idx; in _rtl92ee_query_rxphystatus()
95 rx_pwr_all = 14 - 2 * vga_idx; in _rtl92ee_query_rxphystatus()
98 rx_pwr_all = 0; in _rtl92ee_query_rxphystatus()
101 rx_pwr_all += 16; in _rtl92ee_query_rxphystatus()
116 pstatus->recvsignalpower = rx_pwr_all; in _rtl92ee_query_rxphystatus()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
A Dtrx.c47 s8 rx_pwr_all, rx_pwr[4]; in _rtl92de_query_rxphystatus() local
76 rx_pwr_all = -46 - (cck_agc_rpt & 0x3e); in _rtl92de_query_rxphystatus()
79 rx_pwr_all = -26 - (cck_agc_rpt & 0x3e); in _rtl92de_query_rxphystatus()
82 rx_pwr_all = -12 - (cck_agc_rpt & 0x3e); in _rtl92de_query_rxphystatus()
85 rx_pwr_all = 16 - (cck_agc_rpt & 0x3e); in _rtl92de_query_rxphystatus()
94 rx_pwr_all = -46 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92de_query_rxphystatus()
97 rx_pwr_all = -26 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92de_query_rxphystatus()
103 rx_pwr_all = 16 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92de_query_rxphystatus()
123 pstats->recvsignalpower = rx_pwr_all; in _rtl92de_query_rxphystatus()
159 pstats->rxpower = rx_pwr_all; in _rtl92de_query_rxphystatus()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtl8xxxu/
A Drtl8xxxu_8723a.c440 s8 rx_pwr_all = 0x00; in rtl8723a_cck_rssi() local
444 rx_pwr_all = -46 - (cck_agc_rpt & 0x3e); in rtl8723a_cck_rssi()
447 rx_pwr_all = -26 - (cck_agc_rpt & 0x3e); in rtl8723a_cck_rssi()
450 rx_pwr_all = -12 - (cck_agc_rpt & 0x3e); in rtl8723a_cck_rssi()
453 rx_pwr_all = 16 - (cck_agc_rpt & 0x3e); in rtl8723a_cck_rssi()
457 return rx_pwr_all; in rtl8723a_cck_rssi()
A Drtl8xxxu_8188f.c1682 s8 rx_pwr_all = 0x00; in rtl8188f_cck_rssi() local
1691 rx_pwr_all = -100 + 2 * (27 - vga_idx); in rtl8188f_cck_rssi()
1693 rx_pwr_all = -100; in rtl8188f_cck_rssi()
1696 rx_pwr_all = -74 + 2 * (21 - vga_idx); in rtl8188f_cck_rssi()
1699 rx_pwr_all = -60 + 2 * (20 - vga_idx); in rtl8188f_cck_rssi()
1702 rx_pwr_all = -44 + 2 * (19 - vga_idx); in rtl8188f_cck_rssi()
1708 return rx_pwr_all; in rtl8188f_cck_rssi()
A Drtl8xxxu_8723b.c1680 s8 rx_pwr_all = 0x00; in rtl8723b_cck_rssi() local
1688 rx_pwr_all = -34 - (2 * vga_idx); in rtl8723b_cck_rssi()
1691 rx_pwr_all = -14 - (2 * vga_idx); in rtl8723b_cck_rssi()
1694 rx_pwr_all = 6 - (2 * vga_idx); in rtl8723b_cck_rssi()
1697 rx_pwr_all = 16 - (2 * vga_idx); in rtl8723b_cck_rssi()
1703 return rx_pwr_all; in rtl8723b_cck_rssi()
A Drtl8xxxu_8192e.c1750 s8 rx_pwr_all = 0x00; in rtl8192e_cck_rssi() local
1762 rx_pwr_all = lna_gain - (2 * vga_idx); in rtl8192e_cck_rssi()
1764 return rx_pwr_all; in rtl8192e_cck_rssi()
A Drtl8xxxu_8188e.c1336 s8 rx_pwr_all = 0x00; in rtl8188e_cck_rssi() local
1348 rx_pwr_all = lna_gain - (2 * vga_idx); in rtl8188e_cck_rssi()
1350 return rx_pwr_all; in rtl8188e_cck_rssi()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
A Dtrx.c38 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.3-rc2/drivers/staging/rtl8712/
A Drtl8712_recv.c709 s8 rx_pwr[4], rx_pwr_all; in query_rx_phy_status() local
737 rx_pwr_all = -40 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status()
741 rx_pwr_all = -20 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status()
745 rx_pwr_all = -2 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status()
749 rx_pwr_all = 14 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status()
759 rx_pwr_all = -40 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status()
763 rx_pwr_all = -20 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status()
767 rx_pwr_all = -2 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status()
771 rx_pwr_all = 14 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status()
776 pwdb_all = query_rx_pwr_percentage(rx_pwr_all); in query_rx_phy_status()
[all …]
/linux-6.3-rc2/drivers/staging/rtl8192e/rtl8192e/
A Dr8192E_dev.c1295 s8 rx_pwr[4], rx_pwr_all = 0; in _rtl92e_query_rxphystatus() local
1340 rx_pwr_all = -35 - (pcck_buf->cck_agc_rpt & in _rtl92e_query_rxphystatus()
1344 rx_pwr_all = -23 - (pcck_buf->cck_agc_rpt & in _rtl92e_query_rxphystatus()
1348 rx_pwr_all = -11 - (pcck_buf->cck_agc_rpt & in _rtl92e_query_rxphystatus()
1360 rx_pwr_all = -35 - in _rtl92e_query_rxphystatus()
1365 rx_pwr_all = -23 - in _rtl92e_query_rxphystatus()
1370 rx_pwr_all = -11 - in _rtl92e_query_rxphystatus()
1375 rx_pwr_all = -8 - in _rtl92e_query_rxphystatus()
1382 pwdb_all = rtl92e_rx_db_to_percent(rx_pwr_all); in _rtl92e_query_rxphystatus()
1384 pstats->RecvSignalPower = rx_pwr_all; in _rtl92e_query_rxphystatus()
[all …]
/linux-6.3-rc2/drivers/staging/rtl8192u/
A Dr8192U_core.c3837 s8 rx_pwr[4], rx_pwr_all = 0; in rtl8192_query_rxphystatus() local
3887 rx_pwr_all = -35 - (pcck_buf->cck_agc_rpt & 0x3e); in rtl8192_query_rxphystatus()
3890 rx_pwr_all = -23 - (pcck_buf->cck_agc_rpt & 0x3e); in rtl8192_query_rxphystatus()
3893 rx_pwr_all = -11 - (pcck_buf->cck_agc_rpt & 0x3e); in rtl8192_query_rxphystatus()
3896 rx_pwr_all = 6 - (pcck_buf->cck_agc_rpt & 0x3e); in rtl8192_query_rxphystatus()
3904 rx_pwr_all = -35 - ((pcck_buf->cck_agc_rpt & 0x1f) << 1); in rtl8192_query_rxphystatus()
3913 rx_pwr_all = 6 - ((pcck_buf->cck_agc_rpt & 0x1f) << 1); in rtl8192_query_rxphystatus()
3918 pwdb_all = rtl819x_query_rxpwrpercentage(rx_pwr_all); in rtl8192_query_rxphystatus()
3977 rx_pwr_all = (((pofdm_buf->pwdb_all) >> 1) & 0x7f) - 106; in rtl8192_query_rxphystatus()
3978 pwdb_all = rtl819x_query_rxpwrpercentage(rx_pwr_all); in rtl8192_query_rxphystatus()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/
A Drtw8821c.c501 s8 rx_pwr_all = 0; in get_cck_rx_pwr() local
518 rx_pwr_all = lna_gain - 2 * vga_idx; in get_cck_rx_pwr()
520 return rx_pwr_all; in get_cck_rx_pwr()

Completed in 46 milliseconds