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
Este commit está contenido en:
Amir Patel
2019-03-28 18:16:25 +05:30
cometido por nshrivas
padre 2d61d53e44
commit 2321668837
Se han modificado 2 ficheros con 8 adiciones y 1 borrados

Ver fichero

@@ -97,6 +97,7 @@
#define CDP_INVALID_TID 31
#define CDP_DATA_TID_MAX 8
#define CDP_DATA_NON_QOS_TID 16
/*
* advance rx monitor filter
* */

Ver fichero

@@ -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],