From a49b2c010e05eeaa979c76c9a277bb5aaea31968 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Nov 2014 11:18:45 +0100 Subject: bsc: Allow to generate new system information online Increase the bcch_change_mark and generate a new copy of the system information. Make the method public, add a small test case. Manually verified using the FakeBTS. I don't know if the MS will re-read these SIs. Related: SYS#739 --- openbsc/src/libbsc/bsc_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc/src/libbsc/bsc_init.c') diff --git a/openbsc/src/libbsc/bsc_init.c b/openbsc/src/libbsc/bsc_init.c index 796d02793..a59ab3dad 100644 --- a/openbsc/src/libbsc/bsc_init.c +++ b/openbsc/src/libbsc/bsc_init.c @@ -121,7 +121,7 @@ static int rsl_si(struct gsm_bts_trx *trx, enum osmo_sysinfo_type i, int si_len) } /* set all system information types */ -static int set_system_infos(struct gsm_bts_trx *trx) +int gsm_bts_trx_set_system_infos(struct gsm_bts_trx *trx) { int i, rc; struct gsm_bts *bts = trx->bts; @@ -269,7 +269,7 @@ static void bootstrap_rsl(struct gsm_bts_trx *trx) rsl_nokia_si_begin(trx); } - set_system_infos(trx); + gsm_bts_trx_set_system_infos(trx); if (trx->bts->type == GSM_BTS_TYPE_NOKIA_SITE) { /* channel unspecific, power reduction in 2 dB steps */ -- cgit v1.2.3