BZ: 28292
The modem post boot handshake timeout is currently set to 10 seconds, which
seems to be sufficient a time for the modem to setup its HSI IPC. But, this
assertion is not true and the modem can take up to one minute to boot up.
This patch is simply increasing the modem boot timeout to 60 seconds instead
of 10 seconds to allow correct modem reboot handshake in all contexts.
Still, this timeout value shall be fine tuned when the modem firmware will be
allowing shorter boot sequences - one minute seems huge for setting up the IPC.
Change-Id: Ie3dd6f58458fc5c6b628744588014a63698b774e
Signed-off-by: Olivier Stoltz Douchet <olivierx.stoltz-douchet@intel.com>
Reviewed-on: http://android.intel.com:8080/43536
Reviewed-by: Roulliere, Pierre <pierre.roulliere@intel.com>
Reviewed-by: Predon, Frederic <frederic.predon@intel.com>
Reviewed-by: Lucas, Guillaume <guillaume.lucas@intel.com>
Reviewed-by: Lebsir, SamiX <samix.lebsir@intel.com>
Tested-by: Lebsir, SamiX <samix.lebsir@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
#define FFL_MIN_RX_BUFFERING 65536
/* Modem post book wake handshake timeout value (10 seconds) */
-#define POST_BOOT_HANDSHAKE_TIMEOUT_JIFFIES (msecs_to_jiffies(10000))
+#define POST_BOOT_HANDSHAKE_TIMEOUT_JIFFIES (msecs_to_jiffies(60000))
/* Error recovery related timings */
#define RECOVERY_TO_NORMAL_DELAY_JIFFIES (usecs_to_jiffies(100000))