aboutsummaryrefslogtreecommitdiffstats
path: root/bts/BTS_Tests.ttcn
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2024-03-11 03:25:26 +0700
committerfixeria <vyanitskiy@sysmocom.de>2024-03-18 16:41:17 +0000
commit7e6b832b856e1c8fe6f3224da09198d372392cbe (patch)
tree524416dfbc2bc91299f0ca5e28ba0243aa1f69f8 /bts/BTS_Tests.ttcn
parent3f5b693401656a08296e3c894078ae509ef60686 (diff)
bts: rename as_l1_sacch() -> as_l1_sacch_loop()
For the sake of consistency with as_l1_{dcch,tch}_loop(). Change-Id: I076efac80ae08551c1098a6baa15a2ca99213ee2
Diffstat (limited to 'bts/BTS_Tests.ttcn')
-rw-r--r--bts/BTS_Tests.ttcn20
1 files changed, 10 insertions, 10 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index cf8e7ed0..05a33499 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -781,7 +781,7 @@ runs on ConnHdlr return RSL_Message {
[] T.timeout {
Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Timeout expecting " & id);
}
- [not ignore_other] as_l1_sacch();
+ [not ignore_other] as_l1_sacch_loop();
[not ignore_other] as_meas_res();
[not ignore_other] as_l1_dcch_loop();
[not ignore_other] as_l1_tch_loop();
@@ -2166,7 +2166,7 @@ ts_LAPDm_AB(template (value) LapdmSapi sapi,
}
/* handle incoming downlink SACCH and respond with uplink SACCH (meas res) */
-private altstep as_l1_sacch() runs on ConnHdlr {
+private altstep as_l1_sacch_loop() runs on ConnHdlr {
var template (value) LapdmFrameAB lb;
var L1ctlMessage l1_dl;
@@ -2741,7 +2741,7 @@ private function f_TC_meas_res_periodic(charstring id) runs on ConnHdlr {
timer T := 8.0;
T.start;
alt {
- [] as_l1_sacch();
+ [] as_l1_sacch_loop();
[] as_meas_res();
[] as_l1_dcch_loop();
[] as_l1_tch_loop();
@@ -3039,7 +3039,7 @@ private function f_check_meas_bs_power_level(integer level) runs on ConnHdlr {
T.start;
var RSL_Message rsl;
alt {
- [] as_l1_sacch();
+ [] as_l1_sacch_loop();
[] L1CTL.receive { repeat; }
[] RSL.receive(tr_RSL_MEAS_RES(g_chan_nr, ?, ?, ?)) -> value rsl {
if (rsl.ies[3].body.bs_power.power_level == level) {
@@ -8290,7 +8290,7 @@ private function f_TC_speech_no_rtp(charstring id) runs on ConnHdlr {
[] L1CTL.receive(tr_L1CTL_TRAFFIC_IND(g_chan_nr)) -> value l1_dl {
setverdict(fail, "Rx unexpected TRAFFIC.ind: ", l1_dl);
}
- [] as_l1_sacch();
+ [] as_l1_sacch_loop();
[] T.timeout {
setverdict(fail, "Timeout waiting for TRAFFIC.ind");
}
@@ -8404,7 +8404,7 @@ private function f_TC_speech_rtp(charstring id) runs on ConnHdlr {
"expected (", payload, ")");
Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
}
- [] as_l1_sacch();
+ [] as_l1_sacch_loop();
[] L1CTL.receive { repeat; }
[] Td.timeout {
setverdict(fail, "Timeout waiting for Downlink speech frames");
@@ -8417,7 +8417,7 @@ private function f_TC_speech_rtp(charstring id) runs on ConnHdlr {
Tu.start(2.0);
alt {
[] as_l1_tch_loop();
- [] as_l1_sacch();
+ [] as_l1_sacch_loop();
[] RTPEM_DATA.receive(PDU_RTP:?) -> value rtp_pdu {
if (rtp_pdu.data != payload)
{ repeat; }
@@ -8522,7 +8522,7 @@ private function f_TC_speech_osmux(charstring id) runs on ConnHdlr {
"expected (", exp_rtp_pl, ")");
Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
}
- [] as_l1_sacch();
+ [] as_l1_sacch_loop();
[] L1CTL.receive { repeat; }
[] Td.timeout {
setverdict(fail, "Timeout waiting for Downlink speech frames");
@@ -8538,7 +8538,7 @@ private function f_TC_speech_osmux(charstring id) runs on ConnHdlr {
Tu.start(2.0);
alt {
[] as_l1_tch_loop();
- [] as_l1_sacch();
+ [] as_l1_sacch_loop();
[] OsmuxEM_DATA.receive(osmux_pdu_exp) -> value osmux_pdu {
var boolean matched := false;
for (var integer i := 0; i < osmux_pdu.osmux_amr.header.ctr + 1; i := i + 1) {
@@ -8659,7 +8659,7 @@ private function f_TC_data_rtp_loopback(charstring id) runs on ConnHdlr {
log("FACCH received: ", ddata);
repeat;
}
- [] as_l1_sacch();
+ [] as_l1_sacch_loop();
[] L1CTL.receive { repeat; }
[] Td.timeout {
setverdict(fail, "Timeout waiting for matching Downlink data frame");