aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-01-13 23:20:45 +0100
committerHarald Welte <laforge@gnumonks.org>2011-01-13 23:20:45 +0100
commitaace9fc9b9df4ee50b4135fa308f99597038111a (patch)
treec63eee25d4c0ac2cbc9710246873cdd453015bd3
parent7a69cf0a9892500a6ae94bd2854039643493244c (diff)
[SI] Make sure we set BS_AG_BLKS_RES !=0
This parameter indicates how many of the PCH+AGCH blocks are reserved for the AGCH and thus not used for the PCH. If we set it to 0, we basically tell the BTS there is no AGCH - and thus it would be impossible to send any IMMEDIATE ASSIGNMENTs. Luckily the BS-11 and the nanoBTS don't seem to care.
-rw-r--r--openbsc/src/bsc_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c
index 3e3f1673c..13a9677e9 100644
--- a/openbsc/src/bsc_init.c
+++ b/openbsc/src/bsc_init.c
@@ -1136,6 +1136,8 @@ static int bootstrap_bts(struct gsm_bts *bts)
/* Control Channel Description */
bts->si_common.chan_desc.att = 1;
bts->si_common.chan_desc.bs_pa_mfrms = RSL_BS_PA_MFRMS_5;
+ bts->si_common.chan_desc.bs_ag_blks_res = 1;
+
/* T3212 is set from vty/config */
/* Set ccch config by looking at ts config */