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 <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-CC: pespin <[email protected]>
Gerrit-MessageType: merged