From 2801c66765541f5d8b5e7cbda838fe59da807250 Mon Sep 17 00:00:00 2001 From: Srinivas Dasari Date: Wed, 28 Jul 2021 16:32:36 +0530 Subject: [PATCH] qcacld-3.0: Increase the NDP_END wait timeout to 4 seconds Currently, host driver expects NDP_END indication from firmware within 2 seconds after sending request to firmware. Driver shall timeout and cleanup the corresponding NDP entry if no response is received within 2 seconds. But firmware may take upto 2.5 seconds to exhaust the NDP_END frame retries. So, increase the timeout to 4 seconds to accommodate these retries and to be inline with current NAN_DISABLE timeout. Change-Id: Ida1abc25b4ff64aea810c88dbf36f9577b23ffd8 CRs-Fixed: 3002176 --- components/nan/core/inc/nan_public_structs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/nan/core/inc/nan_public_structs.h b/components/nan/core/inc/nan_public_structs.h index 45cf356e5530..f4ca28fb5ee9 100644 --- a/components/nan/core/inc/nan_public_structs.h +++ b/components/nan/core/inc/nan_public_structs.h @@ -45,7 +45,7 @@ struct wlan_objmgr_vdev; #define NAN_PASSPHRASE_MIN_LEN 8 #define NAN_PASSPHRASE_MAX_LEN 63 #define NAN_CH_INFO_MAX_CHANNELS 4 -#define WLAN_WAIT_TIME_NDP_END 2000 +#define WLAN_WAIT_TIME_NDP_END 4000 #define NAN_PSEUDO_VDEV_ID CFG_TGT_NUM_VDEV