From f4149ccaa2d1a51b2e6e3b3f12dd88869715502d Mon Sep 17 00:00:00 2001 From: Himanshu Batra Date: Wed, 12 Feb 2020 12:21:36 +0530 Subject: [PATCH] qcacmn: Add multivdev restart wait timeout In the current implementaion, if multivdev restart req is not sent due to error cases, then the multivdev restart timer gets restarted after every timeout and the vdev sm is stuck in same state. Add multivdev restart timeout wait counter and assert after the wait timeout expires. Change-Id: I12b10fb7d880e7fcf3dd02d1e38397aa2e3aebe7 CRs-Fixed: 2621231 --- umac/mlme/include/wlan_pdev_mlme.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/umac/mlme/include/wlan_pdev_mlme.h b/umac/mlme/include/wlan_pdev_mlme.h index 6f3c68ffeb1f..b44aa90b3654 100644 --- a/umac/mlme/include/wlan_pdev_mlme.h +++ b/umac/mlme/include/wlan_pdev_mlme.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2019-2020 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -55,6 +55,7 @@ struct pdev_mlme_obj { unsigned long restart_send_vdev_bmap[2]; unsigned long start_send_vdev_arr[2]; struct pdev_restart_attr pdev_restart; + qdf_atomic_t multivdev_restart_wait_cnt; }; #endif