diff options
author | tick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-12-05 08:14:34 +0000 |
---|---|---|
committer | tick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-12-05 08:14:34 +0000 |
commit | d5eeb704107cae77e346a99f78f4623e3395b502 (patch) | |
tree | 034b8a989b26fc4ac588c3ba8b5460824f059f7f /include/gsmd | |
parent | 7793a2546dc9da89e4ec25e836b705478425d395 (diff) |
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
Diffstat (limited to 'include/gsmd')
-rw-r--r-- | include/gsmd/event.h | 1 | ||||
-rw-r--r-- | include/gsmd/state.h | 3 |
2 files changed, 3 insertions, 1 deletions
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__ */ |