Change in osmo-bts[master]: log: rsl_rx_chan_activ: show chan type as human readable string

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 gerrit-no-reply at lists.osmocom.org
Mon Nov 9 01:08:38 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/21077 )


Change subject: log: rsl_rx_chan_activ: show chan type as human readable string
......................................................................

log: rsl_rx_chan_activ: show chan type as human readable string

Change-Id: I3acf6c18309d3b4093dbc295be622363cb6dbcdc
---
M src/common/rsl.c
1 file changed, 4 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/77/21077/1

diff --git a/src/common/rsl.c b/src/common/rsl.c
index cb9c19b..660fd0c 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -1260,8 +1260,10 @@
 	/* 9.3.53 MultiRate Control */
 	/* 9.3.54 Supported Codec Types */
 
-	LOGPLCHAN(lchan, DRSL, LOGL_INFO, "chan_nr=%s type=0x%02x mode=%s\n",
-		  rsl_chan_nr_str(dch->chan_nr), type, gsm48_chan_mode_name(lchan->tch_mode));
+	LOGPLCHAN(lchan, DRSL, LOGL_INFO, "chan_nr=%s type=0x%02x=%s mode=%s\n",
+		  rsl_chan_nr_str(dch->chan_nr),
+		  type, get_value_string(rsl_act_type_names, type),
+		  gsm48_chan_mode_name(lchan->tch_mode));
 
 	/* Connecting PDCH on dyn TS goes via PCU instead. */
 	if (ts->pchan == GSM_PCHAN_TCH_F_TCH_H_PDCH

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I3acf6c18309d3b4093dbc295be622363cb6dbcdc
Gerrit-Change-Number: 21077
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201109/13be1dba/attachment.htm>


More information about the gerrit-log mailing list