summaryrefslogtreecommitdiff
path: root/include/gsmd
diff options
context:
space:
mode:
authortick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-10-31 06:41:45 +0000
committertick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-10-31 06:41:45 +0000
commit68f58c51e268a2301cc933288e693fbf7c6325b7 (patch)
treeee05a41ac8e6968fe9ccc00cfeabc97cb8388b1a /include/gsmd
parentf97ac00fa6380439a21b996ae12042187552d6af (diff)
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
Diffstat (limited to 'include/gsmd')
-rw-r--r--include/gsmd/gsmd.h3
1 files changed, 3 insertions, 0 deletions
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 {
personal git repositories of Harald Welte. Your mileage may vary