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

laforge gerrit-no-reply at lists.osmocom.org
Thu Dec 10 15:23:42 UTC 2020


laforge has submitted this change. ( 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(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/common/rsl.c b/src/common/rsl.c
index 30fa259..f7f336a 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -1309,8 +1309,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: 2
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201210/110a7b74/attachment.htm>


More information about the gerrit-log mailing list