mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
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:
parent
5e6bc10b53
commit
8bfe204c4a
1 changed files with 1 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue