fixeria has uploaded this change for review.

View Change

bts: also test TCH/A[FH]S in TC_speech_no_rtp_tch[fh]

Change-Id: I3c7f91034079169c40c4f20966d9f5fb7c855b27
Related: OS#4823, OS#6049
---
M bts/BTS_Tests.ttcn
1 file changed, 20 insertions(+), 4 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/57/36257/1
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 0103bbc..29879b9 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -8323,8 +8323,11 @@
vc_conn := f_start_handler(refers(f_TC_speech_no_rtp), pars);
vc_conn.done;

- /* TODO: we don't know what's the expected behavior for TCH/AFS, so we don't test it here.
- * Current osmo-bts is sending FACCH/F with dummy LAPDm func=UI frames. */
+ /* TS1, TCH/F, V3 (AMR codec) */
+ pars := valueof(t_Pars(ts_RslChanNr_Bm(1), ts_RSL_ChanMode(RSL_CHRT_TCH_F, RSL_CMOD_SP_GSM3)));
+ pars.mr_conf := valueof(ts_RSL_MultirateCfg);
+ vc_conn := f_start_handler(refers(f_TC_speech_no_rtp), pars);
+ vc_conn.done;

Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
}
@@ -8339,8 +8342,11 @@
vc_conn := f_start_handler(refers(f_TC_speech_no_rtp), pars);
vc_conn.done;

- /* TODO: we don't know what's the expected behavior for TCH/AHS, so we don't test it here.
- * Current osmo-bts is sending FACCH/H with dummy LAPDm func=UI frames (whenever possible). */
+ /* TS5, TCH/H, V3 (AMR codec) */
+ pars := valueof(t_Pars(ts_RslChanNr_Lm(5, 0), ts_RSL_ChanMode(RSL_CHRT_TCH_H, RSL_CMOD_SP_GSM3)));
+ pars.mr_conf := valueof(ts_RSL_MultirateCfg);
+ vc_conn := f_start_handler(refers(f_TC_speech_no_rtp), pars);
+ vc_conn.done;

Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
}

To view, visit change 36257. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I3c7f91034079169c40c4f20966d9f5fb7c855b27
Gerrit-Change-Number: 36257
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-MessageType: newchange