qca-wifi: Temp WAR for MCAST traffic in TX Cap
Add temporary workaround for TX Capture Enhancements feature to not process stats for MCAST traffic unless the peer is a bss peer. This change avoids memory leaks relating to MCAST Traffic stats handling. Change-Id: I9b564897e402a4381e6d92d983bc10e1036ee2b4
This commit is contained in:
@@ -699,7 +699,8 @@ dp_update_msdu_to_list(struct dp_soc *soc,
|
|||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ts->tid > DP_MAX_TIDS) {
|
if ((ts->tid > DP_MAX_TIDS) ||
|
||||||
|
(peer->bss_peer && ts->tid == DP_NON_QOS_TID)) {
|
||||||
QDF_TRACE(QDF_MODULE_ID_TX_CAPTURE, QDF_TRACE_LEVEL_ERROR,
|
QDF_TRACE(QDF_MODULE_ID_TX_CAPTURE, QDF_TRACE_LEVEL_ERROR,
|
||||||
"%s: %d peer_id %d, tid %d > NON_QOS_TID!",
|
"%s: %d peer_id %d, tid %d > NON_QOS_TID!",
|
||||||
__func__, __LINE__, ts->peer_id, ts->tid);
|
__func__, __LINE__, ts->peer_id, ts->tid);
|
||||||
|
Reference in New Issue
Block a user