From d5eeb704107cae77e346a99f78f4623e3395b502 Mon Sep 17 00:00:00 2001 From: tick Date: Wed, 5 Dec 2007 08:14:34 +0000 Subject: gsmd: add "RING" timeout scheme, for those modem not have %CPI (like) supports (Andrzej Zaborowski) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3572 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/gsmd/event.h | 1 + include/gsmd/state.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include/gsmd') diff --git a/include/gsmd/event.h b/include/gsmd/event.h index 5c73449..38cefae 100644 --- a/include/gsmd/event.h +++ b/include/gsmd/event.h @@ -51,6 +51,7 @@ enum gsmd_call_type { GSMD_CALL_DATA_SYNC = 5, GSMD_CALL_DATA_REL_ASYNC= 6, GSMD_CALL_DATA_REL_SYNC = 7, + GSMD_CALL_TIMEOUT = 8, __NUM_GSMD_CALL }; diff --git a/include/gsmd/state.h b/include/gsmd/state.h index 62cd710..65659ef 100644 --- a/include/gsmd/state.h +++ b/include/gsmd/state.h @@ -13,9 +13,10 @@ struct gsmd_device_state { unsigned int network_state_gsm; unsigned int network_state_gprs; } ciph_ind; - unsigned int on; unsigned int registered; + unsigned int ringing; + struct gsmd_timer *ring_check; }; #endif /* __GSMD__ */ -- cgit v1.2.3