qcacmn: Populate timestamp,duration,lsig_a stats

ppdu stats timestamp,duration,channel etc were not
updated and corrected the same

Also RSSI was incorrectly getting updated for
mcast frames also, fix both of the above issues

Change-Id: Id8446c6c0cfe8761f8c524fc7af0ff5bdd8b96aa
Šī revīzija ir iekļauta:
Anish Nataraj
2018-02-07 23:04:24 +05:30
revīziju iesūtīja snandini
vecāks e5dd51ce96
revīzija 57614da632
3 mainīti faili ar 6 papildinājumiem un 4 dzēšanām

Parādīt failu

@@ -81,7 +81,6 @@ static void dp_tx_stats_update(struct dp_soc *soc, struct dp_peer *peer,
DP_STATS_INC(peer, tx.sgi_count[ppdu->gi], num_msdu);
DP_STATS_INC(peer, tx.bw[ppdu->bw], num_msdu);
DP_STATS_INC(peer, tx.nss[ppdu->nss], num_msdu);
DP_STATS_UPD(peer, tx.last_ack_rssi, ack_rssi);
DP_STATS_INC(peer, tx.wme_ac_type[TID_TO_WME_AC(ppdu->tid)], num_msdu);
DP_STATS_INCC(peer, tx.stbc, num_msdu, ppdu->stbc);
DP_STATS_INCC(peer, tx.ldpc, num_msdu, ppdu->ldpc);
@@ -94,6 +93,7 @@ static void dp_tx_stats_update(struct dp_soc *soc, struct dp_peer *peer,
+ ppdu->retry_bytes +
ppdu->failed_bytes));
} else {
DP_STATS_UPD(peer, tx.last_ack_rssi, ack_rssi);
DP_STATS_INC_PKT(peer, tx.ucast, num_msdu, (ppdu->success_bytes
+ ppdu->retry_bytes +
ppdu->failed_bytes));