fixeria has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36257?usp=email )

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

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(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  osmith: Looks good to me, approved
  Jenkins Builder: Verified
  jolly: Looks good to me, but someone else must approve




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 https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36257?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I3c7f91034079169c40c4f20966d9f5fb7c855b27
Gerrit-Change-Number: 36257
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanits...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanits...@sysmocom.de>
Gerrit-Reviewer: jolly <andr...@eversberg.eu>
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: osmith <osm...@sysmocom.de>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-MessageType: merged

Reply via email to