Lines Matching refs:pwdb_all
33 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()
107 pwdb_all -= 8; in _rtl92d_query_rxphystatus()
108 else if (pwdb_all > 4 && pwdb_all <= 14) in _rtl92d_query_rxphystatus()
109 pwdb_all -= 4; in _rtl92d_query_rxphystatus()
110 pstats->rx_pwdb_all = pwdb_all; in _rtl92d_query_rxphystatus()
145 rx_pwr_all = ((p_drvinfo->pwdb_all >> 1) & 0x7f) - 106; in _rtl92d_query_rxphystatus()
146 pwdb_all = rtl_query_rxpwrpercentage(rx_pwr_all); in _rtl92d_query_rxphystatus()
147 pstats->rx_pwdb_all = pwdb_all; in _rtl92d_query_rxphystatus()
168 pwdb_all)); in _rtl92d_query_rxphystatus()