瀏覽代碼

qcacld-3.0: Increase driver probe timeout for Napier emulation

In Napier emulation, due to the FPGA slowness and the need from
firmware side to live debug issues during driver load, increase
driver probe timeout accordingly.

Change-Id: I7e435082cebabe9ec6d15dc5c11a73b7db84f19b
CRs-fixed: 2028294
Yue Ma 8 年之前
父節點
當前提交
6e7b1a0331
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      core/hdd/src/wlan_hdd_main.c

+ 4 - 0
core/hdd/src/wlan_hdd_main.c

@@ -10120,7 +10120,11 @@ void hdd_deinit(void)
 #endif
 }
 
+#ifdef QCA_WIFI_NAPIER_EMULATION
+#define HDD_WLAN_START_WAIT_TIME ((CDS_WMA_TIMEOUT + 5000) * 100)
+#else
 #define HDD_WLAN_START_WAIT_TIME (CDS_WMA_TIMEOUT + 5000)
+#endif
 
 /**
  * __hdd_module_init - Module init helper