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
This commit is contained in:
Kai Chen
2022-05-04 12:31:18 -07:00
committed by Madan Koyyalamudi
父節點 5f96fd74c9
當前提交 8cace9cda9
共有 2 個文件被更改,包括 12 次插入0 次删除

查看文件

@@ -3096,6 +3096,13 @@ dp_rx_mlo_timestamp_ind_handler(struct dp_soc *soc,
pdev->timestamp.mlo_comp_timer =
HTT_T2H_MLO_TIMESTAMP_OFFSET_MLO_TIMESTAMP_COMP_PERIOD_US_GET(
*(msg_word + 7));
dp_htt_debug("tsf_lo=%d tsf_hi=%d, mlo_ofst_lo=%d, mlo_ofst_hi=%d\n",
pdev->timestamp.sync_tstmp_lo_us,
pdev->timestamp.sync_tstmp_hi_us,
pdev->timestamp.mlo_offset_lo_us,
pdev->timestamp.mlo_offset_hi_us);
qdf_spin_unlock_bh(&soc->htt_stats.lock);
}
#else