Change in osmo-pcu[master]: pdch: Log hexdump of decde failure for dl rlcmac block

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

pespin gerrit-no-reply at lists.osmocom.org
Mon Nov 23 16:49:08 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/21304 )


Change subject: pdch: Log hexdump of decde failure for dl rlcmac block
......................................................................

pdch: Log hexdump of decde failure for dl rlcmac block

Change-Id: I591212a43bf92984348d1992df8c9b4fdddeba3b
---
M src/pdch.cpp
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/04/21304/1

diff --git a/src/pdch.cpp b/src/pdch.cpp
index dc98877..4a0ff06 100644
--- a/src/pdch.cpp
+++ b/src/pdch.cpp
@@ -251,7 +251,8 @@
 	LOGP(DRLCMAC, LOGL_DEBUG, "+++++++++++++++++++++++++ TX : Packet Paging Request +++++++++++++++++++++++++\n");
 	rc = decode_gsm_rlcmac_downlink(pag_vec, mac_control_block);
 	if (rc < 0) {
-		LOGP(DRLCMAC, LOGL_ERROR, "Decoding of Downlink Packet Paging Request failed (%d)\n", rc);
+		LOGP(DRLCMAC, LOGL_ERROR, "Decoding of Downlink Packet Paging Request failed (%d): %s\n",
+		     rc, osmo_hexdump(msgb_data(msg), msgb_length(msg)));
 		goto free_ret;
 	}
 	LOGP(DRLCMAC, LOGL_DEBUG, "------------------------- TX : Packet Paging Request -------------------------\n");

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I591212a43bf92984348d1992df8c9b4fdddeba3b
Gerrit-Change-Number: 21304
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201123/758c252f/attachment.htm>


More information about the gerrit-log mailing list