From 5832b3e10832f0d3d208a6a6eefffd50486b822e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 16 Sep 2010 02:14:41 +0800 Subject: bsc: Add code responsible for connecting, reconnecting to the MSC Add the code that is forwarding data, from and to the MSC, also handling ping/pong timers and authentication. Hook it into the osmo_bsc. The code is only compile tested and ported from the on-waves/bsc-master branch. --- openbsc/include/openbsc/osmo_msc_data.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'openbsc/include/openbsc/osmo_msc_data.h') diff --git a/openbsc/include/openbsc/osmo_msc_data.h b/openbsc/include/openbsc/osmo_msc_data.h index 498b1005b..d3f8474e8 100644 --- a/openbsc/include/openbsc/osmo_msc_data.h +++ b/openbsc/include/openbsc/osmo_msc_data.h @@ -26,6 +26,8 @@ #include "bsc_msc.h" +#include + struct osmo_bsc_rf; struct osmo_msc_data { @@ -36,11 +38,18 @@ struct osmo_msc_data { char *msc_ip; int ping_timeout; int pong_timeout; + struct timer_list ping_timer; + struct timer_list pong_timer; struct bsc_msc_connection *msc_con; + /* mgcp agent */ + struct write_queue mgcp_agent; + /* rf ctl related bits */ char *ussd_grace_txt; struct osmo_bsc_rf *rf_ctl; }; +int osmo_bsc_msc_init(struct gsm_network *network); + #endif -- cgit v1.2.3