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
This commit is contained in:
Vulupala Shashank Reddy 2021-03-24 11:45:20 +05:30 • committed by Madan Koyyalamudi
commit 8bfe204c4a

View file

@ -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 */