aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2023-07-13 03:14:26 +0700
committerfixeria <vyanitskiy@sysmocom.de>2023-07-14 14:48:01 +0000
commitce65a0f61a20f8a6bfdf6af244e5a3f5802e3475 (patch)
tree3103926a25b7e4b91505de8831f5c84f5512f5e7
parent982ac2d1e24354e46e862e9a911371e029f4ccf0 (diff)
BTS_Tests: also test TCH/EFS (EFR) in TC_speech_no_rtp_tchf
Also add TODO comments for TCH/AFS and TCH/AHS. Change-Id: I272b4343f895889f6cb3e0d3aba2c63b4eab08a2 Related: SYS#5919, OS#4823
-rw-r--r--bts/BTS_Tests.ttcn11
1 files changed, 11 insertions, 0 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 2989cb8a..2a56a25c 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -8292,6 +8292,14 @@ 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;
+ /* TS1, TCH/F, V2 (EFR codec) */
+ pars := valueof(t_Pars(ts_RslChanNr_Bm(1), ts_RSL_ChanMode(RSL_CHRT_TCH_F, RSL_CMOD_SP_GSM2)));
+ 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. */
+
Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
}
testcase TC_speech_no_rtp_tchh() runs on test_CT {
@@ -8305,6 +8313,9 @@ 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). */
+
Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
}