浏览代码

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 2 年之前
父节点
当前提交
b8f5d7c27a
共有 1 个文件被更改,包括 3 次插入3 次删除
  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;
 	}