Bläddra i källkod

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
Srinivas Dasari 3 år sedan
förälder
incheckning
b22c118d2a
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      components/nan/core/inc/nan_public_structs.h

+ 1 - 1
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