qcacmn: Block non-wmi traffic in ce layer durring suspend

Upper layers are failing to block disallowed traffic durring suspend.
Hif can enqueue the messages on the ce rings without letting hardware
know they are there.  When fw is ready to recieve non wmi packets,
hif can inform hw of the queued packets.

Change-Id: I32810d9548416021c1da4f48a4ac539f75f1d907
CRs-Fixed: 2003582
This commit is contained in:
Houston Hoffman
2017-02-08 17:43:13 -08:00
zatwierdzone przez Sandeep Puligilla
rodzic 06ba41e804
commit cbcd8397ea
8 zmienionych plików z 118 dodań i 13 usunięć

Wyświetl plik

@@ -718,6 +718,17 @@ enum ipa_hw_type hif_get_ipa_hw_type(void)
}
#endif
int hif_bus_resume(struct hif_opaque_softc *);
/**
* hif_bus_ealry_suspend() - stop non wmi tx traffic
* @context: hif context
*/
int hif_bus_early_suspend(struct hif_opaque_softc *hif_ctx);
/**
* hif_bus_late_resume() - resume non wmi traffic
* @context: hif context
*/
int hif_bus_late_resume(struct hif_opaque_softc *hif_ctx);
int hif_bus_suspend(struct hif_opaque_softc *);
int hif_bus_resume_noirq(struct hif_opaque_softc *);
int hif_bus_suspend_noirq(struct hif_opaque_softc *);