summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/bsc_init.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-11-21 11:18:45 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-11-21 11:23:47 +0100
commita49b2c010e05eeaa979c76c9a277bb5aaea31968 (patch)
tree87eaaa28f9a0286a5f88bd8e11eae7a0350176c8 /openbsc/src/libbsc/bsc_init.c
parentb92a538d236ccffe97803279ecbaa242f8faa66a (diff)
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
Diffstat (limited to 'openbsc/src/libbsc/bsc_init.c')
-rw-r--r--openbsc/src/libbsc/bsc_init.c4
1 files changed, 2 insertions, 2 deletions
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 */