qcacmn: Update tx stats for non-qos frames

Currently there is no support to update tx stats for
non-qos frame. Update tx stats for non-qos data frames

Change-Id: Ib61dd6e3b0c676b5af806c4b1e5cca22ea6ffaa5
CRs-Fixed: 2421925
This commit is contained in:
Amir Patel
2019-03-28 18:16:25 +05:30
committed by nshrivas
orang tua 2d61d53e44
melakukan 2321668837
2 mengubah file dengan 8 tambahan dan 1 penghapusan

Melihat File

@@ -2611,7 +2611,13 @@ void dp_ppdu_desc_deliver(struct dp_pdev *pdev,
dp_peer_unref_del_find_by_id(peer);
continue;
}
if (ppdu_desc->user[i].tid < CDP_DATA_TID_MAX) {
/**
* Update tx stats for data frames having Qos as well as
* non-Qos data tid
*/
if ((ppdu_desc->user[i].tid < CDP_DATA_TID_MAX ||
(ppdu_desc->user[i].tid == CDP_DATA_NON_QOS_TID)) &&
(ppdu_desc->frame_type == CDP_PPDU_FTYPE_DATA)) {
dp_tx_stats_update(pdev->soc, peer,
&ppdu_desc->user[i],