diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-05-10 05:22:50 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2018-05-14 11:52:56 +0000 |
commit | 78faf70fef23993e7b6d07247c917c5cc720a97d (patch) | |
tree | 6973e7b429ac86a3d05b589614033a0fde407ee8 /src/libbsc/net_init.c | |
parent | a70084b035fb0e5541da12397bc7a10932e8b1cd (diff) |
deprecate dyn_ts_allow_tch_f and by default allow all TCH
In osmo-nitb, the way TCH lchans were assigned often resulted in mismatching
TCH kinds, causing problems in the lack of transcoding. Hence
dyn_ts_allow_tch_f was introduced as a workaround.
Now however, we always assign an SDCCH to a requesting MS first, and only later
assign a TCH channel, which then adheres to the codec list configured at 'msc'
in the vty config. Hence it is now considerably harder to obtain a mismatch.
Furthermore, forcing specific codecs is possible by simply omitting the
unwanted ones from the msc config's codec-list. The equivalent of
'dyn_ts_allow_tch_f 0' could be e.g. 'codec-list hr3 hr2 hr1'.
Change-Id: Ib2335d02ea545aff837aadd49f15b2fdb418c46e
Diffstat (limited to 'src/libbsc/net_init.c')
-rw-r--r-- | src/libbsc/net_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libbsc/net_init.c b/src/libbsc/net_init.c index d5ea5b275..f03a2e12f 100644 --- a/src/libbsc/net_init.c +++ b/src/libbsc/net_init.c @@ -52,6 +52,8 @@ struct gsm_network *bsc_network_init(void *ctx) .mnc = 1, }; + net->dyn_ts_allow_tch_f = true; + /* Permit a compile-time default of A5/3 and A5/1 */ net->a5_encryption_mask = (1 << 3) | (1 << 1); |