From 5a3a61d88f1231af5dba96050cbc27270765ef23 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 6 Sep 2010 09:25:48 +0800 Subject: bsc_init: Allow DTXu and enable DTXd on RSL (experimental) Allow the MS to use uplink discontinous transmission by setting the right bit in the SystemInformation and set DTXd/DTXu on the RSL channel commands. This is configurable via dtx-used (0|1) on the network level and still considered as experimental. --- openbsc/src/bsc_init.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'openbsc/src/bsc_init.c') diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c index 2d92b426e..4f7e29c01 100644 --- a/openbsc/src/bsc_init.c +++ b/openbsc/src/bsc_init.c @@ -1153,8 +1153,14 @@ static int bootstrap_bts(struct gsm_bts *bts) } /* some defaults for our system information */ - bts->si_common.cell_options.radio_link_timeout = 2; /* 12 */ - bts->si_common.cell_options.dtx = 2; /* MS shall not use upplink DTX */ + bts->si_common.cell_options.radio_link_timeout = 7; /* 12 */ + + /* allow/disallow DTXu */ + if (bts->network->dtx_enabled) + bts->si_common.cell_options.dtx = 0; + else + bts->si_common.cell_options.dtx = 2; + bts->si_common.cell_options.pwrc = 0; /* PWRC not set */ bts->si_common.cell_sel_par.acs = 0; -- cgit v1.2.3