vty: print class and TBFs for each MS
It's handy for troubleshooting to get quick overview of per-MS TBF allocations and MS [EGPRS] classes. Change-Id: Ie79c20f86da6db4565654b0f5856f4fddd83ef96
This commit is contained in:
parent
cea806e5b9
commit
39eb95f130
|
@ -119,12 +119,16 @@ int pcu_vty_show_ms_all(struct vty *vty, struct gprs_rlcmac_bts *bts_data)
|
||||||
llist_for_each(ms_iter, &bts->ms_store().ms_list()) {
|
llist_for_each(ms_iter, &bts->ms_store().ms_list()) {
|
||||||
GprsMs *ms = ms_iter->entry();
|
GprsMs *ms = ms_iter->entry();
|
||||||
|
|
||||||
vty_out(vty, "MS TLLI=%08x, TA=%d, CS-UL=%s, CS-DL=%s, LLC=%zd, "
|
vty_out(vty, "MS TLLI=%08x, TA=%d, CS-UL=%s, CS-DL=%s, LLC=%zd, Cl=%d, E-Cl=%d,"
|
||||||
"IMSI=%s%s",
|
" TBF-UL=%s, TBF-DL=%s, IMSI=%s%s",
|
||||||
ms->tlli(),
|
ms->tlli(),
|
||||||
ms->ta(), ms->current_cs_ul().name(),
|
ms->ta(), ms->current_cs_ul().name(),
|
||||||
ms->current_cs_dl().name(),
|
ms->current_cs_dl().name(),
|
||||||
ms->llc_queue()->size(),
|
ms->llc_queue()->size(),
|
||||||
|
ms->ms_class(),
|
||||||
|
ms->egprs_ms_class(),
|
||||||
|
ms->ul_tbf() ? ms->ul_tbf()->state_name() : "NA",
|
||||||
|
ms->dl_tbf() ? ms->dl_tbf()->state_name() : "NA",
|
||||||
ms->imsi(),
|
ms->imsi(),
|
||||||
VTY_NEWLINE);
|
VTY_NEWLINE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue