qcacmn: Add API to read tsf time

Add API to read tsf time from scratch registers.

Change-Id: If736c31f9ae522a9f853e7b83b6b8a61cad990da
CRs-Fixed: 3287544
这个提交包含在:
Amit Mehta
2022-09-08 02:47:37 -07:00
提交者 Madan Koyyalamudi
父节点 b8f5d7c27a
当前提交 163dd20054
修改 6 个文件,包含 224 行新增0 行删除

查看文件

@@ -1199,6 +1199,9 @@ struct hal_hw_txrx_ops {
void (*hal_tx_vdev_mcast_ctrl_set)(hal_soc_handle_t hal_soc_hdl,
uint8_t vdev_id,
uint8_t mcast_ctrl_val);
void (*hal_get_tsf_time)(hal_soc_handle_t hal_soc_hdl, uint32_t tsf_id,
uint32_t mac_id, uint64_t *tsf,
uint64_t *tsf_sync_soc_time);
};
/**