Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Dodm_RTL8723B.c12 s8 rx_pwr_all = 0x00; in odm_CCKRSSI_8723B() local
19 rx_pwr_all = -34 - (2 * VGA_idx); in odm_CCKRSSI_8723B()
22 rx_pwr_all = -14 - (2 * VGA_idx); in odm_CCKRSSI_8723B()
25 rx_pwr_all = 6 - (2 * VGA_idx); in odm_CCKRSSI_8723B()
28 rx_pwr_all = 16 - (2 * VGA_idx); in odm_CCKRSSI_8723B()
36 return rx_pwr_all; in odm_CCKRSSI_8723B()
Dodm_HWConfig.c92 s8 rx_pwr[4], rx_pwr_all = 0; in odm_RxPhyStatus92CSeries_Parsing() local
127 rx_pwr_all = odm_CCKRSSI_8723B(LNA_idx, VGA_idx); in odm_RxPhyStatus92CSeries_Parsing()
128 PWDB_ALL = odm_QueryRxPwrPercentage(rx_pwr_all); in odm_RxPhyStatus92CSeries_Parsing()
134 pPhyInfo->recv_signal_power = rx_pwr_all; in odm_RxPhyStatus92CSeries_Parsing()
195 rx_pwr_all = (((pPhyStaRpt->cck_sig_qual_ofdm_pwdb_all) >> 1)&0x7f)-110; in odm_RxPhyStatus92CSeries_Parsing()
197 PWDB_ALL_BT = PWDB_ALL = odm_QueryRxPwrPercentage(rx_pwr_all); in odm_RxPhyStatus92CSeries_Parsing()
203 pPhyInfo->rx_power = rx_pwr_all; in odm_RxPhyStatus92CSeries_Parsing()
204 pPhyInfo->recv_signal_power = rx_pwr_all; in odm_RxPhyStatus92CSeries_Parsing()
/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Dodm_HWConfig.c84 s8 rx_pwr[4], rx_pwr_all = 0; in odm_RxPhyStatus92CSeries_Parsing() local
118 rx_pwr_all = -100 + 2*(27-VGA_idx); /* VGA_idx = 27~2 */ in odm_RxPhyStatus92CSeries_Parsing()
120 rx_pwr_all = -100; in odm_RxPhyStatus92CSeries_Parsing()
123 rx_pwr_all = -48 + 2*(2-VGA_idx); /* VGA_idx = 2~0 */ in odm_RxPhyStatus92CSeries_Parsing()
126 rx_pwr_all = -42 + 2*(7-VGA_idx); /* VGA_idx = 7~5 */ in odm_RxPhyStatus92CSeries_Parsing()
129 rx_pwr_all = -36 + 2*(7-VGA_idx); /* VGA_idx = 7~4 */ in odm_RxPhyStatus92CSeries_Parsing()
132 rx_pwr_all = -24 + 2*(7-VGA_idx); /* VGA_idx = 7~0 */ in odm_RxPhyStatus92CSeries_Parsing()
136 rx_pwr_all = -12 + 2*(5-VGA_idx); /* VGA_idx = 5~0 */ in odm_RxPhyStatus92CSeries_Parsing()
138 rx_pwr_all = -6 + 2*(5-VGA_idx); in odm_RxPhyStatus92CSeries_Parsing()
141 rx_pwr_all = 8-2*VGA_idx; in odm_RxPhyStatus92CSeries_Parsing()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.c91 s8 rx_pwr_all = 0, rx_pwr[4]; in query_rxphystatus() local
124 rx_pwr_all = -100 + 2*(27-vga_idx); in query_rxphystatus()
126 rx_pwr_all = -100; in query_rxphystatus()
130 rx_pwr_all = -48 + 2*(2-vga_idx); in query_rxphystatus()
134 rx_pwr_all = -42 + 2*(7-vga_idx); in query_rxphystatus()
138 rx_pwr_all = -36 + 2*(7-vga_idx); in query_rxphystatus()
142 rx_pwr_all = -24 + 2*(7-vga_idx); in query_rxphystatus()
147 rx_pwr_all = -12 + 2*(5-vga_idx); in query_rxphystatus()
149 rx_pwr_all = -6 + 2*(5-vga_idx); in query_rxphystatus()
152 rx_pwr_all = 8-2*vga_idx; in query_rxphystatus()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dtrx.c67 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl92se_query_rxphystatus() local
96 rx_pwr_all = -40 - (cck_agc_rpt & 0x3e); in _rtl92se_query_rxphystatus()
99 rx_pwr_all = -20 - (cck_agc_rpt & 0x3e); in _rtl92se_query_rxphystatus()
102 rx_pwr_all = -2 - (cck_agc_rpt & 0x3e); in _rtl92se_query_rxphystatus()
105 rx_pwr_all = 14 - (cck_agc_rpt & 0x3e); in _rtl92se_query_rxphystatus()
114 rx_pwr_all = -40 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92se_query_rxphystatus()
117 rx_pwr_all = -20 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92se_query_rxphystatus()
120 rx_pwr_all = -2 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92se_query_rxphystatus()
123 rx_pwr_all = 14 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92se_query_rxphystatus()
128 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92se_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.c57 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl8723e_query_rxphystatus() local
93 rx_pwr_all = -46 - (cck_agc_rpt & 0x3e); in _rtl8723e_query_rxphystatus()
96 rx_pwr_all = -26 - (cck_agc_rpt & 0x3e); in _rtl8723e_query_rxphystatus()
99 rx_pwr_all = -12 - (cck_agc_rpt & 0x3e); in _rtl8723e_query_rxphystatus()
102 rx_pwr_all = 16 - (cck_agc_rpt & 0x3e); in _rtl8723e_query_rxphystatus()
111 rx_pwr_all = -46 - ((cck_agc_rpt & 0x1f) << 1); in _rtl8723e_query_rxphystatus()
114 rx_pwr_all = -26 - ((cck_agc_rpt & 0x1f) << 1); in _rtl8723e_query_rxphystatus()
117 rx_pwr_all = -12 - ((cck_agc_rpt & 0x1f) << 1); in _rtl8723e_query_rxphystatus()
120 rx_pwr_all = 16 - ((cck_agc_rpt & 0x1f) << 1); in _rtl8723e_query_rxphystatus()
125 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl8723e_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dtrx.c62 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl88ee_query_rxphystatus() local
100 rx_pwr_all = -100 + 2*(27-vga_idx); in _rtl88ee_query_rxphystatus()
102 rx_pwr_all = -100; in _rtl88ee_query_rxphystatus()
106 rx_pwr_all = -48 + 2*(2-vga_idx); in _rtl88ee_query_rxphystatus()
110 rx_pwr_all = -42 + 2*(7-vga_idx); in _rtl88ee_query_rxphystatus()
114 rx_pwr_all = -36 + 2*(7-vga_idx); in _rtl88ee_query_rxphystatus()
118 rx_pwr_all = -24 + 2*(7-vga_idx); in _rtl88ee_query_rxphystatus()
123 rx_pwr_all = -12 + 2*(5-vga_idx); in _rtl88ee_query_rxphystatus()
125 rx_pwr_all = -6 + 2*(5-vga_idx); in _rtl88ee_query_rxphystatus()
128 rx_pwr_all = 8-2*vga_idx; in _rtl88ee_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.c118 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl92ce_query_rxphystatus() local
149 rx_pwr_all = -46 - (cck_agc_rpt & 0x3e); in _rtl92ce_query_rxphystatus()
152 rx_pwr_all = -26 - (cck_agc_rpt & 0x3e); in _rtl92ce_query_rxphystatus()
155 rx_pwr_all = -12 - (cck_agc_rpt & 0x3e); in _rtl92ce_query_rxphystatus()
158 rx_pwr_all = 16 - (cck_agc_rpt & 0x3e); in _rtl92ce_query_rxphystatus()
167 rx_pwr_all = -46 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92ce_query_rxphystatus()
170 rx_pwr_all = -26 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92ce_query_rxphystatus()
173 rx_pwr_all = -12 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92ce_query_rxphystatus()
176 rx_pwr_all = 16 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92ce_query_rxphystatus()
181 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92ce_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c655 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl92c_query_rxphystatus() local
683 rx_pwr_all = -46 - (cck_agc_rpt & 0x3e); in _rtl92c_query_rxphystatus()
686 rx_pwr_all = -26 - (cck_agc_rpt & 0x3e); in _rtl92c_query_rxphystatus()
689 rx_pwr_all = -12 - (cck_agc_rpt & 0x3e); in _rtl92c_query_rxphystatus()
692 rx_pwr_all = 16 - (cck_agc_rpt & 0x3e); in _rtl92c_query_rxphystatus()
701 rx_pwr_all = -46 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92c_query_rxphystatus()
704 rx_pwr_all = -26 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92c_query_rxphystatus()
707 rx_pwr_all = -12 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92c_query_rxphystatus()
710 rx_pwr_all = 16 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92c_query_rxphystatus()
714 pwdb_all = _rtl92c_query_rxpwrpercentage(rx_pwr_all); in _rtl92c_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Dphydm_hwconfig.c578 s8 rx_pwr[4], rx_pwr_all = 0; in odm_rx_phy_status92c_series_parsing() local
612 dm->ext_lna_gain, LNA_idx, VGA_idx, rx_pwr_all); in odm_rx_phy_status92c_series_parsing()
615 rx_pwr_all -= dm->ext_lna_gain; in odm_rx_phy_status92c_series_parsing()
617 pwdb_all = odm_query_rx_pwr_percentage(rx_pwr_all); in odm_rx_phy_status92c_series_parsing()
626 phy_info->recv_signal_power = rx_pwr_all; in odm_rx_phy_status92c_series_parsing()
690 rx_pwr_all = (((phy_sta_rpt->cck_sig_qual_ofdm_pwdb_all) >> 1) & in odm_rx_phy_status92c_series_parsing()
694 pwdb_all = odm_query_rx_pwr_percentage(rx_pwr_all); in odm_rx_phy_status92c_series_parsing()
699 phy_info->rx_power = rx_pwr_all; in odm_rx_phy_status92c_series_parsing()
700 phy_info->recv_signal_power = rx_pwr_all; in odm_rx_phy_status92c_series_parsing()
802 s8 rx_pwr[4], rx_pwr_all = 0; in odm_rx_phy_status_jaguar_series_parsing() local
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.c59 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl92ee_query_rxphystatus() local
91 rx_pwr_all = -100 + 2 * (27 - vga_idx); in _rtl92ee_query_rxphystatus()
93 rx_pwr_all = -100; in _rtl92ee_query_rxphystatus()
96 rx_pwr_all = -48 + 2 * (2 - vga_idx); in _rtl92ee_query_rxphystatus()
99 rx_pwr_all = -42 + 2 * (7 - vga_idx); in _rtl92ee_query_rxphystatus()
102 rx_pwr_all = -36 + 2 * (7 - vga_idx); in _rtl92ee_query_rxphystatus()
105 rx_pwr_all = -24 + 2 * (7 - vga_idx); in _rtl92ee_query_rxphystatus()
109 rx_pwr_all = -12 + 2 * (5 - vga_idx); in _rtl92ee_query_rxphystatus()
111 rx_pwr_all = -6 + 2 * (5 - vga_idx); in _rtl92ee_query_rxphystatus()
114 rx_pwr_all = 8 - 2 * vga_idx; in _rtl92ee_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.c120 s8 rx_pwr_all, rx_pwr[4]; in _rtl92de_query_rxphystatus() local
149 rx_pwr_all = -46 - (cck_agc_rpt & 0x3e); in _rtl92de_query_rxphystatus()
152 rx_pwr_all = -26 - (cck_agc_rpt & 0x3e); in _rtl92de_query_rxphystatus()
155 rx_pwr_all = -12 - (cck_agc_rpt & 0x3e); in _rtl92de_query_rxphystatus()
158 rx_pwr_all = 16 - (cck_agc_rpt & 0x3e); in _rtl92de_query_rxphystatus()
167 rx_pwr_all = -46 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92de_query_rxphystatus()
170 rx_pwr_all = -26 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92de_query_rxphystatus()
173 rx_pwr_all = -12 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92de_query_rxphystatus()
176 rx_pwr_all = 16 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92de_query_rxphystatus()
180 pwdb_all = _rtl92d_query_rxpwrpercentage(rx_pwr_all); in _rtl92de_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.c59 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl8723be_query_rxphystatus() local
93 rx_pwr_all = -34 - (2 * vga_idx); in _rtl8723be_query_rxphystatus()
96 rx_pwr_all = -14 - (2 * vga_idx); in _rtl8723be_query_rxphystatus()
99 rx_pwr_all = 6 - (2 * vga_idx); in _rtl8723be_query_rxphystatus()
102 rx_pwr_all = 16 - (2 * vga_idx); in _rtl8723be_query_rxphystatus()
108 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl8723be_query_rxphystatus()
114 pstatus->recvsignalpower = rx_pwr_all; in _rtl8723be_query_rxphystatus()
155 rx_pwr_all = ((p_phystrpt->cck_sig_qual_ofdm_pwdb_all >> 1) & in _rtl8723be_query_rxphystatus()
158 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl8723be_query_rxphystatus()
162 pstatus->rxpower = rx_pwr_all; in _rtl8723be_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/staging/rtl8712/
Drtl8712_recv.c744 s8 rx_pwr[4], rx_pwr_all; in query_rx_phy_status() local
772 rx_pwr_all = -40 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status()
776 rx_pwr_all = -20 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status()
780 rx_pwr_all = -2 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status()
784 rx_pwr_all = 14 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status()
794 rx_pwr_all = -40 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status()
798 rx_pwr_all = -20 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status()
802 rx_pwr_all = -2 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status()
806 rx_pwr_all = 14 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status()
811 pwdb_all = query_rx_pwr_percentage(rx_pwr_all); in query_rx_phy_status()
[all …]
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.c1494 s8 rx_pwr[4], rx_pwr_all = 0; in _rtl92e_query_rxphystatus() local
1542 rx_pwr_all = -35 - (pcck_buf->cck_agc_rpt & in _rtl92e_query_rxphystatus()
1546 rx_pwr_all = -23 - (pcck_buf->cck_agc_rpt & in _rtl92e_query_rxphystatus()
1550 rx_pwr_all = -11 - (pcck_buf->cck_agc_rpt & in _rtl92e_query_rxphystatus()
1554 rx_pwr_all = 8 - (pcck_buf->cck_agc_rpt & 0x3e); in _rtl92e_query_rxphystatus()
1562 rx_pwr_all = -35 - in _rtl92e_query_rxphystatus()
1567 rx_pwr_all = -23 - in _rtl92e_query_rxphystatus()
1572 rx_pwr_all = -11 - in _rtl92e_query_rxphystatus()
1577 rx_pwr_all = -8 - in _rtl92e_query_rxphystatus()
1584 pwdb_all = rtl92e_rx_db_to_percent(rx_pwr_all); in _rtl92e_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/staging/rtl8192u/
Dr8192U_core.c4209 s8 rx_pwr[4], rx_pwr_all = 0; in rtl8192_query_rxphystatus() local
4260 rx_pwr_all = -35 - (pcck_buf->cck_agc_rpt & 0x3e); in rtl8192_query_rxphystatus()
4263 rx_pwr_all = -23 - (pcck_buf->cck_agc_rpt & 0x3e); in rtl8192_query_rxphystatus()
4266 rx_pwr_all = -11 - (pcck_buf->cck_agc_rpt & 0x3e); in rtl8192_query_rxphystatus()
4269 rx_pwr_all = 6 - (pcck_buf->cck_agc_rpt & 0x3e); in rtl8192_query_rxphystatus()
4277 rx_pwr_all = -35 - ((pcck_buf->cck_agc_rpt & 0x1f) << 1); in rtl8192_query_rxphystatus()
4280 rx_pwr_all = -23 - ((pcck_buf->cck_agc_rpt & 0x1f) << 1); in rtl8192_query_rxphystatus()
4283 rx_pwr_all = -11 - ((pcck_buf->cck_agc_rpt & 0x1f) << 1); in rtl8192_query_rxphystatus()
4286 rx_pwr_all = 6 - ((pcck_buf->cck_agc_rpt & 0x1f) << 1); in rtl8192_query_rxphystatus()
4291 pwdb_all = rtl819x_query_rxpwrpercentage(rx_pwr_all); in rtl8192_query_rxphystatus()
[all …]