Ver Fonte

qcacmn: Increase scan cancel sync time

Scan command timeout value is 30secs and scan
cancel sync waiting time is 5sec due to this
in failure scenario scan timeout callback is
getting triggered very late and causing crash
in HDD.

Increase scan cancel sync timeout value equal to
scan command timeout value.

Change-Id: I7b98d26ac5d97039714a431030e47c463d3a670e
CRs-Fixed: 2048167
Sandeep Puligilla há 7 anos atrás
pai
commit
d9ac9a2abe
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      umac/scan/dispatcher/inc/wlan_scan_public_structs.h

+ 1 - 1
umac/scan/dispatcher/inc/wlan_scan_public_structs.h

@@ -47,7 +47,7 @@ typedef uint32_t wlan_scan_id;
 #define SCM_BSS_CAP_VALUE_5GHZ  2
 
 #define SCM_CANCEL_SCAN_WAIT_TIME 50
-#define SCM_CANCEL_SCAN_WAIT_ITERATION 100
+#define SCM_CANCEL_SCAN_WAIT_ITERATION 600
 
 #define INVAL_SCAN_ID        0xFFFFFFFF
 #define INVAL_VDEV_ID        0xFFFFFFFF