qcacld-3.0: Handle FW rejuvenate scenario

Upon driver reinitialize after a FW rejuvenate,
data packets are not going through IPA path.

Check for FW rejuvenate scenario during driver
recovery and send appropriate message to IPA
driver.

Change-Id: I8c1d7ba78227684cd5653a5927aa4d4c2ce5d354
Crs-Fixed: 2287293
This commit is contained in:
jitiphil
2018-07-24 18:43:50 +05:30
committed by nshrivas
parent b1ba1f5304
commit 17d6f6a529
6 changed files with 76 additions and 0 deletions

View File

@@ -323,6 +323,15 @@ void ucfg_ipa_cleanup_dev_iface(struct wlan_objmgr_pdev *pdev,
* Return: None
*/
void ucfg_ipa_uc_ssr_cleanup(struct wlan_objmgr_pdev *pdev);
/**
* ucfg_ipa_fw_rejuvenate_send_msg() - Send msg to IPA driver in FW rejuvenate
* @pdev: pdev obj
*
* Return: None
*/
void ucfg_ipa_fw_rejuvenate_send_msg(struct wlan_objmgr_pdev *pdev);
#else
static inline bool ucfg_ipa_is_present(void)
@@ -503,5 +512,10 @@ static inline
void ucfg_ipa_uc_ssr_cleanup(struct wlan_objmgr_pdev *pdev)
{
}
static inline
void ucfg_ipa_fw_rejuvenate_send_msg(struct wlan_objmgr_pdev *pdev)
{
}
#endif /* IPA_OFFLOAD */
#endif /* _WLAN_IPA_UCFG_API_H_ */