Hello Harald Welte, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/2314

to look at the new patch set (#4).

octphy: activate CBCH after all physical channels are activated

CBCH is activated when the SAPI for TS0 is activated. Since the CBCH can be
configured on any physical TS, we wait until all (TS7 is the last) physical
timeslots are configured.

Change-Id: Ie307bf9f370a346686e3bd8c8a8483953a1bc279
---
M src/osmo-bts-octphy/l1_oml.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/14/2314/4

diff --git a/src/osmo-bts-octphy/l1_oml.c b/src/osmo-bts-octphy/l1_oml.c
index 21ff907..4652e10 100644
--- a/src/osmo-bts-octphy/l1_oml.c
+++ b/src/osmo-bts-octphy/l1_oml.c
@@ -187,7 +187,7 @@
 
        /* hack to auto-activate all SAPIs for the BCCH/CCCH on TS0 */
        if (mo->obj_class == NM_OC_CHANNEL && mo->obj_inst.trx_nr == 0 &&
-           mo->obj_inst.ts_nr == 0) {
+           mo->obj_inst.ts_nr == 7) {
                struct gsm_lchan *cbch = gsm_bts_get_cbch(mo->bts);
                mo->bts->c0->ts[0].lchan[CCCH_LCHAN].rel_act_kind =
                        LCHAN_REL_ACT_OML;

-- 
To view, visit https://gerrit.osmocom.org/2314
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie307bf9f370a346686e3bd8c8a8483953a1bc279
Gerrit-PatchSet: 4
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: dexter <pma...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder

Reply via email to