qcacld-3.0: Map IPA tx buffers as part of IPA ready callback

Register IPA ready callback with IPA driver. The callback
sets ipa_is_ready flag in the host driver and kick starts
the ipa init sequence as part of which the Tx buffers are
mapped to IPA.
None of the IPA APIs are invoked until IPA ready registration
is complete.

Change-Id: I4dda8fd083c71400532139174f834b757e05e5a6
CRs-Fixed: 2752235
This commit is contained in:
Nisha Menon
2020-08-07 19:57:06 -07:00
committed by snandini
parent 25218de9b0
commit 57278370bd
7 changed files with 241 additions and 18 deletions

View File

@@ -357,6 +357,13 @@ void ucfg_ipa_fw_rejuvenate_send_msg(struct wlan_objmgr_pdev *pdev);
*/
void ucfg_ipa_component_config_update(struct wlan_objmgr_psoc *psoc);
/**
* ucfg_ipa_component_config_free() - Free IPA component config
*
* Return: None
*/
void ucfg_ipa_component_config_free(void);
/**
* ucfg_get_ipa_tx_buf_count() - get IPA tx buffer count
*
@@ -588,6 +595,11 @@ void ucfg_ipa_component_config_update(struct wlan_objmgr_psoc *psoc)
{
}
static inline
void ucfg_ipa_component_config_free(void)
{
}
static inline
uint32_t ucfg_ipa_get_tx_buf_count(void)
{