aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/system_information.c
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-11-28 18:17:28 +0100
committerSylvain Munaut <tnt@246tNt.com>2010-12-01 20:23:34 +0100
commite0b06b0293c9998dcdb108333f2a3a05966e5ea0 (patch)
treeb68140293e7c8532f4326866c70e1f2bd0f209db /openbsc/src/system_information.c
parent6d42dbe35cad9048d0078e42ae852ac2af8fc5cd (diff)
bsc: Allow to configure Optional Cell Selection params from vty
The default values are those where the parameters are encoded as '0' and they're not output in the config file if that case Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'openbsc/src/system_information.c')
-rw-r--r--openbsc/src/system_information.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/system_information.c b/openbsc/src/system_information.c
index 9e830bcdf..8ee95f9f1 100644
--- a/openbsc/src/system_information.c
+++ b/openbsc/src/system_information.c
@@ -587,6 +587,10 @@ int gsm_generate_si(struct gsm_bts *bts, enum osmo_sysinfo_type si_type)
break;
}
+ memcpy(&si_info.selection_params,
+ &bts->si_common.cell_ro_sel_par,
+ sizeof(struct gsm48_si_selection_params));
+
gen_si = gen_si_fn[si_type];
if (!gen_si)
return -EINVAL;