Parcourir la source

qcacmn: Update ppdu phy tx time irrespective of ACK_BA_STATUS

In case when ACK_BA_STATUS is not received, the ppdu phy tx time is not
getting calculated even though the media is used for the ppdu.
Add fix to ppdu phy tx time irrespective of ACK_BA_STATUS

Change-Id: I23d29b2d282edf6e5d49ce18aecd81e5239a118b
CRs-Fixed: 3288380
Himanshu Batra il y a 2 ans
Parent
commit
b8f5d7c27a
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      dp/wifi3.0/monitor/dp_mon.c

+ 3 - 3
dp/wifi3.0/monitor/dp_mon.c

@@ -4223,6 +4223,9 @@ dp_ppdu_desc_user_stats_update(struct dp_pdev *pdev,
 			continue;
 
 		ppdu_desc->user[i].is_bss_peer = peer->bss_peer;
+
+		dp_ppdu_desc_user_phy_tx_time_update(pdev, peer, ppdu_desc,
+						     &ppdu_desc->user[i]);
 		/*
 		 * different frame like DATA, BAR or CTRL has different
 		 * tlv bitmap expected. Apart from ACK_BA_STATUS TLV, we
@@ -4261,9 +4264,6 @@ dp_ppdu_desc_user_stats_update(struct dp_pdev *pdev,
 					   ppdu_desc->ack_rssi);
 		}
 
-		dp_ppdu_desc_user_phy_tx_time_update(pdev, peer, ppdu_desc,
-						     &ppdu_desc->user[i]);
-
 		dp_peer_unref_delete(peer, DP_MOD_ID_TX_PPDU_STATS);
 		tlv_bitmap_expected = tlv_bitmap_default;
 	}