diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-11-02 14:28:15 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-11-03 12:37:03 +0000 |
commit | b748012d3186209c0f4c38ebb7113ce7c60e333b (patch) | |
tree | 876f517d46dcac314e04fc143561d3088584d474 /openbsc/src/utils/meas_udp2db.c | |
parent | 350f93e1e4de0bc0201518adeb58faefd0a16fe7 (diff) |
bsc_vty: include dyn TS info in vty show lchan
Extend both 'show lchan <bts> <trx> <lchan>' and 'show lchan summary' to
include information on dynamic timeslots.
Have one common function that prints " as foo" or " switching foo -> bar" to
the vty, use it in lchan_dump_full_vty() and lchan_dump_short_vty().
In lchan_dump_short_vty(), split the vty_out call in two in order to interleave
the dyn ts info right after the pchan.
The summary hence looks e.g. like this for osmocom style dyn ts:
BTS 0, TRX 0, Timeslot 5 TCH/F_TCH/H_PDCH as PDCH, Lchan 0, Type NONE, State ACTIVE - L1 MS Power: 0 dBm RXL-FULL-dl: -110 dBm RXL-FULL-ul: -110 dBm
or
BTS 0, TRX 0, Timeslot 4 TCH/F_TCH/H_PDCH switching NONE -> PDCH, Lchan 0, Type NONE, State BROKEN UNUSABLE - L1 MS Power: 0 dBm RXL-FULL-dl: -110 dBm RXL-FULL-ul: -110 dBm
Change-Id: I3eb72ac7f0a520a8eefe171b9fb357f149aa3fda
Diffstat (limited to 'openbsc/src/utils/meas_udp2db.c')
0 files changed, 0 insertions, 0 deletions