qcacmn: Support TX completion and RX delay tracing for KIWI

Support TX completion and RX delay tracing by Ftrace for KIWI,
Add generic IP protocol packt tracing like ICMP packet.

Change-Id: Ie0c4b1764ce953fd2ed41fc5eea8aa28c8d427d9
CRs-Fixed: 3126080
This commit is contained in:
Jinwei Chen
2022-02-08 03:14:14 -08:00
committed by Madan Koyyalamudi
parent 9ae0959d63
commit 7a60675260
5 changed files with 128 additions and 7 deletions

View File

@@ -569,7 +569,8 @@ done:
DP_RX_TID_SAVE(nbuf, tid);
if (qdf_unlikely(rx_pdev->delay_stats_flag) ||
qdf_unlikely(wlan_cfg_is_peer_ext_stats_enabled(
soc->wlan_cfg_ctx)))
soc->wlan_cfg_ctx)) ||
dp_rx_pkt_tracepoints_enabled())
qdf_nbuf_set_timestamp(nbuf);
enh_flag = rx_pdev->enhanced_stats_en;