qcacmn: Pause Tx HW enqueue when bus suspend in progress
In SAP due to intrabss forwarding, Tx ring update is going through when WOW enable command has been sent to FW. This results in crash. To fix this, do not update HP when apps suspend is in progress. Change-Id: Id4176224563bdd759828397fa1cd23de1598192e CRs-Fixed: 3294407
This commit is contained in:

zatwierdzone przez
Madan Koyyalamudi

rodzic
aaa7ef6872
commit
a4b2a03200
@@ -2083,6 +2083,29 @@ cdp_txrx_set_pdev_status_down(ol_txrx_soc_handle soc,
|
||||
is_pdev_down);
|
||||
}
|
||||
|
||||
/**
|
||||
* cdp_set_tx_pause() - Pause or resume tx path
|
||||
* @soc_hdl: Datapath soc handle
|
||||
* @flag: set or clear is_tx_pause
|
||||
*
|
||||
* Return: None.
|
||||
*/
|
||||
static inline
|
||||
void cdp_set_tx_pause(ol_txrx_soc_handle soc, bool flag)
|
||||
{
|
||||
if (!soc || !soc->ops) {
|
||||
dp_cdp_debug("Invalid Instance:");
|
||||
QDF_BUG(0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!soc->ops->cmn_drv_ops ||
|
||||
!soc->ops->cmn_drv_ops->set_tx_pause)
|
||||
return;
|
||||
|
||||
soc->ops->cmn_drv_ops->set_tx_pause(soc, flag);
|
||||
}
|
||||
|
||||
/**
|
||||
* cdp_tx_send() - enqueue frame for transmission
|
||||
* @soc: soc opaque handle
|
||||
|
Reference in New Issue
Block a user