Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dtrx.c63 u8 rf_rx_num = 0, evm, pwdb_all; in _rtl88ee_query_rxphystatus() local
137 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl88ee_query_rxphystatus()
140 pwdb_all += 6; in _rtl88ee_query_rxphystatus()
141 if (pwdb_all > 100) in _rtl88ee_query_rxphystatus()
142 pwdb_all = 100; in _rtl88ee_query_rxphystatus()
146 if (pwdb_all > 34 && pwdb_all <= 42) in _rtl88ee_query_rxphystatus()
147 pwdb_all -= 2; in _rtl88ee_query_rxphystatus()
148 else if (pwdb_all > 26 && pwdb_all <= 34) in _rtl88ee_query_rxphystatus()
149 pwdb_all -= 6; in _rtl88ee_query_rxphystatus()
150 else if (pwdb_all > 14 && pwdb_all <= 26) in _rtl88ee_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dtrx.c68 u8 rf_rx_num = 0, evm, pwdb_all; in _rtl92se_query_rxphystatus() local
128 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92se_query_rxphystatus()
132 pwdb_all += 6; in _rtl92se_query_rxphystatus()
133 if (pwdb_all > 100) in _rtl92se_query_rxphystatus()
134 pwdb_all = 100; in _rtl92se_query_rxphystatus()
136 if (pwdb_all > 34 && pwdb_all <= 42) in _rtl92se_query_rxphystatus()
137 pwdb_all -= 2; in _rtl92se_query_rxphystatus()
138 else if (pwdb_all > 26 && pwdb_all <= 34) in _rtl92se_query_rxphystatus()
139 pwdb_all -= 6; in _rtl92se_query_rxphystatus()
140 else if (pwdb_all > 14 && pwdb_all <= 26) in _rtl92se_query_rxphystatus()
[all …]
Ddef.h523 u8 pwdb_all; member
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.c58 u8 rf_rx_num = 0, evm, pwdb_all; in _rtl8723e_query_rxphystatus() local
125 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl8723e_query_rxphystatus()
130 pwdb_all += 6; in _rtl8723e_query_rxphystatus()
131 if (pwdb_all > 100) in _rtl8723e_query_rxphystatus()
132 pwdb_all = 100; in _rtl8723e_query_rxphystatus()
136 if (pwdb_all > 34 && pwdb_all <= 42) in _rtl8723e_query_rxphystatus()
137 pwdb_all -= 2; in _rtl8723e_query_rxphystatus()
138 else if (pwdb_all > 26 && pwdb_all <= 34) in _rtl8723e_query_rxphystatus()
139 pwdb_all -= 6; in _rtl8723e_query_rxphystatus()
140 else if (pwdb_all > 14 && pwdb_all <= 26) in _rtl8723e_query_rxphystatus()
[all …]
Dtrx.h522 u8 pwdb_all; member
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.c119 u8 evm, pwdb_all, rf_rx_num = 0; in _rtl92ce_query_rxphystatus() local
181 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92ce_query_rxphystatus()
186 pwdb_all += 6; in _rtl92ce_query_rxphystatus()
187 if (pwdb_all > 100) in _rtl92ce_query_rxphystatus()
188 pwdb_all = 100; in _rtl92ce_query_rxphystatus()
192 if (pwdb_all > 34 && pwdb_all <= 42) in _rtl92ce_query_rxphystatus()
193 pwdb_all -= 2; in _rtl92ce_query_rxphystatus()
194 else if (pwdb_all > 26 && pwdb_all <= 34) in _rtl92ce_query_rxphystatus()
195 pwdb_all -= 6; in _rtl92ce_query_rxphystatus()
196 else if (pwdb_all > 14 && pwdb_all <= 26) in _rtl92ce_query_rxphystatus()
[all …]
Dtrx.h533 u8 pwdb_all; member
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.c121 u8 rf_rx_num = 0, evm, pwdb_all; in _rtl92de_query_rxphystatus() local
180 pwdb_all = _rtl92d_query_rxpwrpercentage(rx_pwr_all); in _rtl92de_query_rxphystatus()
183 pwdb_all += 6; in _rtl92de_query_rxphystatus()
184 if (pwdb_all > 100) in _rtl92de_query_rxphystatus()
185 pwdb_all = 100; in _rtl92de_query_rxphystatus()
187 if (pwdb_all > 34 && pwdb_all <= 42) in _rtl92de_query_rxphystatus()
188 pwdb_all -= 2; in _rtl92de_query_rxphystatus()
189 else if (pwdb_all > 26 && pwdb_all <= 34) in _rtl92de_query_rxphystatus()
190 pwdb_all -= 6; in _rtl92de_query_rxphystatus()
191 else if (pwdb_all > 14 && pwdb_all <= 26) in _rtl92de_query_rxphystatus()
[all …]
Dtrx.h550 u8 pwdb_all; member
/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Dphydm_hwconfig.c416 static inline u8 phydm_adjust_pwdb(u8 cck_highpwr, u8 pwdb_all) in phydm_adjust_pwdb() argument
419 if (pwdb_all >= 80) in phydm_adjust_pwdb()
420 return ((pwdb_all - 80) << 1) + ((pwdb_all - 80) >> 1) + in phydm_adjust_pwdb()
422 else if ((pwdb_all <= 78) && (pwdb_all >= 20)) in phydm_adjust_pwdb()
423 return pwdb_all + 3; in phydm_adjust_pwdb()
424 if (pwdb_all > 100) in phydm_adjust_pwdb()
427 return pwdb_all; in phydm_adjust_pwdb()
440 sq_rpt = phy_sta_rpt->pwdb_all; in phydm_get_signal_quality_8812()
493 u8 is_cck_rate, u8 pwdb_all, in odm_sq_process_patch_rt_cid_819x_lenovo() argument
579 u8 EVM, pwdb_all = 0, pwdb_all_bt; in odm_rx_phy_status92c_series_parsing() local
[all …]
Dphydm_hwconfig.h110 u8 pwdb_all; /*CCK signal quality / OFDM pwdb all*/ member
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.c92 u8 rf_rx_num = 0, evm, evmdbm, pwdb_all; in query_rxphystatus() local
161 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in query_rxphystatus()
163 if (pwdb_all >= 80) in query_rxphystatus()
164 pwdb_all = in query_rxphystatus()
165 ((pwdb_all - 80)<<1) + in query_rxphystatus()
166 ((pwdb_all - 80)>>1) + 80; in query_rxphystatus()
167 else if ((pwdb_all <= 78) && (pwdb_all >= 20)) in query_rxphystatus()
168 pwdb_all += 3; in query_rxphystatus()
169 if (pwdb_all > 100) in query_rxphystatus()
170 pwdb_all = 100; in query_rxphystatus()
[all …]
Dtrx.h402 u8 pwdb_all; member
431 u8 pwdb_all; member
/Linux-v4.19/drivers/staging/rtl8712/
Drtl8712_recv.c745 u8 pwdb_all; in query_rx_phy_status() local
811 pwdb_all = query_rx_pwr_percentage(rx_pwr_all); in query_rx_phy_status()
814 pwdb_all += 6; in query_rx_phy_status()
815 if (pwdb_all > 100) in query_rx_phy_status()
816 pwdb_all = 100; in query_rx_phy_status()
818 if (pwdb_all > 34 && pwdb_all <= 42) in query_rx_phy_status()
819 pwdb_all -= 2; in query_rx_phy_status()
820 else if (pwdb_all > 26 && pwdb_all <= 34) in query_rx_phy_status()
821 pwdb_all -= 6; in query_rx_phy_status()
822 else if (pwdb_all > 14 && pwdb_all <= 26) in query_rx_phy_status()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.c60 u8 rf_rx_num = 0, evm, pwdb_all; in _rtl92ee_query_rxphystatus() local
123 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92ee_query_rxphystatus()
126 if (pwdb_all >= 80) in _rtl92ee_query_rxphystatus()
127 pwdb_all = ((pwdb_all - 80) << 1) + in _rtl92ee_query_rxphystatus()
128 ((pwdb_all - 80) >> 1) + 80; in _rtl92ee_query_rxphystatus()
129 else if ((pwdb_all <= 78) && (pwdb_all >= 20)) in _rtl92ee_query_rxphystatus()
130 pwdb_all += 3; in _rtl92ee_query_rxphystatus()
131 if (pwdb_all > 100) in _rtl92ee_query_rxphystatus()
132 pwdb_all = 100; in _rtl92ee_query_rxphystatus()
135 pstatus->rx_pwdb_all = pwdb_all; in _rtl92ee_query_rxphystatus()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.c60 u8 rf_rx_num = 0, evm, pwdb_all, pwdb_all_bt = 0; in _rtl8723be_query_rxphystatus() local
108 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl8723be_query_rxphystatus()
109 if (pwdb_all > 100) in _rtl8723be_query_rxphystatus()
110 pwdb_all = 100; in _rtl8723be_query_rxphystatus()
112 pstatus->rx_pwdb_all = pwdb_all; in _rtl8723be_query_rxphystatus()
113 pstatus->bt_rx_rssi_percentage = pwdb_all; in _rtl8723be_query_rxphystatus()
158 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl8723be_query_rxphystatus()
159 pwdb_all_bt = pwdb_all; in _rtl8723be_query_rxphystatus()
160 pstatus->rx_pwdb_all = pwdb_all; in _rtl8723be_query_rxphystatus()
205 pwdb_all)); in _rtl8723be_query_rxphystatus()
Dtrx.h434 u8 pwdb_all; member
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c656 u8 rf_rx_num = 0, evm, pwdb_all; in _rtl92c_query_rxphystatus() local
714 pwdb_all = _rtl92c_query_rxpwrpercentage(rx_pwr_all); in _rtl92c_query_rxphystatus()
715 pstats->rx_pwdb_all = pwdb_all; in _rtl92c_query_rxphystatus()
750 rx_pwr_all = ((p_drvinfo->pwdb_all >> 1) & 0x7f) - 110; in _rtl92c_query_rxphystatus()
751 pwdb_all = _rtl92c_query_rxpwrpercentage(rx_pwr_all); in _rtl92c_query_rxphystatus()
752 pstats->rx_pwdb_all = pwdb_all; in _rtl92c_query_rxphystatus()
774 (u8) (_rtl92c_signal_scale_mapping(hw, pwdb_all)); in _rtl92c_query_rxphystatus()
Dmac.h75 u8 pwdb_all; member
Dtrx.h69 u8 pwdb_all; member
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Dodm_HWConfig.h96 u8 pwdb_all; member
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.c1496 u8 evm, pwdb_all; in _rtl92e_query_rxphystatus() local
1584 pwdb_all = rtl92e_rx_db_to_percent(rx_pwr_all); in _rtl92e_query_rxphystatus()
1585 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; in _rtl92e_query_rxphystatus()
1636 rx_pwr_all = (((pofdm_buf->pwdb_all) >> 1) & 0x7f) - 106; in _rtl92e_query_rxphystatus()
1637 pwdb_all = rtl92e_rx_db_to_percent(rx_pwr_all); in _rtl92e_query_rxphystatus()
1639 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; in _rtl92e_query_rxphystatus()
1678 (long)pwdb_all)); in _rtl92e_query_rxphystatus()
Dr8190P_def.h191 u8 pwdb_all; member
/Linux-v4.19/drivers/staging/rtl8192u/
Dr8192U_core.c4211 u8 evm, pwdb_all; in rtl8192_query_rxphystatus() local
4291 pwdb_all = rtl819x_query_rxpwrpercentage(rx_pwr_all); in rtl8192_query_rxphystatus()
4292 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; in rtl8192_query_rxphystatus()
4293 pstats->RecvSignalPower = pwdb_all; in rtl8192_query_rxphystatus()
4352 rx_pwr_all = (((pofdm_buf->pwdb_all) >> 1) & 0x7f) - 106; in rtl8192_query_rxphystatus()
4353 pwdb_all = rtl819x_query_rxpwrpercentage(rx_pwr_all); in rtl8192_query_rxphystatus()
4355 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; in rtl8192_query_rxphystatus()
4411 (u8)(rtl819x_signal_scale_mapping((long)pwdb_all)); in rtl8192_query_rxphystatus()
Dr8192U.h720 u8 pwdb_all; member

12