diff options
author | Harald Welte <laforge@netfilter.org> | 2009-08-10 00:24:32 +0200 |
---|---|---|
committer | Harald Welte <laforge@netfilter.org> | 2009-08-10 00:24:32 +0200 |
commit | 41985613056dd54f643e9fbb574b47137718da8c (patch) | |
tree | bc87e57d45c2071144cd1145bfbffddbdde3320b /openbsc/include | |
parent | 0d544e7db5f65ff79bb0436a109576b6e82ec4ee (diff) |
add SMS CP timer TC1* to tear down lchan in case MS never responds to CP-DATA
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/gsm_04_11.h | 8 | ||||
-rw-r--r-- | openbsc/include/openbsc/transaction.h | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/openbsc/include/openbsc/gsm_04_11.h b/openbsc/include/openbsc/gsm_04_11.h index 09740e0f3..e78d94696 100644 --- a/openbsc/include/openbsc/gsm_04_11.h +++ b/openbsc/include/openbsc/gsm_04_11.h @@ -89,9 +89,11 @@ enum gsm411_rp_cause { }; /* Chapter 10: Timers */ -#define GSM411_TMR_TR1M 40 /* 35 < x < 45 seconds */ -#define GSM411_TMR_TRAM 30 /* 25 < x < 35 seconds */ -#define GSM411_TMR_TR2M 15 /* 12 < x < 20 seconds */ +#define GSM411_TMR_TR1M 40, 0 /* 35 < x < 45 seconds */ +#define GSM411_TMR_TRAM 30, 0 /* 25 < x < 35 seconds */ +#define GSM411_TMR_TR2M 15, 0 /* 12 < x < 20 seconds */ + +#define GSM411_TMR_TC1A 30, 0 /* Chapter 8.2.1 */ struct gsm411_rp_hdr { diff --git a/openbsc/include/openbsc/transaction.h b/openbsc/include/openbsc/transaction.h index 5678c83e7..466e88aaa 100644 --- a/openbsc/include/openbsc/transaction.h +++ b/openbsc/include/openbsc/transaction.h @@ -41,9 +41,10 @@ struct gsm_trans { struct { int is_mt; /* is this a MO (0) or MT (1) transfer */ enum gsm411_cp_state cp_state; + struct timer_list cp_timer; + enum gsm411_rp_state rp_state; - struct timer_list timer; struct gsm_sms *sms; } sms; }; |