qcacmn: Add support for target_if timer restart

Add support for target_if timer restart when
vdev mgmt ops request is queued though the intended
response corresponding to request is not yet received.

Change-Id: I08e474ac66a0c399a93ffbc4a24aab78084072d2
CRs-Fixed: 2463180
This commit is contained in:
Naga
2019-05-31 17:11:20 +05:30
committed by nshrivas
parent 78976eaa91
commit f69b80a563
3 changed files with 34 additions and 25 deletions

View File

@@ -62,6 +62,30 @@ target_if_vdev_mgr_get_tx_ops(struct wlan_objmgr_psoc *psoc)
QDF_STATUS
target_if_vdev_mgr_register_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops);
/**
* target_if_vdev_mgr_assert_mgmt() - vdev assert mgmt api
* @vdev: pointer to objmgr vdev
* @vdev_rsp: pointer to vdev mlme response timer
* @set_bit: bit to be set
*
* Return: NA
*/
#ifdef VDEV_ASSERT_MANAGEMENT
static void target_if_vdev_mgr_assert_mgmt(
struct wlan_objmgr_vdev *vdev,
struct vdev_response_timer *vdev_rsp,
uint8_t set_bit)
{
}
#else
static void target_if_vdev_mgr_assert_mgmt(
struct wlan_objmgr_vdev *vdev,
struct vdev_response_timer *vdev_rsp,
uint8_t set_bit)
{
QDF_ASSERT(0);
}
#endif
#else
static inline QDF_STATUS