net: wireless: bcmdhd: Increase PMU transition delay 96/300396/2 accepted/tizen/unified/20231025.093251 accepted/tizen/unified/20231025.120147 accepted/tizen/unified/dev/20240620.010529
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 23 Oct 2023 22:43:57 +0000 (07:43 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 24 Oct 2023 00:25:18 +0000 (09:25 +0900)
In VIM3L, it's failed to initialize wifi with HT timeout error.
To fix its problem, increase transition delay from 1sec to 5sec in Tizen.

Change-Id: Ib019f00913957a8ea4bb8ab2c3dc5511a52cf0f1
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/net/wireless/bcmdhd/dhd_sdio.c

index 1dc312529401322d9f25ec312894b232f4fe00c8..5e1b2d5bfb2a1f58184087785ac4f3b1c68d2703 100644 (file)
@@ -156,7 +156,16 @@ static int dhdsdio_resume(void *context);
  */
 #if (PMU_MAX_TRANSITION_DLY <= 1000000)
 #undef PMU_MAX_TRANSITION_DLY
+#ifdef CONFIG_TIZEN
+/*
+ * WORKAROUND for Tizen
+ * It needs the more  waiting time than 1sec.
+ * So Increase the waiting time from 1sec to 5sec.
+ */
+#define PMU_MAX_TRANSITION_DLY 5000000
+#else
 #define PMU_MAX_TRANSITION_DLY 1000000
+#endif /* CONFIG_TIZEN */
 #endif
 
 /* hooks for limiting threshold custom tx num in rx processing */