qcacmn: Stop the monitor reap timer at dp suspend

In case of wlan suspend if packet log is enabled stop the
monitor reap timer and reap the pending frames in the ring.
Also in case of FW target suspend ACK status reap monitor
status ring. During target suspend FW will disable the monitor
status ring. This change will make sure no pending frames in
the ring during start of system suspend and the target suspend.

Change-Id: I350fa508f3ddd125d5e00a7fc60e89507ce8fb4e
CRs-Fixed: 2604389
This commit is contained in:
Sravan Goud
2020-01-22 21:24:11 +05:30
parent b1261d4e0c
commit 37c06b57a3
3 changed files with 110 additions and 22 deletions

View File

@@ -1518,10 +1518,12 @@ struct cdp_tx_delay_ops {
* struct cdp_bus_ops - mcl bus suspend/resume ops
* @bus_suspend: handler for bus suspend
* @bus_resume: handler for bus resume
* @process_wow_ack_rsp: handler for wow ack response
*/
struct cdp_bus_ops {
QDF_STATUS (*bus_suspend)(struct cdp_soc_t *soc_hdl, uint8_t pdev_id);
QDF_STATUS (*bus_resume)(struct cdp_soc_t *soc_hdl, uint8_t pdev_id);
void (*process_wow_ack_rsp)(struct cdp_soc_t *soc_hdl, uint8_t pdev_id);
};
#endif