Lines Matching refs:pstatus
59 struct rtl_stats *pstatus, __le32 *pdesc, in query_rxphystatus() argument
72 bool is_cck = pstatus->is_cck; in query_rxphystatus()
76 pstatus->packet_matchbssid = bpacket_match_bssid; in query_rxphystatus()
77 pstatus->packet_toself = bpacket_toself; in query_rxphystatus()
78 pstatus->packet_beacon = packet_beacon; in query_rxphystatus()
79 pstatus->rx_mimo_signalquality[0] = -1; in query_rxphystatus()
80 pstatus->rx_mimo_signalquality[1] = -1; in query_rxphystatus()
172 pstatus->rx_pwdb_all = pwdb_all; in query_rxphystatus()
173 pstatus->recvsignalpower = rx_pwr_all; in query_rxphystatus()
179 if (pstatus->rx_pwdb_all > 40) { in query_rxphystatus()
191 pstatus->signalquality = sq; in query_rxphystatus()
192 pstatus->rx_mimo_signalquality[0] = sq; in query_rxphystatus()
193 pstatus->rx_mimo_signalquality[1] = -1; in query_rxphystatus()
209 pstatus->rx_snr[i] = p_phystrpt->rxsnr[i] / 2; in query_rxphystatus()
212 pstatus->cfo_short[i] = odm_cfo(p_phystrpt->cfosho[i]); in query_rxphystatus()
213 pstatus->cfo_tail[i] = odm_cfo(p_phystrpt->cfotail[i]); in query_rxphystatus()
215 pstatus->rx_mimo_signalstrength[i] = (u8)rssi; in query_rxphystatus()
224 pstatus->rx_pwdb_all = pwdb_all; in query_rxphystatus()
225 pstatus->rxpower = rx_pwr_all; in query_rxphystatus()
226 pstatus->recvsignalpower = rx_pwr_all; in query_rxphystatus()
229 if ((pstatus->is_ht && pstatus->rate >= DESC_RATEMCS8 && in query_rxphystatus()
230 pstatus->rate <= DESC_RATEMCS15) || in query_rxphystatus()
231 (pstatus->is_vht && in query_rxphystatus()
232 pstatus->rate >= DESC_RATEVHT2SS_MCS0 && in query_rxphystatus()
233 pstatus->rate <= DESC_RATEVHT2SS_MCS9)) in query_rxphystatus()
247 pstatus->signalquality = evm; in query_rxphystatus()
248 pstatus->rx_mimo_signalquality[i] = evm; in query_rxphystatus()
249 pstatus->rx_mimo_evm_dbm[i] = evmdbm; in query_rxphystatus()
265 pstatus->signalstrength = (u8)(rtl_signal_scale_mapping(hw, in query_rxphystatus()
268 pstatus->signalstrength = (u8)(rtl_signal_scale_mapping(hw, in query_rxphystatus()
277 struct rtl_stats *pstatus, __le32 *pdesc, in translate_rx_signal_stuff() argument
289 tmp_buf = skb->data + pstatus->rx_drvinfo_size + pstatus->rx_bufshift; in translate_rx_signal_stuff()
295 ether_addr_copy(pstatus->psaddr, psaddr); in translate_rx_signal_stuff()
303 (!pstatus->hwerror) && in translate_rx_signal_stuff()
304 (!pstatus->crc) && (!pstatus->icv)); in translate_rx_signal_stuff()
328 query_rxphystatus(hw, pstatus, pdesc, p_drvinfo, in translate_rx_signal_stuff()
332 rtl_process_phyinfo(hw, tmp_buf, pstatus); in translate_rx_signal_stuff()