Change in osmo-ttcn3-hacks[master]: RAN_Emulation: drop unused function f_bssap_wait_for_reset()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Sat Jun 20 19:52:08 UTC 2020


neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18845 )

Change subject: RAN_Emulation: drop unused function f_bssap_wait_for_reset()
......................................................................

RAN_Emulation: drop unused function f_bssap_wait_for_reset()

Change-Id: I9ecf4fdeaee8e5437427564ef860c9053ffa4241
---
M library/RAN_Emulation.ttcnpp
1 file changed, 0 insertions(+), 22 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/library/RAN_Emulation.ttcnpp b/library/RAN_Emulation.ttcnpp
index 5450706..a400dcd 100644
--- a/library/RAN_Emulation.ttcnpp
+++ b/library/RAN_Emulation.ttcnpp
@@ -518,28 +518,6 @@
 	return g_ran_ops.unitdata_cb.apply(bssap);
 }
 
-private function f_bssap_wait_for_reset() runs on RAN_Emulation_CT {
-	var BSSAP_N_UNITDATA_ind ud_ind;
-	timer T := 20.0;
-	var boolean append_osmux_support := append_osmux_ie();
-
-	T.start;
-	alt {
-	[] BSSAP.receive(tr_BSSAP_UNITDATA_ind(?, ?, tr_BSSMAP_Reset(append_osmux_support))) -> value ud_ind {
-		BSSAP.send(ts_BSSAP_UNITDATA_req(ud_ind.callingAddress, ud_ind.calledAddress,
-			   ts_BSSMAP_ResetAck(append_osmux_support)));
-		}
-	[] as_reset_ack(append_osmux_support);
-	[] BSSAP.receive {
-		repeat;
-		}
-	[] T.timeout {
-		setverdict(fail, "Timeout waiting for BSSAP RESET");
-		mtc.stop;
-		}
-	}
-}
-
 function f_bssap_reset(SCCP_PAR_Address peer, SCCP_PAR_Address own) runs on RAN_Emulation_CT {
 	timer T := 5.0;
 	var boolean append_osmux_support := append_osmux_ie();

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18845
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I9ecf4fdeaee8e5437427564ef860c9053ffa4241
Gerrit-Change-Number: 18845
Gerrit-PatchSet: 3
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200620/5564cfde/attachment.htm>


More information about the gerrit-log mailing list