qcacmn: Set the initial wake flag on MSI resume
When the wlan driver is suspending, the last thing it does is check to see if the firmware has indicated a wakeup during the suspend process. This is done by checking the initial wakeup flag, which is set when a specific copy engine payload is received from firmware. For the new dedicated wake MSI, only the wake signal is received, no payload. When the wake MSI is toggled, set the initial wakeup flag to prevent race conditions during the suspend process. Change-Id: Id53cc7884431a437136d8dca068449bc5a25b87c CRs-Fixed: 2133469
This commit is contained in:
@@ -922,4 +922,16 @@ void hif_print_napi_stats(struct hif_opaque_softc *hif_ctx);
|
||||
|
||||
void *hif_get_dev_ba(struct hif_opaque_softc *hif_handle);
|
||||
|
||||
/**
|
||||
* hif_set_initial_wakeup_cb() - set the initial wakeup event handler function
|
||||
* @hif_ctx - the HIF context to assign the callback to
|
||||
* @callback - the callback to assign
|
||||
* @priv - the private data to pass to the callback when invoked
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void hif_set_initial_wakeup_cb(struct hif_opaque_softc *hif_ctx,
|
||||
void (*callback)(void *),
|
||||
void *priv);
|
||||
|
||||
#endif /* _HIF_H_ */
|
||||
|
مرجع در شماره جدید
Block a user