aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc_init.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-11-16 17:12:38 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-11-17 09:46:33 +0100
commitf7d752f7acc0ccee32959ad0586cbbb54b1efaf8 (patch)
tree08acaefa8086ef65ef59d6abde331c2c56d2c257 /openbsc/src/bsc_init.c
parent0fef39a8ac17484f42840a898e06923c4989db38 (diff)
[si] Make it possible to set the NECI value...
Allow to configure the NECI value... and change code that is relying on the NECI value.
Diffstat (limited to 'openbsc/src/bsc_init.c')
-rw-r--r--openbsc/src/bsc_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c
index bb1e382f0..d11cde578 100644
--- a/openbsc/src/bsc_init.c
+++ b/openbsc/src/bsc_init.c
@@ -956,6 +956,10 @@ static void patch_si_tables(struct gsm_bts *bts)
type_4->cell_sel_par.ms_txpwr_max_ccch =
ms_pwr_ctl_lvl(bts->band, bts->ms_max_power);
+ /* Set NECI to influence channel request */
+ type_3->cell_sel_par.neci = bts->network->neci;
+ type_4->cell_sel_par.neci = bts->network->neci;
+
if (bts->cell_barred) {
type_1->rach_control.cell_bar = 1;
type_2->rach_control.cell_bar = 1;