[PATCH] osmo-iuh[master]: cosmetic: hnbgw: hnbap: log rx of unsuccessful outcome

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 Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Jan 15 22:40:50 UTC 2018


Review at  https://gerrit.osmocom.org/5808

cosmetic: hnbgw: hnbap: log rx of unsuccessful outcome

HNBAP isn't really that important to osmo-hnbgw operation, all we do is service
the few requests so that the other side is happy and uses our Iuh.
Nevertheless, could at least log if an UnsuccessfulOutcome was received.

Change-Id: I3f309dc2d3436798e9e76bcc2ebd82403ea538a1
---
M src/hnbgw_hnbap.c
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/08/5808/1

diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c
index fab520d..2746c21 100644
--- a/src/hnbgw_hnbap.c
+++ b/src/hnbgw_hnbap.c
@@ -529,6 +529,10 @@
 static int hnbgw_rx_unsuccessful_outcome_msg(struct hnb_context *hnb, UnsuccessfulOutcome_t *msg)
 {
 	/* We don't care much about HNBAP */
+	LOGP(DHNBAP, LOGL_ERROR, "Received Unsuccessful Outcome, procedureCode %ld, criticality %ld,"
+	     " from '%s', cell mcc %u mnc %u lac %u rac %u sac %u cid %u\n",
+	     msg->procedureCode, msg->criticality, hnb->identity_info,
+	     hnb->id.mcc, hnb->id.mnc, hnb->id.lac, hnb->id.rac, hnb->id.sac, hnb->id.cid);
 	return 0;
 }
 

-- 
To view, visit https://gerrit.osmocom.org/5808
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f309dc2d3436798e9e76bcc2ebd82403ea538a1
Gerrit-PatchSet: 1
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list