path: root/openbsc/include
diff options
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-15 11:17:24 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-15 11:17:24 +0200
commit70402a4e4ddc0f7ee584445c9c3ac7dc91fe374b (patch)
tree19ae145e0f0df9edd01860f290c2929113041af4 /openbsc/include
parentb54dda4cefe89665d98074cf3767858fa6ecdb6e (diff)
[ipa] Handle losing the RSL/OML connection..
This is addressing multiple issues regarding the loss of the OML/RSL link to the BTS. 1.) When we lose the OML link, close down all RSL connections on all TRXs (only tested with one TRX) and free the e1inp_line allocated for the OML connection. 2.) When we lose the RSL link on any TRX and we know to which lines this connection belongs, we will close down the OML connection as we have a problem to just reactivate one RSL link. 3.) When we lose the RSL link on any TRX and we do not know where it belongs to we will free the bfd we have allocated in the rsl listen/accept method and we properly close the socket (i could not test this one properly). This is made under the assumption the BTS has not responded to the ID request. 4.) When we already have a bts->oml_link we will throw it away and use the new link (it should not happen) and the same applies to the rsl link.
Diffstat (limited to 'openbsc/include')
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/ipaccess.h b/openbsc/include/openbsc/ipaccess.h
index 86248aae5..f8ddfd467 100644
--- a/openbsc/include/openbsc/ipaccess.h
+++ b/openbsc/include/openbsc/ipaccess.h
@@ -53,6 +53,8 @@ int ipaccess_send_id_req(int fd);
int ipaccess_idtag_parse(struct tlv_parsed *dec, unsigned char *buf, int len);
+int ipaccess_drop_oml(struct gsm_bts *bts);
+int ipaccess_drop_rsl(struct gsm_bts_trx *trx);
* Firmware specific header