qcacmn: support multiple pages prealloc for descriptor

Support multiple pages prealloc for DP descriptor

Change-Id: I66d4cef3acf69acf4b6fc8e5a6d01c3d67921dca
CRs-Fixed: 2751338
This commit is contained in:
Jinwei Chen
2020-08-17 01:20:57 -07:00
committed by snandini
parent 21d6fd0ac6
commit 18989f8ede
9 changed files with 225 additions and 49 deletions

View File

@@ -1131,6 +1131,13 @@ struct ol_if_ops {
void (*dp_prealloc_put_consistent)(qdf_size_t size,
void *vaddr_unligned,
qdf_dma_addr_t paddr);
void (*dp_get_multi_pages)(uint32_t desc_type,
size_t element_size,
uint16_t element_num,
struct qdf_mem_multi_page_t *pages,
bool cacheable);
void (*dp_put_multi_pages)(uint32_t desc_type,
struct qdf_mem_multi_page_t *pages);
#endif
int (*get_soc_nss_cfg)(struct cdp_ctrl_objmgr_psoc *ol_soc_handle);