diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-06 09:25:48 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-06 09:26:27 +0800 |
commit | 5a3a61d88f1231af5dba96050cbc27270765ef23 (patch) | |
tree | bbd6dd1ef3d691ae8877ca005270a3b8e403a2c8 /openbsc/src/bsc_init.c | |
parent | 457c2a879ccc8ea9fb048a9c50c7aac4210f9ec7 (diff) |
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.
Diffstat (limited to 'openbsc/src/bsc_init.c')
-rw-r--r-- | openbsc/src/bsc_init.c | 10 |
1 files changed, 8 insertions, 2 deletions
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; |