Change in osmo-ttcn3-hacks[master]: BSSGP_Emulation: Implement handling of BVC-UNBLOCK in SGSN role

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/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Nov 24 22:15:35 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21327 )


Change subject: BSSGP_Emulation: Implement handling of BVC-UNBLOCK in SGSN role
......................................................................

BSSGP_Emulation: Implement handling of BVC-UNBLOCK in SGSN role

Change-Id: I7c9cda916f6583613fbf3cdf31f3f08ceadf58d4
---
M library/BSSGP_Emulation.ttcnpp
1 file changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/27/21327/1

diff --git a/library/BSSGP_Emulation.ttcnpp b/library/BSSGP_Emulation.ttcnpp
index 89a69ad..2a87b35 100644
--- a/library/BSSGP_Emulation.ttcnpp
+++ b/library/BSSGP_Emulation.ttcnpp
@@ -977,6 +977,12 @@
 		f_ptp_change_state(BVC_S_UNBLOCKED);
 	}
 
+	/* Inbound  BVC-UNBLOCK from peer */
+	[g_sgsn_role] BVC.receive(tr_ptp_BnsUdInd(t_BVC_UNBLOCK(g_cfg.bvci), 0)) {
+		BVC.send(ts_ptp_BnsUdReq(t_BVC_UNBLOCK_ACK(g_cfg.bvci), 0, g_bvc_lsp));
+		f_ptp_change_state(BVC_S_UNBLOCKED);
+	}
+
 	/* RESET-ACK before T2 timeout: reset successful. In SGSN role, CellID must be present */
 	[g_T2.running and g_sgsn_role] BVC.receive(tr_ptp_BnsUdInd(tr_BVC_RESET_ACK(g_cfg.bvci, g_cfg.cell_id), 0)) -> value udi {
 		g_T2.stop;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21327
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: I7c9cda916f6583613fbf3cdf31f3f08ceadf58d4
Gerrit-Change-Number: 21327
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201124/10fd9401/attachment.htm>


More information about the gerrit-log mailing list