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/abis_rsl.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/abis_rsl.c')
-rw-r--r-- | openbsc/src/abis_rsl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c index d83af4a20..4827dd0e9 100644 --- a/openbsc/src/abis_rsl.c +++ b/openbsc/src/abis_rsl.c @@ -330,7 +330,10 @@ static int channel_mode_from_lchan(struct rsl_ie_chan_mode *cm, memset(cm, 0, sizeof(cm)); /* FIXME: what to do with data calls ? */ - cm->dtx_dtu = 0x00; + if (lchan->ts->trx->bts->network->dtx_enabled) + cm->dtx_dtu = 0x03; + else + cm->dtx_dtu = 0x00; /* set TCH Speech/Data */ cm->spd_ind = lchan->rsl_cmode; |