qcacmn: Check system suspend status before REO CMD ring access

REO module may hang when REO commands are queued after WoW enable WMI
sent to FW. Change is used to check WoW progress before accessing REO
CMD ring. If WoW is in progress, then defer REO commands.

Change-Id: I9cd8390e77ef33f98f84cb604f152e3f9a0e4203
CRs-Fixed: 3362608
This commit is contained in:
Yu Tian
2022-12-14 22:50:26 -08:00
committed by Madan Koyyalamudi
parent 0ec15d3777
commit b05959171c
3 changed files with 35 additions and 4 deletions

View File

@@ -15102,6 +15102,7 @@ static QDF_STATUS dp_bus_resume(struct cdp_soc_t *soc_hdl, uint8_t pdev_id)
for (i = 0; i < soc->num_tcl_data_rings; i++)
dp_flush_ring_hptp(soc, soc->tcl_data_ring[i].hal_srng);
dp_flush_ring_hptp(soc, soc->reo_cmd_ring.hal_srng);
dp_rx_fst_update_pm_suspend_status(soc, false);
dp_rx_fst_requeue_wq(soc);