summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-08-07 18:12:59 +0200
committerHarald Welte <laforge@gnumonks.org>2018-08-09 11:08:44 +0000
commit4880be438522d77a02b8e5dda65a649073dc1e1e (patch)
tree13745fe43b5405dcb122695dbd1be37f0dc2bb40 /library
parent5e2ba75b48a95a908663fe7620bd9801ba6161d4 (diff)
add DTX fill frame BTS tests
Add tests TC_tch_sign_l2_fill_frame and TC_tch_sign_l2_fill_frame_dtxd. TC_tch_sign_l2_fill_frame is already passing and verifies that fill frames are sent if there is nothing else to transmit on a SDCCH4/SDCCH8, TCH/H, or TCH/F signalling channel where DTX is disabled for downlink. TC_tch_sign_l2_fill_frame_dtxd is currently failing. It verifies that only specific fill frames are sent, as required by GSM 05.08 for TCHF signalling channels with DTX enabled for downlink. At present, our implementation generates no fill frames in this case, which is one piece of the problem described in issue OS#1950. Change-Id: Id4e0de6e78b62cd408f600a57a28617d91da64af Related: OS#1950
Diffstat (limited to 'library')
-rw-r--r--library/RSL_Types.ttcn9
1 files changed, 5 insertions, 4 deletions
diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index d4d0c4d..95a7b1f 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -325,20 +325,21 @@ module RSL_Types {
RSL_SpeechAlgo coding_alg_rate
} with { variant (len) "LENGTHTO(reserved,dtx_d,dtx_u,spd_ind,ch_rate_type,coding_alg_rate)" }
- template (value) RSL_IE_ChannelMode ts_RSL_ChanMode_SIGN := {
+ template (value) RSL_IE_ChannelMode ts_RSL_ChanMode_SIGN(boolean dtx_downlink := false) := {
len := 0, /* overwritten */
reserved := '000000'B,
- dtx_d := false,
+ dtx_d := dtx_downlink,
dtx_u := false,
spd_ind := RSL_SPDI_SIGN,
ch_rate_type := RSL_CHRT_SDCCH,
coding_alg_rate := RSL_CMOD_NO_RESOURCE
}
- template (value) RSL_IE_ChannelMode ts_RSL_ChanMode(RSL_ChanRateType t, RSL_SpeechAlgo alg) := {
+ template (value) RSL_IE_ChannelMode ts_RSL_ChanMode(RSL_ChanRateType t, RSL_SpeechAlgo alg,
+ boolean dtx_downlink := false) := {
len := 0, /* overwritten */
reserved := '000000'B,
- dtx_d := false,
+ dtx_d := dtx_downlink,
dtx_u := false,
spd_ind := RSL_SPDI_SPEECH,
ch_rate_type := t,