qcacmn: Handle Tasklet context for filter notify

Currently, opt_wifi_dp filter reserve and release
notification to IPA, is sent in a tasklet
context. As QMI calls tend to acquire mutexes, this
will cause an assert as we cannot sleep in a tasklet
context. To resolve this, WLAN will schedule the
notification call in a workqueue before calling
into IPA. This change ensures IPA calls from WLAN are
not made in an interrupt context.

Change-Id: Ic716e14340651db76d7dd7dc216c595c01732ee8
CRs-Fixed: 3492465
This commit is contained in:
Namita Nair
2023-04-26 21:59:45 -07:00
gecommit door Rahul Choudhary
bovenliggende f0348b8522
commit 5582448dca
4 gewijzigde bestanden met toevoegingen van 62 en 15 verwijderingen

Bestand weergeven

@@ -568,6 +568,19 @@ static inline int qdf_ipa_wdi_opt_dpath_notify_flt_rlsd_per_inst(
return __qdf_ipa_wdi_opt_dpath_notify_flt_rlsd_per_inst(hdl,
is_success);
}
#else
static inline int qdf_ipa_wdi_opt_dpath_notify_flt_rsvd_per_inst(
ipa_wdi_hdl_t hdl, bool is_success)
{
return 0;
}
static inline int qdf_ipa_wdi_opt_dpath_notify_flt_rlsd_per_inst(
ipa_wdi_hdl_t hdl, bool is_success)
{
return 0;
}
#endif /* IPA_OPT_WIFI_DP */
#endif /* IPA_OFFLOAD */
#endif /* QDF_IPA_WDI3_H */