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
szülő 5831436d29
commit c3fddc9ae6
7 fájl változott, egészen pontosan 85 új sor hozzáadva és 3 régi sor törölve

Fájl megtekintése

@@ -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_ */