diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-06-14 01:31:38 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-06-23 20:01:25 +0000 |
commit | efedf805263f4e5909628ba7d7c3725114d83710 (patch) | |
tree | 65e4f5ed71638a828d9a540692082b7059dd8e69 /openbsc/src | |
parent | 82c8f75f7118f9be3550ee1d35914376eab22211 (diff) |
vty: show lchan summary: also show lchan->state
Change-Id: If7ae92b8d501b51bbe8a165c223734e169a8bb97
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/libbsc/bsc_vty.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/openbsc/src/libbsc/bsc_vty.c b/openbsc/src/libbsc/bsc_vty.c index 578b005d2..04f2cc690 100644 --- a/openbsc/src/libbsc/bsc_vty.c +++ b/openbsc/src/libbsc/bsc_vty.c @@ -1120,10 +1120,13 @@ static void lchan_dump_short_vty(struct vty *vty, struct gsm_lchan *lchan) lchan->meas_rep_idx, 1); mr = &lchan->meas_rep[idx]; - vty_out(vty, "BTS %u, TRX %u, Timeslot %u, Lchan %u, Type %s - " + vty_out(vty, "BTS %u, TRX %u, Timeslot %u %s, Lchan %u, Type %s, State %s - " "L1 MS Power: %u dBm RXL-FULL-dl: %4d dBm RXL-FULL-ul: %4d dBm%s", lchan->ts->trx->bts->nr, lchan->ts->trx->nr, lchan->ts->nr, - lchan->nr, gsm_lchant_name(lchan->type), mr->ms_l1.pwr, + gsm_pchan_name(lchan->ts->pchan), + lchan->nr, + gsm_lchant_name(lchan->type), gsm_lchans_name(lchan->state), + mr->ms_l1.pwr, rxlev2dbm(mr->dl.full.rx_lev), rxlev2dbm(mr->ul.full.rx_lev), VTY_NEWLINE); |