qcacld-3.0: Move IPA SMMU functions to IPA component
IPA module has been moved to CLD component under the converged driver model. Move the legacy HDD IPA SMMU functions to the IPA component. Change-Id: I3ac5ebe87cc48913f3e8e075e60737e78664f861 CRs-Fixed: 2177925
Цей коміт міститься в:

зафіксовано
nshrivas

джерело
bd4c5eba7b
коміт
739492cc3d
@@ -25,6 +25,7 @@
|
||||
#include "wlan_ipa_public_struct.h"
|
||||
#include "wlan_ipa_obj_mgmt_api.h"
|
||||
#include "wlan_objmgr_pdev_obj.h"
|
||||
#include "qdf_types.h"
|
||||
|
||||
#ifdef IPA_OFFLOAD
|
||||
|
||||
@@ -271,6 +272,16 @@ QDF_STATUS ucfg_ipa_wlan_evt(struct wlan_objmgr_pdev *pdev,
|
||||
enum wlan_ipa_wlan_event ipa_event_type,
|
||||
uint8_t *mac_addr);
|
||||
|
||||
/**
|
||||
* ucfg_ipa_uc_smmu_map() - Map / Unmap DMA buffer to IPA UC
|
||||
* @map: Map / unmap operation
|
||||
* @num_buf: Number of buffers in array
|
||||
* @buf_arr: Buffer array of DMA mem mapping info
|
||||
*
|
||||
* Return: Status of map operation
|
||||
*/
|
||||
int ucfg_ipa_uc_smmu_map(bool map, uint32_t num_buf, qdf_mem_info_t *buf_arr);
|
||||
|
||||
#else
|
||||
|
||||
static inline bool ucfg_ipa_is_present(void)
|
||||
@@ -422,5 +433,10 @@ QDF_STATUS ucfg_ipa_wlan_evt(struct wlan_objmgr_pdev *pdev,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline
|
||||
int ucfg_ipa_uc_smmu_map(bool map, uint32_t num_buf, qdf_mem_info_t *buf_arr)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif /* IPA_OFFLOAD */
|
||||
#endif /* _WLAN_IPA_UCFG_API_H_ */
|
||||
|
Посилання в новій задачі
Заблокувати користувача