diff options
author | Harald Welte <laforge@netfilter.org> | 2009-08-09 22:01:26 +0200 |
---|---|---|
committer | Harald Welte <laforge@netfilter.org> | 2009-08-09 22:01:26 +0200 |
commit | 89e9d5927ea138376c73d29b76533a5a14c865c5 (patch) | |
tree | cd7f9cb34c95dfe26447be7b8052a8b71b5f77f9 /openbsc/src/bsc_hack.c | |
parent | 39c7debc9c4495deba2261ea6036505ed86ac5e5 (diff) |
chane TRX0/TS0 channel combination to not include a CBCH
We don't support CBCH anyway, and using CBCH will reduce the number of uesable
SDCCH/4 channels to 3 on TS0
Diffstat (limited to 'openbsc/src/bsc_hack.c')
-rw-r--r-- | openbsc/src/bsc_hack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/bsc_hack.c b/openbsc/src/bsc_hack.c index b9d928dd3..56684cc31 100644 --- a/openbsc/src/bsc_hack.c +++ b/openbsc/src/bsc_hack.c @@ -403,7 +403,7 @@ int nm_state_event(enum nm_evt evt, u_int8_t obj_class, void *obj, trx = ts->trx; if (new_state->availability == 5) { if (ts->nr == 0 && trx == trx->bts->c0) - abis_nm_set_channel_attr(ts, NM_CHANC_BCCH_CBCH); + abis_nm_set_channel_attr(ts, NM_CHANC_BCCHComb); else abis_nm_set_channel_attr(ts, NM_CHANC_TCHFull); abis_nm_opstart(trx->bts, NM_OC_CHANNEL, @@ -534,7 +534,7 @@ static void bootstrap_om_bs11(struct gsm_bts *bts) /* Use TEI 1 for signalling */ abis_nm_establish_tei(bts, 0, 0, base_ts+1, 0xff, 0x01); - abis_nm_set_channel_attr(&trx->ts[0], NM_CHANC_SDCCH_CBCH); + abis_nm_set_channel_attr(&trx->ts[0], NM_CHANC_BCCHComb); /* SET CHANNEL ATTRIBUTE TS1 */ abis_nm_set_channel_attr(&trx->ts[1], NM_CHANC_TCHFull); @@ -594,7 +594,7 @@ static void bootstrap_om_bs11(struct gsm_bts *bts) abis_nm_establish_tei(bts, 1, 0, base_ts+1, 0xff, 0x02); /* SET CHANNEL ATTRIBUTE TS0 */ - abis_nm_set_channel_attr(&trx->ts[0], NM_CHANC_TCHFull); + abis_nm_set_channel_attr(&trx->ts[0], NM_CHANC_SDCCH); /* Connect traffic of bts0/trx0/ts0 to e1_0/ts4/a */ abis_nm_conn_terr_traf(&trx->ts[0], 0, base_ts+4, 0); |