Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c87 s8 rx_pwr[4], rx_pwr_all = 0; in odm_RxPhyStatus92CSeries_Parsing() local
115 rx_pwr_all = odm_CCKRSSI_8723B(LNA_idx, VGA_idx); in odm_RxPhyStatus92CSeries_Parsing()
116 PWDB_ALL = odm_QueryRxPwrPercentage(rx_pwr_all); in odm_RxPhyStatus92CSeries_Parsing()
122 pPhyInfo->recv_signal_power = rx_pwr_all; in odm_RxPhyStatus92CSeries_Parsing()
183 rx_pwr_all = (((pPhyStaRpt->cck_sig_qual_ofdm_pwdb_all) >> 1)&0x7f)-110; in odm_RxPhyStatus92CSeries_Parsing()
185 PWDB_ALL_BT = PWDB_ALL = odm_QueryRxPwrPercentage(rx_pwr_all); in odm_RxPhyStatus92CSeries_Parsing()
191 pPhyInfo->rx_power = rx_pwr_all; in odm_RxPhyStatus92CSeries_Parsing()
192 pPhyInfo->recv_signal_power = rx_pwr_all; in odm_RxPhyStatus92CSeries_Parsing()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/
Dodm_hwconfig.c69 s8 rx_pwr[4], rx_pwr_all = 0; in odm_RxPhyStatus92CSeries_Parsing() local
104 rx_pwr_all = -100 + 2 * (27 - VGA_idx); /* VGA_idx = 27~2 */ in odm_RxPhyStatus92CSeries_Parsing()
106 rx_pwr_all = -100; in odm_RxPhyStatus92CSeries_Parsing()
109 rx_pwr_all = -48 + 2 * (2 - VGA_idx); /* VGA_idx = 2~0 */ in odm_RxPhyStatus92CSeries_Parsing()
112 rx_pwr_all = -42 + 2 * (7 - VGA_idx); /* VGA_idx = 7~5 */ in odm_RxPhyStatus92CSeries_Parsing()
115 rx_pwr_all = -36 + 2 * (7 - VGA_idx); /* VGA_idx = 7~4 */ in odm_RxPhyStatus92CSeries_Parsing()
118 rx_pwr_all = -24 + 2 * (7 - VGA_idx); /* VGA_idx = 7~0 */ in odm_RxPhyStatus92CSeries_Parsing()
122 rx_pwr_all = -12 + 2 * (5 - VGA_idx); /* VGA_idx = 5~0 */ in odm_RxPhyStatus92CSeries_Parsing()
124 rx_pwr_all = -6 + 2 * (5 - VGA_idx); in odm_RxPhyStatus92CSeries_Parsing()
127 rx_pwr_all = 8 - 2 * VGA_idx; in odm_RxPhyStatus92CSeries_Parsing()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.c68 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
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()
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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
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()
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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
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()
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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dtrx.c39 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c581 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.c37 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
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()
100 rx_pwr_all = -12 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92de_query_rxphystatus()
103 rx_pwr_all = 16 - ((cck_agc_rpt & 0x1f) << 1); in _rtl92de_query_rxphystatus()
107 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92de_query_rxphystatus()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.c38 s8 rx_pwr_all = 0, rx_pwr[4]; in _rtl8723be_query_rxphystatus() local
72 rx_pwr_all = -34 - (2 * vga_idx); in _rtl8723be_query_rxphystatus()
75 rx_pwr_all = -14 - (2 * vga_idx); in _rtl8723be_query_rxphystatus()
78 rx_pwr_all = 6 - (2 * vga_idx); in _rtl8723be_query_rxphystatus()
81 rx_pwr_all = 16 - (2 * vga_idx); in _rtl8723be_query_rxphystatus()
87 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl8723be_query_rxphystatus()
93 pstatus->recvsignalpower = rx_pwr_all; in _rtl8723be_query_rxphystatus()
134 rx_pwr_all = ((p_phystrpt->cck_sig_qual_ofdm_pwdb_all >> 1) & in _rtl8723be_query_rxphystatus()
137 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl8723be_query_rxphystatus()
141 pstatus->rxpower = rx_pwr_all; in _rtl8723be_query_rxphystatus()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Drtl8712_recv.c708 s8 rx_pwr[4], rx_pwr_all; in query_rx_phy_status() local
736 rx_pwr_all = -40 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status()
740 rx_pwr_all = -20 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status()
744 rx_pwr_all = -2 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status()
748 rx_pwr_all = 14 - (pcck_buf->cck_agc_rpt & in query_rx_phy_status()
758 rx_pwr_all = -40 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status()
762 rx_pwr_all = -20 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status()
766 rx_pwr_all = -2 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status()
770 rx_pwr_all = 14 - ((pcck_buf->cck_agc_rpt & in query_rx_phy_status()
775 pwdb_all = query_rx_pwr_percentage(rx_pwr_all); in query_rx_phy_status()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.c1480 s8 rx_pwr[4], rx_pwr_all = 0; in _rtl92e_query_rxphystatus() local
1528 rx_pwr_all = -35 - (pcck_buf->cck_agc_rpt & in _rtl92e_query_rxphystatus()
1532 rx_pwr_all = -23 - (pcck_buf->cck_agc_rpt & in _rtl92e_query_rxphystatus()
1536 rx_pwr_all = -11 - (pcck_buf->cck_agc_rpt & in _rtl92e_query_rxphystatus()
1540 rx_pwr_all = 8 - (pcck_buf->cck_agc_rpt & 0x3e); in _rtl92e_query_rxphystatus()
1548 rx_pwr_all = -35 - in _rtl92e_query_rxphystatus()
1553 rx_pwr_all = -23 - in _rtl92e_query_rxphystatus()
1558 rx_pwr_all = -11 - in _rtl92e_query_rxphystatus()
1563 rx_pwr_all = -8 - in _rtl92e_query_rxphystatus()
1570 pwdb_all = rtl92e_rx_db_to_percent(rx_pwr_all); in _rtl92e_query_rxphystatus()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/
Dr8192U_core.c4024 s8 rx_pwr[4], rx_pwr_all = 0; in rtl8192_query_rxphystatus() local
4074 rx_pwr_all = -35 - (pcck_buf->cck_agc_rpt & 0x3e); in rtl8192_query_rxphystatus()
4077 rx_pwr_all = -23 - (pcck_buf->cck_agc_rpt & 0x3e); in rtl8192_query_rxphystatus()
4080 rx_pwr_all = -11 - (pcck_buf->cck_agc_rpt & 0x3e); in rtl8192_query_rxphystatus()
4083 rx_pwr_all = 6 - (pcck_buf->cck_agc_rpt & 0x3e); in rtl8192_query_rxphystatus()
4091 rx_pwr_all = -35 - ((pcck_buf->cck_agc_rpt & 0x1f) << 1); in rtl8192_query_rxphystatus()
4094 rx_pwr_all = -23 - ((pcck_buf->cck_agc_rpt & 0x1f) << 1); in rtl8192_query_rxphystatus()
4097 rx_pwr_all = -11 - ((pcck_buf->cck_agc_rpt & 0x1f) << 1); in rtl8192_query_rxphystatus()
4100 rx_pwr_all = 6 - ((pcck_buf->cck_agc_rpt & 0x1f) << 1); in rtl8192_query_rxphystatus()
4105 pwdb_all = rtl819x_query_rxpwrpercentage(rx_pwr_all); in rtl8192_query_rxphystatus()
[all …]