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.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21470 ) Change subject: BSSGP_Emulation: Add RIM port to BSSGP_CT ...................................................................... BSSGP_Emulation: Add RIM port to BSSGP_CT This port is used for sending/receiving RIM related BSSGP messages. It exists once per BSSGP_CT Component (i.e. once per NSE), as RIM is global for the entire NSE. Change-Id: I04511df5dffbfe19faabf22014acc72b7673b7d6 --- M library/BSSGP_Emulation.ttcnpp 1 file changed, 20 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/70/21470/1 diff --git a/library/BSSGP_Emulation.ttcnpp b/library/BSSGP_Emulation.ttcnpp index e3ad9fe..0aa27e6 100644 --- a/library/BSSGP_Emulation.ttcnpp +++ b/library/BSSGP_Emulation.ttcnpp @@ -237,6 +237,9 @@ * (currently only) SUSPEND/RESUME */ port BSSGP_SP_PT GLOBAL; + /* RAN INFORMATION MGMT */ + port BSSGP_SP_PT RIM; + /* port to a management instance */ port BSSGP_BVC_MGMT_SP_PT MGMT; @@ -305,6 +308,13 @@ {pDU_BSSGP_SGSN_INVOKE_TRACE:=?}, {pDU_BSSGP_OVERLOAD:=?} ); +/* BSSGP messages that should arrive on the RIM port */ +private template PDU_BSSGP tr_RIM := ( + {pDU_BSSGP_RAN_INFORMATION:=?}, {pDU_BSSGP_RAN_INFORMATION_REQUEST:=?}, + {pDU_BSSGP_RAN_INFORMATION_ACK:=?}, {pDU_BSSGP_RAN_INFORMATION_ERROR:=?}, + {pDU_BSSGP_RAN_INFORMATION_APPLICATION_ERROR:=?} +); + /* We are in BVC_S_UNBLOCKED state */ altstep as_sig_unblocked() runs on BSSGP_CT { var BSSGP_BVC_CT bvc_comp_ref; @@ -329,6 +339,11 @@ [] BSCP.receive(f_BnsUdInd(tr_GLOBAL, 0)) -> value udi { GLOBAL.send(udi.bssgp); } + [] BSCP.receive(f_BnsUdInd(tr_RIM, 0)) -> value udi { + if (RIM.checkstate("Connected")) { + RIM.send(udi.bssgp); + } + } /* Route based on PTP BVCI in payload/IE of signaling PDU */ [] BSCP.receive(f_BnsUdInd(?, 0)) -> value udi { @@ -381,6 +396,11 @@ [] GLOBAL.receive(tr_GLOBAL) -> value bssgp { BSCP.send(f_BnsUdReq(bssgp, 0, 0)); } + + [] RIM.receive(tr_RIM) -> value bssgp { + BSCP.send(f_BnsUdReq(bssgp, 0, 0)); + } + } /* We are in BVC_S_WAIT_NS_ALIVE_UNBLOCKED (only happens in BSS role) */ -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21470 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: I04511df5dffbfe19faabf22014acc72b7673b7d6 Gerrit-Change-Number: 21470 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/20201202/c5e5aee4/attachment.htm>