forked from cellular-infrastructure/osmo-pcu
tbf: Mark control slots in VTY TBF out
Put an '!' after the PDCH number in the output of the 'show tbf' command, if is_control_ts() yields true. Sponsored-by: On-Waves ehf
This commit is contained in:
parent
646da1ba8d
commit
81a04f7d79
|
@ -56,8 +56,9 @@ static void tbf_print_vty_info(struct vty *vty, gprs_rlcmac_tbf *tbf)
|
|||
VTY_NEWLINE);
|
||||
vty_out(vty, " TS_alloc=");
|
||||
for (int i = 0; i < 8; i++) {
|
||||
bool is_ctrl = tbf->is_control_ts(i);
|
||||
if (tbf->pdch[i])
|
||||
vty_out(vty, "%d ", i);
|
||||
vty_out(vty, "%d%s ", i, is_ctrl ? "!" : "");
|
||||
}
|
||||
vty_out(vty, " CS=%s WS=%d",
|
||||
tbf->current_cs().name(), tbf->window()->ws());
|
||||
|
|
Loading…
Reference in New Issue