diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-02-08 22:14:07 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-03 16:19:09 +0100 |
commit | b9e5403ef46171f58390757d002a756bd9d2d202 (patch) | |
tree | 59e707165a09c9e73e2059813b62f2f9124118b6 /openbsc/src/libbsc/handover_logic.c | |
parent | b6769b99deb471dc7cb5d26b4d145e42ed7478e1 (diff) |
mscsplit: remove bts and lchan pointers from libmsc
The diff between this and master will probably need a lot of review and fixes.
The current state does compile, but I expect pretty much everything to be
broken now. Future development will reinstate proper functionality piecemeal.
The first goal is to get basic signalling to work, then SMS. The voice control
(RTP) is completely disabled now (see "#if BEFORE_MSCSPLIT") and will be fixed
last AFAICT.
Diffstat (limited to 'openbsc/src/libbsc/handover_logic.c')
-rw-r--r-- | openbsc/src/libbsc/handover_logic.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/handover_logic.c b/openbsc/src/libbsc/handover_logic.c index 2b8c386ed..7ed196651 100644 --- a/openbsc/src/libbsc/handover_logic.c +++ b/openbsc/src/libbsc/handover_logic.c @@ -269,9 +269,14 @@ static int ho_gsm48_ho_compl(struct gsm_lchan *new_lchan) osmo_timer_del(&ho->T3103); +#if BEFORE_MSCSPLIT /* switch TRAU muxer for E1 based BTS from one channel to another */ if (is_e1_bts(new_lchan->conn->bts)) switch_trau_mux(ho->old_lchan, new_lchan); +#else + if (is_e1_bts(new_lchan->ts->trx->bts)) + switch_trau_mux(ho->old_lchan, new_lchan); +#endif /* Replace the ho lchan with the primary one */ if (ho->old_lchan != new_lchan->conn->lchan) |