summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-09-14 23:04:59 +0200
committerPatrick McHardy <kaber@trash.net>2010-09-17 17:42:26 +0200
commit72acc67c50a692abc527257555afed3f7b278387 (patch)
tree181c39e24e402b06d909f6cf1f12fe3b806905f1 /include
parent2dc7accdbbb1709cc3a2d7d42fea678e8210f044 (diff)
cc: add connect timer
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/cc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cc.h b/include/cc.h
index 1dba655..bc29d0b 100644
--- a/include/cc.h
+++ b/include/cc.h
@@ -327,6 +327,7 @@ enum dect_cc_states {
* @release_timer: call release timer (<CC.02>)
* @setup_timer: call setup timer (<CC.03>)
* @completion_timer: call setup completion timer (<CC.04>)
+ * @connect_timer: call connect timer (<CC.05>)
* @lu_sap: U-Plane file descriptor
* @qstats_timer: LU1 queue statistics debugging timer
* @priv: libdect user private storage
@@ -340,6 +341,7 @@ struct dect_call {
struct dect_timer *release_timer;
struct dect_timer *setup_timer;
struct dect_timer *completion_timer;
+ struct dect_timer *connect_timer;
struct dect_fd *lu_sap;
#ifdef DEBUG
struct dect_timer *qstats_timer;
@@ -351,6 +353,7 @@ struct dect_call {
#define DECT_CC_RELEASE_TIMEOUT 36 /* <CC.02>: 36 seconds */
#define DECT_CC_SETUP_TIMEOUT 20 /* <CC.03>: 20 seconds */
#define DECT_CC_COMPLETION_TIMEOUT 100 /* <CC.04>: 100 seconds */
+#define DECT_CC_CONNECT_TIMEOUT 10 /* <CC.05>: 10 seconds */
#define DECT_CC_QUEUE_STATS_TIMER 1 /* 1 second */
extern const struct dect_nwk_protocol dect_cc_protocol;