aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-07-05 15:34:16 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-07-05 15:36:08 +0800
commit02d39b2c4d3f67ef760b230d95cb1e6d7c07e8f7 (patch)
treeded7f9bb77b9479eac70333f5a222f058cdd41c5 /openbsc/include/openbsc/gsm_data.h
parentd1d45b3b8918e27d1292ded0815a6514f455913a (diff)
msc: Create a dummy operation to keep the channel open for five seconds
* We should create the transaction for SMS, CC on the CM Service Request but for now we will use a band aid and create a dummy operarion to wait five seconds for the transaction to be opened.
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r--openbsc/include/openbsc/gsm_data.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index e03ad3a78..36591cffa 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -179,6 +179,14 @@ struct gsm_security_operation {
void *cb_data;
};
+/*
+ * A dummy to keep a connection up for at least
+ * a couple of seconds to work around MSC issues.
+ */
+struct gsm_anchor_operation {
+ struct timer_list timeout;
+};
+
/* Maximum number of neighbor cells whose average we track */
#define MAX_NEIGH_MEAS 10
/* Maximum size of the averaging window for neighbor cells */
@@ -224,6 +232,7 @@ struct gsm_subscriber_connection {
*/
struct gsm_loc_updating_operation *loc_operation;
struct gsm_security_operation *sec_operation;
+ struct gsm_anchor_operation *anch_operation;
/* Are we part of a special "silent" call */
int silent_call;