summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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