diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-11-08 20:22:45 +0000 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-12-10 15:23:42 +0000 |
commit | 7233fa862363fdefa1fbe575709d18905c28764d (patch) | |
tree | 2bd14095af1d9ca179cf18ca76621087d8d5040e | |
parent | vty: resurrect per-lchan BS/MS Power Control information (diff) | |
download | OsmoBTS-7233fa862363fdefa1fbe575709d18905c28764d.tar.xz OsmoBTS-7233fa862363fdefa1fbe575709d18905c28764d.zip |
log: rsl_rx_chan_activ: show chan type as human readable string
Change-Id: I3acf6c18309d3b4093dbc295be622363cb6dbcdc
-rw-r--r-- | src/common/rsl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c index 30fa2591..f7f336a0 100644 --- a/src/common/rsl.c +++ b/src/common/rsl.c @@ -1309,8 +1309,10 @@ static int rsl_rx_chan_activ(struct msgb *msg) /* 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 |