Harald Welte has uploaded this change for review. ( 
https://gerrit.osmocom.org/10854


Change subject: CBCH: Fix SI4 CBCH IE generation
......................................................................

CBCH: Fix SI4 CBCH IE generation

When a CBCH is present in the cell, SI4 contains the channel description
of the CBCH.  As SI4 may be generated at a time when the underlying
timeslot is not configured yet, we need to generate the channel
description for the _configured_ channel combination, not the currently
used one.

Change-Id: Idbf9b8e4b1ef0e0348580b83f91355b3236d8609
Closes: OS#3532
---
M src/osmo-bsc/system_information.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/54/10854/1

diff --git a/src/osmo-bsc/system_information.c 
b/src/osmo-bsc/system_information.c
index 232a1b6..2104e92 100644
--- a/src/osmo-bsc/system_information.c
+++ b/src/osmo-bsc/system_information.c
@@ -963,7 +963,7 @@
        cbch_lchan = gsm_bts_get_cbch(bts);
        if (cbch_lchan) {
                struct gsm48_chan_desc cd;
-               gsm48_lchan2chan_desc(&cd, cbch_lchan);
+               gsm48_lchan2chan_desc_as_configured(&cd, cbch_lchan);
                tv_fixed_put(si4->data, GSM48_IE_CBCH_CHAN_DESC, 3,
                             (uint8_t *) &cd);
                l2_plen += 3 + 1;

--
To view, visit https://gerrit.osmocom.org/10854
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idbf9b8e4b1ef0e0348580b83f91355b3236d8609
Gerrit-Change-Number: 10854
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <lafo...@gnumonks.org>

Reply via email to