[S] Change in osmo-ttcn3-hacks[master]: RAN_Emulation: rename f_handle_userData() -> f_handle_userData_BSSAP()
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41487?usp=email ) ( 1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: RAN_Emulation: rename f_handle_userData() -> f_handle_userData_BSSAP() ...................................................................... RAN_Emulation: rename f_handle_userData() -> f_handle_userData_BSSAP() To match its counterpart f_handle_userData_RANAP(). Change-Id: I9e07cd99d2ca01942aae671175753517d5d40572 --- M library/RAN_Emulation.ttcnpp 1 file changed, 5 insertions(+), 5 deletions(-) Approvals: fixeria: Looks good to me, approved Jenkins Builder: Verified osmith: Looks good to me, but someone else must approve diff --git a/library/RAN_Emulation.ttcnpp b/library/RAN_Emulation.ttcnpp index 4373a87..5462916 100644 --- a/library/RAN_Emulation.ttcnpp +++ b/library/RAN_Emulation.ttcnpp @@ -512,7 +512,7 @@ }; /* handle (optional) userData portion of various primitives and dispatch it to the client */ -private function f_handle_userData(RAN_ConnHdlr client, PDU_BSSAP bssap) +private function f_handle_userData_BSSAP(RAN_ConnHdlr client, PDU_BSSAP bssap) runs on RAN_Emulation_CT { /* decode + send decoded BSSAP to client */ @@ -974,7 +974,7 @@ /* store mapping between client components and SCCP connectionId */ f_conn_table_add(vc_conn, conn_ind.connectionId); /* handle user payload */ - f_handle_userData(vc_conn, conn_ind.userData); + f_handle_userData_BSSAP(vc_conn, conn_ind.userData); /* confirm connection establishment */ BSSAP.send(ts_BSSAP_CONNECT_res(conn_ind.connectionId, omit)); } @@ -982,14 +982,14 @@ [] BSSAP.receive(BSSAP_N_DATA_ind:?) -> value data_ind { vc_conn := f_comp_by_conn_id(data_ind.connectionId); if (ispresent(data_ind.userData)) { - f_handle_userData(vc_conn, data_ind.userData); + f_handle_userData_BSSAP(vc_conn, data_ind.userData); } } /* SCCP -> Client: disconnect of an existing connection */ [] BSSAP.receive(BSSAP_N_DISCONNECT_ind:?) -> value disc_ind { vc_conn := f_comp_by_conn_id(disc_ind.connectionId); if (ispresent(disc_ind.userData)) { - f_handle_userData(vc_conn, disc_ind.userData); + f_handle_userData_BSSAP(vc_conn, disc_ind.userData); } /* notify client about termination */ var RAN_Conn_Prim prim := valueof(ts_MSC_CONN_PRIM_DISC_IND); @@ -1004,7 +1004,7 @@ CLIENT.send(prim) to vc_conn; /* handle user payload */ if (ispresent(conn_cfm.userData)) { - f_handle_userData(vc_conn, conn_cfm.userData); + f_handle_userData_BSSAP(vc_conn, conn_cfm.userData); } } [] CLIENT.receive(PDU_BSSAP:?) -> value bssap sender vc_conn { -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41487?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I9e07cd99d2ca01942aae671175753517d5d40572 Gerrit-Change-Number: 41487 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: osmith <osmith@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de>
participants (1)
-
pespin