Lines Matching refs:pstatus
28 struct rtl_stats *pstatus, __le32 *pdesc, in _rtl88ee_query_rxphystatus() argument
43 bool is_cck = pstatus->is_cck; in _rtl88ee_query_rxphystatus()
47 pstatus->packet_matchbssid = bpacket_match_bssid; in _rtl88ee_query_rxphystatus()
48 pstatus->packet_toself = bpacket_toself; in _rtl88ee_query_rxphystatus()
49 pstatus->packet_beacon = packet_beacon; in _rtl88ee_query_rxphystatus()
50 pstatus->rx_mimo_signalquality[0] = -1; in _rtl88ee_query_rxphystatus()
51 pstatus->rx_mimo_signalquality[1] = -1; in _rtl88ee_query_rxphystatus()
141 pstatus->rx_pwdb_all = pwdb_all; in _rtl88ee_query_rxphystatus()
142 pstatus->recvsignalpower = rx_pwr_all; in _rtl88ee_query_rxphystatus()
148 if (pstatus->rx_pwdb_all > 40) in _rtl88ee_query_rxphystatus()
160 pstatus->signalquality = sq; in _rtl88ee_query_rxphystatus()
161 pstatus->rx_mimo_signalquality[0] = sq; in _rtl88ee_query_rxphystatus()
162 pstatus->rx_mimo_signalquality[1] = -1; in _rtl88ee_query_rxphystatus()
187 pstatus->rx_mimo_signalstrength[i] = (u8)rssi; in _rtl88ee_query_rxphystatus()
196 pstatus->rx_pwdb_all = pwdb_all; in _rtl88ee_query_rxphystatus()
197 pstatus->rxpower = rx_pwr_all; in _rtl88ee_query_rxphystatus()
198 pstatus->recvsignalpower = rx_pwr_all; in _rtl88ee_query_rxphystatus()
201 if (pstatus->is_ht && pstatus->rate >= DESC92C_RATEMCS8 && in _rtl88ee_query_rxphystatus()
202 pstatus->rate <= DESC92C_RATEMCS15) in _rtl88ee_query_rxphystatus()
215 pstatus->signalquality = in _rtl88ee_query_rxphystatus()
217 pstatus->rx_mimo_signalquality[i] = in _rtl88ee_query_rxphystatus()
227 pstatus->signalstrength = (u8)(rtl_signal_scale_mapping(hw, in _rtl88ee_query_rxphystatus()
230 pstatus->signalstrength = (u8)(rtl_signal_scale_mapping(hw, in _rtl88ee_query_rxphystatus()
239 struct rtl_stats *pstatus) in _rtl88ee_smart_antenna() argument
248 if (pstatus->packet_toself) { in _rtl88ee_smart_antenna()
254 pstatus->rx_pwdb_all; in _rtl88ee_smart_antenna()
260 if (pstatus->packet_toself || pstatus->packet_matchbssid) { in _rtl88ee_smart_antenna()
265 pstatus->rx_pwdb_all); in _rtl88ee_smart_antenna()
273 struct rtl_stats *pstatus, in _rtl88ee_translate_rx_signal_stuff() argument
286 tmp_buf = skb->data + pstatus->rx_drvinfo_size + pstatus->rx_bufshift; in _rtl88ee_translate_rx_signal_stuff()
292 memcpy(pstatus->psaddr, psaddr, ETH_ALEN); in _rtl88ee_translate_rx_signal_stuff()
298 (!pstatus->hwerror) && in _rtl88ee_translate_rx_signal_stuff()
299 (!pstatus->crc) && (!pstatus->icv)); in _rtl88ee_translate_rx_signal_stuff()
309 _rtl88ee_query_rxphystatus(hw, pstatus, pdesc, p_drvinfo, in _rtl88ee_translate_rx_signal_stuff()
312 _rtl88ee_smart_antenna(hw, pstatus); in _rtl88ee_translate_rx_signal_stuff()
313 rtl_process_phyinfo(hw, tmp_buf, pstatus); in _rtl88ee_translate_rx_signal_stuff()