Log use of incompatible BS-AG-BLKS-RES value
There's "channel-descrption bs-ag-blks-res" vty command which sets BS-AG-BLKS-RES which might be too high if CCCH is combined with SDCCHs. Previously proper value was silently enforced. Log this situation explicitly and add spec reference to the comment. Change-Id: I53e2b881fc28472d6709f063fb265a4e6a0fffcd
This commit is contained in:
parent
f1a56dea7b
commit
b6591072d8
|
@ -437,9 +437,14 @@ static int bootstrap_bts(struct gsm_bts *bts)
|
|||
switch (n) {
|
||||
case 0:
|
||||
bts->si_common.chan_desc.ccch_conf = RSL_BCCH_CCCH_CONF_1_C;
|
||||
/* Limit reserved block to 2 on combined channel */
|
||||
if (bts->si_common.chan_desc.bs_ag_blks_res > 2)
|
||||
/* Limit reserved block to 2 on combined channel according to
|
||||
3GPP TS 44.018 Table 10.5.2.11.1 */
|
||||
if (bts->si_common.chan_desc.bs_ag_blks_res > 2) {
|
||||
LOGP(DNM, LOGL_NOTICE, "CCCH is combined with SDCCHs, "
|
||||
"reducing BS-AG-BLKS-RES value %d -> 2\n",
|
||||
bts->si_common.chan_desc.bs_ag_blks_res);
|
||||
bts->si_common.chan_desc.bs_ag_blks_res = 2;
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
bts->si_common.chan_desc.ccch_conf = RSL_BCCH_CCCH_CONF_1_NC;
|
||||
|
|
Loading…
Reference in New Issue