Change in osmo-bsc[master]: bssap: Use new DTAP DLCI helper fields from libosmocore

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
Wed Nov 27 11:09:42 UTC 2019


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


Change subject: bssap: Use new DTAP DLCI helper fields from libosmocore
......................................................................

bssap: Use new DTAP DLCI helper fields from libosmocore

Change-Id: Ib72e2bda46e39d1075e4270ac5fa51df2f418164
---
M src/osmo-bsc/osmo_bsc_bssap.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/60/16260/1

diff --git a/src/osmo-bsc/osmo_bsc_bssap.c b/src/osmo-bsc/osmo_bsc_bssap.c
index 74faae1..0833ed0 100644
--- a/src/osmo-bsc/osmo_bsc_bssap.c
+++ b/src/osmo-bsc/osmo_bsc_bssap.c
@@ -1109,7 +1109,7 @@
 		return -1;
 	}
 
-	LOGP(DMSC, LOGL_INFO, "Rx MSC DTAP, SAPI: %u CHAN: %u\n", header->link_id & 0x07, header->link_id & 0xC0);
+	LOGP(DMSC, LOGL_INFO, "Rx MSC DTAP, SAPI: %s CHAN: %u\n", gsm0406_dlci_sapi_name(header->dlci_sapi), header->dlci_cc);
 
 	/* forward the data */
 	gsm48 = gsm48_msgb_alloc_name("GSM 04.08 DTAP RCV");

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ib72e2bda46e39d1075e4270ac5fa51df2f418164
Gerrit-Change-Number: 16260
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/20191127/0056bce9/attachment.htm>


More information about the gerrit-log mailing list