qcacmn: Initialize DMA rings using hal_srng APIs
Initialize DMA rings for CIR/CFR capture and program them to firmware. Change-Id: I41c32cddc3fc0f7f0a972bf69ecbacfc9f0626f7 CRs-Fixed: 2053958
This commit is contained in:
@@ -124,6 +124,13 @@ static inline void target_if_wifi_pos_register_rx_ops(
|
||||
QDF_STATUS target_if_wifi_pos_init_cir_cfr_rings(struct wlan_objmgr_psoc *psoc,
|
||||
void *hal_soc, uint8_t num_mac,
|
||||
void *buf);
|
||||
/**
|
||||
* target_if_wifi_pos_deinit_dma_rings: frees up DMA rings
|
||||
* @psoc: pointer to psoc
|
||||
*
|
||||
* Return: status of operation
|
||||
*/
|
||||
QDF_STATUS target_if_wifi_pos_deinit_dma_rings(struct wlan_objmgr_psoc *psoc);
|
||||
#else
|
||||
static inline QDF_STATUS target_if_wifi_pos_init_cir_cfr_rings(
|
||||
struct wlan_objmgr_psoc *psoc, void *hal_soc,
|
||||
@@ -131,6 +138,12 @@ static inline QDF_STATUS target_if_wifi_pos_init_cir_cfr_rings(
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline QDF_STATUS target_if_wifi_pos_deinit_dma_rings(
|
||||
struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _WIFI_POS_TGT_IF_H_ */
|
||||
|
Reference in New Issue
Block a user