qcacld-3.0: Flush pending ipa pending events

At stop adapter flush vdev's pending wlan ipa events
and also increase the ipa resources load/unload timeout
to 500ms as current timeout of 100ms which is less taking
in to account of suspending IPA pipes, WLAN FW pipes and
also waiting separately for the RX and TX suspend ack from
the FW.

Change-Id: Ia622ab84f15089826c23502f365b11e742277ca8
CRs-Fixed: 2660807
This commit is contained in:
Sravan Goud
2020-04-13 10:43:55 +05:30
committed by nshrivas
parent ca3b3b03fe
commit 146c50d37f
8 changed files with 94 additions and 3 deletions

View File

@@ -374,7 +374,15 @@ uint32_t ucfg_ipa_get_tx_buf_count(void);
*/
void ucfg_ipa_update_tx_stats(struct wlan_objmgr_pdev *pdev, uint64_t sta_tx,
uint64_t ap_tx);
/**
* ucfg_ipa_flush_pending_vdev_events() - flush pending vdev wlan ipa events
* @pdev: pdev obj
* @vdev_id: vdev id
*
* Return: None
*/
void ucfg_ipa_flush_pending_vdev_events(struct wlan_objmgr_pdev *pdev,
uint8_t vdev_id);
#else
static inline bool ucfg_ipa_is_present(void)
@@ -591,5 +599,11 @@ void ucfg_ipa_update_tx_stats(struct wlan_objmgr_pdev *pdev, uint64_t sta_tx,
uint64_t ap_tx)
{
}
static inline
void ucfg_ipa_flush_pending_vdev_events(struct wlan_objmgr_pdev *pdev,
uint8_t vdev_id)
{
}
#endif /* IPA_OFFLOAD */
#endif /* _WLAN_IPA_UCFG_API_H_ */

View File

@@ -223,3 +223,9 @@ void ucfg_ipa_update_tx_stats(struct wlan_objmgr_pdev *pdev, uint64_t sta_tx,
{
ipa_update_tx_stats(pdev, sta_tx, ap_tx);
}
void ucfg_ipa_flush_pending_vdev_events(struct wlan_objmgr_pdev *pdev,
uint8_t vdev_id)
{
ipa_flush_pending_vdev_events(pdev, vdev_id);
}