Browse Source

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 năm trước cách đây
mục cha
commit
6e7b1a0331
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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