diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-05-29 15:32:49 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-05-29 15:51:26 +0700 |
commit | d1bbe72d7e1649d0b80737eb8e6d186e1bcc955d (patch) | |
tree | d1df499019afa70f040bac9d9275f9c2d4dbe07c | |
parent | 8fd78f7b4d4881fc46ea2ef778e8d5c501270f43 (diff) |
BTS_Tests: f_TC_speech_rtp(): run TCH and SACCH loops
All testcases based on f_TC_speech_rtp() consist of two parts:
* In the first part we expect to receive a Downlink frame at the MS,
and, once received, we echo the received frame back to the BTS.
* In the second part we expect to receive an Uplink frame, the one
that was echoed back during the first part.
Let's keep echoing Downlink TCH frames while executing the second
part in order to reduce possibility of race conditions and keep
filling-up the Tx queue in the virtual MS (trxcon). Also keep
sending dummy Measurement Reports on SACCH.
Change-Id: Ifb69669b75df5b390d7056cefaf0ef1df69d9bd4
Related: OS#1572, OS#4396
-rw-r--r-- | bts/BTS_Tests.ttcn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index 8dcfb01d..e7159968 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -8270,11 +8270,14 @@ private function f_TC_speech_rtp(charstring id) runs on ConnHdlr { RTPEM_DATA.clear; Tu.start(2.0); alt { + [] as_l1_tch_loop(); + [] as_l1_sacch(); [] RTPEM_DATA.receive(PDU_RTP:?) -> value rtp_pdu { if (rtp_pdu.data != pl) { repeat; } } [] RTPEM_DATA.receive { repeat; } + [] L1CTL.receive { repeat; } [] Tu.timeout { setverdict(fail, "Timeout waiting for Uplink speech frames"); Misc_Helpers.f_shutdown(__BFILE__, __LINE__); |