qcacmn: msdu time lag update for tx completion

msdu time from hwenqueue to tx completion as part of
msdu stats.

Change-Id: I71ba6f1dec0505e4fa09b5fb123f21912b08b9c5
CRs-Fixed: 2286774
This commit is contained in:
Ruchi, Agrawal
2018-06-20 19:31:03 +05:30
committed by nshrivas
parent 234753cb0f
commit 2cbca3b050
7 changed files with 113 additions and 2 deletions

View File

@@ -310,6 +310,8 @@ static inline struct dp_tx_desc_s *dp_tx_desc_alloc(struct dp_soc *soc,
soc->tx_desc[desc_pool_id].num_allocated++;
soc->tx_desc[desc_pool_id].num_free--;
tx_desc->timestamp = qdf_ktime_to_ms(qdf_ktime_get());
tx_desc->flags = DP_TX_DESC_FLAG_ALLOCATED;
TX_DESC_LOCK_UNLOCK(&soc->tx_desc[desc_pool_id].lock);