diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-16 02:14:41 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-16 02:16:02 +0800 |
commit | 5832b3e10832f0d3d208a6a6eefffd50486b822e (patch) | |
tree | 7170fb35319e81a6d6a9f0f152b7940fb73891a5 /openbsc/include/openbsc | |
parent | 469692ca473a854c472b872847570eb2bc1d408d (diff) |
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.
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r-- | openbsc/include/openbsc/osmo_msc_data.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 <osmocore/timer.h> + 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 |