Procházet zdrojové kódy

qcacmn: Change default scan max timeout value for CM scan

The current value of scan timeout value is 10 secs.
Earlier for ap platform the scan timeout wass set to default as 50 secs
and and also for ap platform the scan could be triggered for internally
triggered connect and the max scan timeout
of 50 secs should not result in supplicant timeouts.

So setting the max scan timeout value of 50 sec for ap platforms

CRs-Fixed: 2870782
Change-Id: Icd2841f1f5503623f15bdbdea3430ef6559b9a1b
Vivek před 4 roky
rodič
revize
f07ebaf7d8

+ 1 - 1
umac/mlme/connection_mgr/core/src/wlan_cm_connect_scan.c

@@ -26,7 +26,7 @@
  * Calculation for timeout:
  * 8 sec(time to complete scan on all channels) + 2 sec(buffer)
  */
-#define SCAN_FOR_SSID_TIMEOUT       10000
+#define SCAN_FOR_SSID_TIMEOUT       (PLATFORM_VALUE(10000, 50000))
 
 static QDF_STATUS cm_fill_scan_req(struct cnx_mgr *cm_ctx,
 				   struct cm_connect_req *cm_req,