qcacmn: removing/handle DP stats asserts
removing/handle DP stats asserts Change-Id: I8bd92a4c052a12846f9e2044ab08bdc6159644f0 CRs-Fixed: 3599818
This commit is contained in:

committed by
Rahul Choudhary

parent
4daee5289b
commit
3764474cbd
@@ -2679,7 +2679,7 @@ static void dp_vdev_txrx_hw_stats_handler(struct htt_soc *soc,
|
||||
break;
|
||||
}
|
||||
default:
|
||||
qdf_assert(0);
|
||||
dp_htt_err("Invalid tlv_type value:%d\n", tlv_type);
|
||||
}
|
||||
invalid_vdev:
|
||||
msg_word = (uint32_t *)((uint8_t *)tlv_buf + tlv_length);
|
||||
|
@@ -4222,8 +4222,6 @@ static void dp_tx_update_peer_delay_stats(struct dp_txrx_peer *txrx_peer,
|
||||
tid = ts->tid;
|
||||
delay_stats = txrx_peer->delay_stats;
|
||||
|
||||
qdf_assert(ring < CDP_MAX_TXRX_CTX);
|
||||
|
||||
/*
|
||||
* For non-TID packets use the TID 9
|
||||
*/
|
||||
@@ -4403,10 +4401,12 @@ static void dp_tx_update_peer_jitter_stats(struct dp_txrx_peer *txrx_peer,
|
||||
if (qdf_likely(!wlan_cfg_is_peer_jitter_stats_enabled(soc->wlan_cfg_ctx)))
|
||||
return;
|
||||
|
||||
if (!txrx_peer->jitter_stats)
|
||||
return;
|
||||
|
||||
tid = ts->tid;
|
||||
jitter_stats = txrx_peer->jitter_stats;
|
||||
qdf_assert_always(jitter_stats);
|
||||
qdf_assert(ring < CDP_MAX_TXRX_CTX);
|
||||
|
||||
/*
|
||||
* For non-TID packets use the TID 9
|
||||
*/
|
||||
|
Reference in New Issue
Block a user