aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/bts_siemens_bs11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bsc/bts_siemens_bs11.c')
-rw-r--r--src/osmo-bsc/bts_siemens_bs11.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/osmo-bsc/bts_siemens_bs11.c b/src/osmo-bsc/bts_siemens_bs11.c
index 2d2351702..cf90575e2 100644
--- a/src/osmo-bsc/bts_siemens_bs11.c
+++ b/src/osmo-bsc/bts_siemens_bs11.c
@@ -27,6 +27,7 @@
#include <osmocom/bsc/abis_nm.h>
#include <osmocom/abis/e1_input.h>
#include <osmocom/bsc/signal.h>
+#include <osmocom/bsc/timeslot_fsm.h>
static int bts_model_bs11_start(struct gsm_network *net);
@@ -358,7 +359,7 @@ static void patch_nm_tables(struct gsm_bts *bts)
uint8_t arfcn_high = (bts->c0->arfcn >> 8) & 0x0f;
/* T3105 attribute in units of 10ms */
- bs11_attr_bts[2] = bts->network->T3105 / 10;
+ bs11_attr_bts[2] = T_def_get(bts->network->T_defs, 3105, T_MS, -1) / 10;
/* patch ARFCN into BTS Attributes */
bs11_attr_bts[69] &= 0xf0;
@@ -392,7 +393,7 @@ static void patch_nm_tables(struct gsm_bts *bts)
static void nm_reconfig_ts(struct gsm_bts_trx_ts *ts)
{
- enum abis_nm_chan_comb ccomb = abis_nm_chcomb4pchan(ts->pchan);
+ enum abis_nm_chan_comb ccomb = abis_nm_chcomb4pchan(ts->pchan_from_config);
struct gsm_e1_subslot *e1l = &ts->e1_link;
abis_nm_set_channel_attr(ts, ccomb);
@@ -536,7 +537,7 @@ static int shutdown_om(struct gsm_bts *bts)
/* Reset BTS Site manager resource */
abis_nm_bs11_reset_resource(bts);
- gsm_bts_mark_all_ts_uninitialized(bts);
+ gsm_bts_all_ts_dispatch(bts, TS_EV_OML_DOWN, NULL);
return 0;
}