From 8f5b61ba527514b37aec29a8c085a4147348fc00 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Mon, 11 Mar 2024 03:15:02 +0700 Subject: [PATCH] bts: also test TCH/A[FH]S in TC_speech_no_rtp_tch[fh] Change-Id: I3c7f91034079169c40c4f20966d9f5fb7c855b27 Related: OS#4823, OS#6049 --- bts/BTS_Tests.ttcn | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index 0103bbc8f..29879b93c 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -8323,8 +8323,11 @@ testcase TC_speech_no_rtp_tchf() runs on test_CT { 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 @@ testcase TC_speech_no_rtp_tchh() runs on test_CT { 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__); }