qcacmn: Add field to return Lmac ring start ID

Return LMAC start id also as part of hal_get_meminfo API.
This field is added to hal_mem_info struct.

Change-Id: I013d357cf4337702c06a91ed15e8337469865270
This commit is contained in:
nobelj
2021-05-19 08:27:23 -07:00
committed by Madan Koyyalamudi
parent 971db896f1
commit 8a11583471
2 changed files with 3 additions and 0 deletions

View File

@@ -1468,6 +1468,7 @@ void hal_get_meminfo(hal_soc_handle_t hal_soc_hdl, struct hal_mem_info *mem)
mem->shadow_wrptr_mem_paddr = (void *)hal->shadow_wrptr_mem_paddr;
hif_read_phy_mem_base((void *)hal->hif_handle,
(qdf_dma_addr_t *)&mem->dev_base_paddr);
mem->lmac_srng_start_id = HAL_SRNG_LMAC1_ID_START;
return;
}
qdf_export_symbol(hal_get_meminfo);