Jelajahi Sumber

qcawifi: resolve issue on updating protocol tag.

Skip protocol tag updating from msdu end TLV protocol tag meta data
when there is RXDMA REO entrance push error on monitor destination ring.
The attention and msdu end TLV is not updated reliably when there
is RXDMA REO entrance push error such as FCS error on monitor
destination ring.

Change-Id: I47ab7da3a239080c1ab608c5001f65c4849b7b3a
Kai Chen 5 tahun lalu
induk
melakukan
5612428719
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  1. 5 0
      dp/wifi3.0/dp_rx_tag.c

+ 5 - 0
dp/wifi3.0/dp_rx_tag.c

@@ -270,6 +270,7 @@ void dp_rx_mon_update_protocol_flow_tag(struct dp_soc *soc,
 {
 	uint32_t msdu_ppdu_id = 0;
 	struct mon_rx_status *mon_recv_status;
+	struct cdp_mon_status *rs;
 
 	bool is_mon_protocol_flow_tag_enabled =
 		wlan_cfg_is_rx_mon_protocol_flow_tag_enabled(soc->wlan_cfg_ctx);
@@ -283,6 +284,10 @@ void dp_rx_mon_update_protocol_flow_tag(struct dp_soc *soc,
 	if (qdf_likely(1 != dp_pdev->ppdu_info.rx_status.rxpcu_filter_pass))
 		return;
 
+	rs = &dp_pdev->rx_mon_recv_status;
+	if (rs->cdp_rs_rxdma_err)
+		return;
+
 	msdu_ppdu_id = hal_rx_get_ppdu_id(soc->hal_soc, rx_desc);
 
 	if (msdu_ppdu_id != dp_pdev->ppdu_info.com_info.ppdu_id) {