Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.c48 u8 rf_rx_num = 0, evm, pwdb_all; in _rtl92de_query_rxphystatus() local
107 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92de_query_rxphystatus()
110 pwdb_all += 6; in _rtl92de_query_rxphystatus()
111 if (pwdb_all > 100) in _rtl92de_query_rxphystatus()
112 pwdb_all = 100; in _rtl92de_query_rxphystatus()
114 if (pwdb_all > 34 && pwdb_all <= 42) in _rtl92de_query_rxphystatus()
115 pwdb_all -= 2; in _rtl92de_query_rxphystatus()
116 else if (pwdb_all > 26 && pwdb_all <= 34) in _rtl92de_query_rxphystatus()
117 pwdb_all -= 6; in _rtl92de_query_rxphystatus()
118 else if (pwdb_all > 14 && pwdb_all <= 26) in _rtl92de_query_rxphystatus()
[all …]
Dtrx.h373 u8 pwdb_all; member
/linux-6.1.9/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.1.9/drivers/staging/rtl8712/
Drtl8712_recv.c709 u8 pwdb_all; in query_rx_phy_status() local
775 pwdb_all = query_rx_pwr_percentage(rx_pwr_all); in query_rx_phy_status()
778 pwdb_all += 6; in query_rx_phy_status()
779 if (pwdb_all > 100) in query_rx_phy_status()
780 pwdb_all = 100; in query_rx_phy_status()
782 if (pwdb_all > 34 && pwdb_all <= 42) in query_rx_phy_status()
783 pwdb_all -= 2; in query_rx_phy_status()
784 else if (pwdb_all > 26 && pwdb_all <= 34) in query_rx_phy_status()
785 pwdb_all -= 6; in query_rx_phy_status()
786 else if (pwdb_all > 14 && pwdb_all <= 26) in query_rx_phy_status()
[all …]
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c581 u8 rf_rx_num = 0, evm, pwdb_all; in _rtl92c_query_rxphystatus() local
642 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92c_query_rxphystatus()
643 pstats->rx_pwdb_all = pwdb_all; in _rtl92c_query_rxphystatus()
679 rx_pwr_all = ((p_drvinfo->pwdb_all >> 1) & 0x7f) - 110; in _rtl92c_query_rxphystatus()
680 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92c_query_rxphystatus()
681 pstats->rx_pwdb_all = pwdb_all; in _rtl92c_query_rxphystatus()
703 (u8)(rtl_signal_scale_mapping(hw, pwdb_all)); in _rtl92c_query_rxphystatus()
Dmac.h52 u8 pwdb_all; member
Dtrx.h47 u8 pwdb_all; member
/linux-6.1.9/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.c1344 u8 evm, pwdb_all; in _rtl92e_query_rxphystatus() local
1432 pwdb_all = rtl92e_rx_db_to_percent(rx_pwr_all); in _rtl92e_query_rxphystatus()
1433 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; in _rtl92e_query_rxphystatus()
1483 rx_pwr_all = (((pofdm_buf->pwdb_all) >> 1) & 0x7f) - 106; in _rtl92e_query_rxphystatus()
1484 pwdb_all = rtl92e_rx_db_to_percent(rx_pwr_all); in _rtl92e_query_rxphystatus()
1486 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; in _rtl92e_query_rxphystatus()
1525 (long)pwdb_all); in _rtl92e_query_rxphystatus()
Dr8190P_def.h181 u8 pwdb_all; member
/linux-6.1.9/drivers/staging/rtl8192u/
Dr8192U_core.c3839 u8 evm, pwdb_all; in rtl8192_query_rxphystatus() local
3918 pwdb_all = rtl819x_query_rxpwrpercentage(rx_pwr_all); in rtl8192_query_rxphystatus()
3919 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; in rtl8192_query_rxphystatus()
3920 pstats->RecvSignalPower = pwdb_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()
3980 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; in rtl8192_query_rxphystatus()
4035 (u8)(rtl819x_signal_scale_mapping((long)pwdb_all)); in rtl8192_query_rxphystatus()
Dr8192U.h721 u8 pwdb_all; member