qcacmn: Adding mlo timestamp offset to tsf for radiotap

Adding MLO timestamp offset reported from firmware to tsf time for
radiotap header.

Change-Id: I2947dacf6c37214e60d70fcb3df4a5f9897356ac
CRs-Fixed: 3211179
这个提交包含在:
Kai Chen
2022-05-04 12:31:18 -07:00
提交者 Madan Koyyalamudi
父节点 5f96fd74c9
当前提交 8cace9cda9
修改 2 个文件,包含 12 行新增0 行删除

查看文件

@@ -1199,6 +1199,11 @@ dp_rx_mon_process_status_tlv(struct dp_pdev *pdev)
&desc_list, &tail);
}
ppdu_info->rx_status.tsft = ppdu_info->rx_status.tsft +
pdev->timestamp.mlo_offset_lo_us +
((uint64_t)pdev->timestamp.mlo_offset_hi_us
<< 32);
return ppdu_info;
}