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

Change-Id: I3c7f91034079169c40c4f20966d9f5fb7c855b27
Related: OS#4823, OS#6049
This commit is contained in:
Vadim Yanitskiy 2024-03-11 03:15:02 +07:00 committed by fixeria
parent 3d4b001513
commit 8f5b61ba52
1 changed files with 10 additions and 4 deletions

View File

@ -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__);
}