From 8bfe204c4ace5732ebc85196d70184198ecea81b Mon Sep 17 00:00:00 2001 From: Vulupala Shashank Reddy Date: Wed, 24 Mar 2021 11:45:20 +0530 Subject: [PATCH] qcacld-3.0: Fill timestamp for Mgmt tx packets for packet capture Currently in packet capture mode for tx mgmt packets tsf_delta filled in tsf timeestamp, which is incorrect. So, fill tsf timestamp in Mgmt tx packets for packet capture. Change-Id: I90da072ee6d7e0f7a9b6271086e163a71208b7f5 CRs-Fixed: 2916982 --- components/pkt_capture/core/src/wlan_pkt_capture_mgmt_txrx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/pkt_capture/core/src/wlan_pkt_capture_mgmt_txrx.c b/components/pkt_capture/core/src/wlan_pkt_capture_mgmt_txrx.c index fcee32c1b454..a27ef0acd887 100644 --- a/components/pkt_capture/core/src/wlan_pkt_capture_mgmt_txrx.c +++ b/components/pkt_capture/core/src/wlan_pkt_capture_mgmt_txrx.c @@ -472,8 +472,7 @@ pkt_capture_mgmt_rx_data_cb(struct wlan_objmgr_psoc *psoc, } } - - txrx_status.tsft = (u_int64_t)rx_params->tsf_delta; + txrx_status.tsft = (u_int64_t)rx_params->tsf_l32; txrx_status.chan_num = rx_params->channel; txrx_status.chan_freq = wlan_chan_to_freq(txrx_status.chan_num); /* rx_params->rate is in Kbps, convert into Mbps */