Change in osmo-msc[master]: log: RANAP encode: use RANAP message names instead of BSSAP

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
Wed Oct 30 12:20:00 UTC 2019


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/15847 )

Change subject: log: RANAP encode: use RANAP message names instead of BSSAP
......................................................................

log: RANAP encode: use RANAP message names instead of BSSAP

Change-Id: Ib0e0630d775a28958ea86802f70cbeec07087f91
---
M src/libmsc/ran_msg_iu.c
1 file changed, 5 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/src/libmsc/ran_msg_iu.c b/src/libmsc/ran_msg_iu.c
index d5b9143..e056de4 100644
--- a/src/libmsc/ran_msg_iu.c
+++ b/src/libmsc/ran_msg_iu.c
@@ -396,25 +396,28 @@
 
 struct msgb *ran_iu_encode(struct osmo_fsm_inst *caller_fi, const struct ran_msg *ran_enc_msg)
 {
-	LOG_RAN_IU_ENC(caller_fi, LOGL_DEBUG, "%s\n", ran_msg_type_name(ran_enc_msg->msg_type));
-
 	switch (ran_enc_msg->msg_type) {
 
 	case RAN_MSG_DTAP:
+		LOG_RAN_IU_ENC(caller_fi, LOGL_DEBUG, "DirectTransfer\n");
 		return ran_iu_wrap_dtap(ran_enc_msg->dtap);
 
 	// TODO: RAN_MSG_CLASSMARK_REQUEST ??
 
 	case RAN_MSG_CIPHER_MODE_COMMAND:
+		LOG_RAN_IU_ENC(caller_fi, LOGL_DEBUG, "SecurityModeCommand\n");
 		return ran_iu_make_security_mode_command(caller_fi, &ran_enc_msg->cipher_mode_command);
 
 	case RAN_MSG_ASSIGNMENT_COMMAND:
+		LOG_RAN_IU_ENC(caller_fi, LOGL_DEBUG, "RAB AssignmentRequest\n");
 		return ran_iu_make_rab_assignment(caller_fi, &ran_enc_msg->assignment_command);
 
 	case RAN_MSG_COMMON_ID:
+		LOG_RAN_IU_ENC(caller_fi, LOGL_DEBUG, "CommonId\n");
 		return ranap_new_msg_common_id(ran_enc_msg->common_id.imsi);
 
 	case RAN_MSG_CLEAR_COMMAND:
+		LOG_RAN_IU_ENC(caller_fi, LOGL_DEBUG, "Iu Release\n");
 		return ran_iu_make_release_command(caller_fi, &ran_enc_msg->clear_command);
 
 	default:

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

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Ib0e0630d775a28958ea86802f70cbeec07087f91
Gerrit-Change-Number: 15847
Gerrit-PatchSet: 2
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-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191030/d9b5675b/attachment.htm>


More information about the gerrit-log mailing list