From 68f58c51e268a2301cc933288e693fbf7c6325b7 Mon Sep 17 00:00:00 2001 From: tick Date: Wed, 31 Oct 2007 06:41:45 +0000 Subject: gsmd: Mainly for working around the bug of GTA01 HW with moko3, but it can also solve the start up timing issue. (Tick) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3308 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/gsmd/gsmd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/gsmd') diff --git a/include/gsmd/gsmd.h b/include/gsmd/gsmd.h index ed334f1..c511fc3 100644 --- a/include/gsmd/gsmd.h +++ b/include/gsmd/gsmd.h @@ -67,6 +67,8 @@ struct gsmd; #define GSMD_FLAG_V0 0x0001 /* V0 responses to be expected from TA */ #define GSMD_FLAG_SMS_FMT_TEXT 0x0002 /* TODO Use TEXT rather than PDU mode */ +#define GSMD_MODEM_WAKEUP_TIMEOUT 3 + struct gsmd { unsigned int flags; int interpreter_ready; @@ -84,6 +86,7 @@ struct gsmd { unsigned char *mlbuf; /* ml_parse buffer */ unsigned int mlbuf_len; int mlunsolicited; + struct gsmd_timer *wakeup_timer; }; struct gsmd_user { -- cgit v1.2.3