qcacmn: Add HAL APIs to read tsf2 and tqm scratch register

Add support to read TSF2 and TQM scratch regitser in the HAL layer
for WKK v1 and v2 board.

Change-Id: I0ef5e8cf4e06c0b5c98169252a81f70989285d2d
CRs-Fixed: 3321782
这个提交包含在:
Ripan Deuri
2022-10-29 15:26:31 +05:30
提交者 Madan Koyyalamudi
父节点 938ddb0956
当前提交 11ccd80f56
修改 7 个文件,包含 301 行新增0 行删除

查看文件

@@ -1208,6 +1208,10 @@ struct hal_hw_txrx_ops {
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);
void (*hal_get_tsf2_scratch_reg)(hal_soc_handle_t hal_soc_hdl,
uint8_t mac_id, uint64_t *value);
void (*hal_get_tqm_scratch_reg)(hal_soc_handle_t hal_soc_hdl,
uint64_t *value);
};
/**