qcacmn: Add RX frame pending check for WoW

Sometimes frames are queued to dp_rx_thread wait queue
during WoW suspend in progress. At this time dp_rx_thread
is in SUSPEND state and these frames can't deliver to Linux
Stack, for ICMP case, if no other frames come to wake up
system, ICMP timeout will happen. Add a RX suspend check
in WoW to avoid suspend when frame comes before WMI_WOW_ENABLE
sends to FW

Change-Id: I756d3127f75da8f0e6e303c1250c01ce0c6ac573
CRs-Fixed: 2756263
This commit is contained in:
Yu Tian
2020-08-15 19:19:48 +08:00
committed by snandini
parent 926912fe86
commit dabf6e13ee
2 changed files with 15 additions and 0 deletions

View File

@@ -1101,6 +1101,7 @@ struct ol_if_ops {
uint8_t pdev_id);
QDF_STATUS(*nss_stats_clr)(struct cdp_ctrl_objmgr_psoc *psoc,
uint8_t vdev_id);
int (*dp_rx_get_pending)(ol_txrx_soc_handle soc);
/* TODO: Add any other control path calls required to OL_IF/WMA layer */
};