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
This commit is contained in:
Srinivas Dasari 2021-07-28 16:32:36 +05:30 • committed by Madan Koyyalamudi
commit 2801c66765

View file

@ -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