Home
last modified time | relevance | path

Searched refs:pwdb_all (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dtrx.c40 u8 rf_rx_num = 0, evm, pwdb_all; in _rtl88ee_query_rxphystatus() local
114 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl88ee_query_rxphystatus()
117 pwdb_all += 6; in _rtl88ee_query_rxphystatus()
118 if (pwdb_all > 100) in _rtl88ee_query_rxphystatus()
119 pwdb_all = 100; in _rtl88ee_query_rxphystatus()
123 if (pwdb_all > 34 && pwdb_all <= 42) in _rtl88ee_query_rxphystatus()
124 pwdb_all -= 2; in _rtl88ee_query_rxphystatus()
125 else if (pwdb_all > 26 && pwdb_all <= 34) in _rtl88ee_query_rxphystatus()
126 pwdb_all -= 6; in _rtl88ee_query_rxphystatus()
127 else if (pwdb_all > 14 && pwdb_all <= 26) in _rtl88ee_query_rxphystatus()
[all …]
Dtrx.h602 u8 pwdb_all; member
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
Dtrx_common.c33 u8 rf_rx_num = 0, evm, pwdb_all; in _rtl92d_query_rxphystatus() local
95 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92d_query_rxphystatus()
98 pwdb_all += 6; in _rtl92d_query_rxphystatus()
99 if (pwdb_all > 100) in _rtl92d_query_rxphystatus()
100 pwdb_all = 100; in _rtl92d_query_rxphystatus()
102 if (pwdb_all > 34 && pwdb_all <= 42) in _rtl92d_query_rxphystatus()
103 pwdb_all -= 2; in _rtl92d_query_rxphystatus()
104 else if (pwdb_all > 26 && pwdb_all <= 34) in _rtl92d_query_rxphystatus()
105 pwdb_all -= 6; in _rtl92d_query_rxphystatus()
106 else if (pwdb_all > 14 && pwdb_all <= 26) in _rtl92d_query_rxphystatus()
[all …]
Dtrx_common.h373 u8 pwdb_all; member
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.c38 u8 evm, pwdb_all, rf_rx_num = 0; in _rtl92ce_query_rxphystatus() local
103 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92ce_query_rxphystatus()
108 pwdb_all += 6; in _rtl92ce_query_rxphystatus()
109 if (pwdb_all > 100) in _rtl92ce_query_rxphystatus()
110 pwdb_all = 100; in _rtl92ce_query_rxphystatus()
114 if (pwdb_all > 34 && pwdb_all <= 42) in _rtl92ce_query_rxphystatus()
115 pwdb_all -= 2; in _rtl92ce_query_rxphystatus()
116 else if (pwdb_all > 26 && pwdb_all <= 34) in _rtl92ce_query_rxphystatus()
117 pwdb_all -= 6; in _rtl92ce_query_rxphystatus()
118 else if (pwdb_all > 14 && pwdb_all <= 26) in _rtl92ce_query_rxphystatus()
[all …]
Dtrx.h336 u8 pwdb_all; member
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dtrx.c46 u8 rf_rx_num = 0, evm, pwdb_all; in _rtl92se_query_rxphystatus() local
106 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92se_query_rxphystatus()
110 pwdb_all += 6; in _rtl92se_query_rxphystatus()
111 if (pwdb_all > 100) in _rtl92se_query_rxphystatus()
112 pwdb_all = 100; in _rtl92se_query_rxphystatus()
114 if (pwdb_all > 34 && pwdb_all <= 42) in _rtl92se_query_rxphystatus()
115 pwdb_all -= 2; in _rtl92se_query_rxphystatus()
116 else if (pwdb_all > 26 && pwdb_all <= 34) in _rtl92se_query_rxphystatus()
117 pwdb_all -= 6; in _rtl92se_query_rxphystatus()
118 else if (pwdb_all > 14 && pwdb_all <= 26) in _rtl92se_query_rxphystatus()
[all …]
Ddef.h403 u8 pwdb_all; member
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.c36 u8 rf_rx_num = 0, evm, pwdb_all; in _rtl8723e_query_rxphystatus() local
103 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl8723e_query_rxphystatus()
108 pwdb_all += 6; in _rtl8723e_query_rxphystatus()
109 if (pwdb_all > 100) in _rtl8723e_query_rxphystatus()
110 pwdb_all = 100; in _rtl8723e_query_rxphystatus()
114 if (pwdb_all > 34 && pwdb_all <= 42) in _rtl8723e_query_rxphystatus()
115 pwdb_all -= 2; in _rtl8723e_query_rxphystatus()
116 else if (pwdb_all > 26 && pwdb_all <= 34) in _rtl8723e_query_rxphystatus()
117 pwdb_all -= 6; in _rtl8723e_query_rxphystatus()
118 else if (pwdb_all > 14 && pwdb_all <= 26) in _rtl8723e_query_rxphystatus()
[all …]
Dtrx.h338 u8 pwdb_all; member
/linux-6.12.1/drivers/staging/rtl8723bs/hal/
Dodm_HWConfig.c108 u8 evm, pwdb_all = 0, pwdb_all_bt; in odm_rx_phy_status_parsing() local
140 pwdb_all = odm_query_rx_pwr_percentage(rx_pwr_all); in odm_rx_phy_status_parsing()
141 if (pwdb_all > 100) in odm_rx_phy_status_parsing()
142 pwdb_all = 100; in odm_rx_phy_status_parsing()
144 phy_info->rx_pwd_ba11 = pwdb_all; in odm_rx_phy_status_parsing()
145 phy_info->bt_rx_rssi_percentage = pwdb_all; in odm_rx_phy_status_parsing()
205 pwdb_all_bt = pwdb_all = odm_query_rx_pwr_percentage(rx_pwr_all); in odm_rx_phy_status_parsing()
207 phy_info->rx_pwd_ba11 = pwdb_all; in odm_rx_phy_status_parsing()
241 phy_info->signal_strength = (u8)(odm_signal_scale_mapping(dm_odm, pwdb_all)); in odm_rx_phy_status_parsing()
/linux-6.12.1/drivers/staging/rtl8712/
Drtl8712_recv.c705 u8 pwdb_all; in query_rx_phy_status() local
771 pwdb_all = query_rx_pwr_percentage(rx_pwr_all); in query_rx_phy_status()
774 pwdb_all += 6; in query_rx_phy_status()
775 if (pwdb_all > 100) in query_rx_phy_status()
776 pwdb_all = 100; in query_rx_phy_status()
778 if (pwdb_all > 34 && pwdb_all <= 42) in query_rx_phy_status()
779 pwdb_all -= 2; in query_rx_phy_status()
780 else if (pwdb_all > 26 && pwdb_all <= 34) in query_rx_phy_status()
781 pwdb_all -= 6; in query_rx_phy_status()
782 else if (pwdb_all > 14 && pwdb_all <= 26) in query_rx_phy_status()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.c69 u8 rf_rx_num = 0, evm, evmdbm, pwdb_all; in query_rxphystatus() local
138 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in query_rxphystatus()
140 if (pwdb_all >= 80) in query_rxphystatus()
141 pwdb_all = in query_rxphystatus()
142 ((pwdb_all - 80)<<1) + in query_rxphystatus()
143 ((pwdb_all - 80)>>1) + 80; in query_rxphystatus()
144 else if ((pwdb_all <= 78) && (pwdb_all >= 20)) in query_rxphystatus()
145 pwdb_all += 3; in query_rxphystatus()
146 if (pwdb_all > 100) in query_rxphystatus()
147 pwdb_all = 100; in query_rxphystatus()
[all …]
Dtrx.h424 u8 pwdb_all; member
453 u8 pwdb_all; member
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.c38 u8 rf_rx_num = 0, evm, pwdb_all; in _rtl92ee_query_rxphystatus() local
102 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92ee_query_rxphystatus()
105 if (pwdb_all >= 80) in _rtl92ee_query_rxphystatus()
106 pwdb_all = ((pwdb_all - 80) << 1) + in _rtl92ee_query_rxphystatus()
107 ((pwdb_all - 80) >> 1) + 80; in _rtl92ee_query_rxphystatus()
108 else if ((pwdb_all <= 78) && (pwdb_all >= 20)) in _rtl92ee_query_rxphystatus()
109 pwdb_all += 3; in _rtl92ee_query_rxphystatus()
110 if (pwdb_all > 100) in _rtl92ee_query_rxphystatus()
111 pwdb_all = 100; in _rtl92ee_query_rxphystatus()
114 pstatus->rx_pwdb_all = pwdb_all; in _rtl92ee_query_rxphystatus()
[all …]
Dtrx.h538 u8 pwdb_all; member
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.c39 u8 rf_rx_num = 0, evm, pwdb_all, pwdb_all_bt = 0; in _rtl8723be_query_rxphystatus() local
85 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl8723be_query_rxphystatus()
86 if (pwdb_all > 100) in _rtl8723be_query_rxphystatus()
87 pwdb_all = 100; in _rtl8723be_query_rxphystatus()
89 pstatus->rx_pwdb_all = pwdb_all; in _rtl8723be_query_rxphystatus()
90 pstatus->bt_rx_rssi_percentage = pwdb_all; in _rtl8723be_query_rxphystatus()
135 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl8723be_query_rxphystatus()
136 pwdb_all_bt = pwdb_all; in _rtl8723be_query_rxphystatus()
137 pstatus->rx_pwdb_all = pwdb_all; in _rtl8723be_query_rxphystatus()
182 pwdb_all)); in _rtl8723be_query_rxphystatus()
Dtrx.h446 u8 pwdb_all; member
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c582 u8 rf_rx_num = 0, evm, pwdb_all; in _rtl92c_query_rxphystatus() local
643 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92c_query_rxphystatus()
644 pstats->rx_pwdb_all = pwdb_all; in _rtl92c_query_rxphystatus()
680 rx_pwr_all = ((p_drvinfo->pwdb_all >> 1) & 0x7f) - 110; in _rtl92c_query_rxphystatus()
681 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92c_query_rxphystatus()
682 pstats->rx_pwdb_all = pwdb_all; in _rtl92c_query_rxphystatus()
704 (u8)(rtl_signal_scale_mapping(hw, pwdb_all)); in _rtl92c_query_rxphystatus()
Dmac.h52 u8 pwdb_all; member
Dtrx.h44 u8 pwdb_all; member
/linux-6.12.1/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.c1164 u8 evm, pwdb_all; in _rtl92e_query_rxphystatus() local
1248 pwdb_all = rtl92e_rx_db_to_percent(rx_pwr_all); in _rtl92e_query_rxphystatus()
1249 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; in _rtl92e_query_rxphystatus()
1292 rx_pwr_all = (((pofdm_buf->pwdb_all) >> 1) & 0x7f) - 106; in _rtl92e_query_rxphystatus()
1293 pwdb_all = rtl92e_rx_db_to_percent(rx_pwr_all); in _rtl92e_query_rxphystatus()
1295 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; in _rtl92e_query_rxphystatus()
1323 _rtl92e_signal_scale_mapping(priv, (long)pwdb_all); in _rtl92e_query_rxphystatus()
Dr8190P_def.h142 u8 pwdb_all; member