From da7250ad2c1cd5ddc7d3c6e10435a00b357ef8f7 Mon Sep 17 00:00:00 2001 From: sivasankari Date: Fri, 16 Dec 2016 12:57:18 +0530 Subject: Add counter at BTS level And statistics at TBF/MS level. Adds spb counters at BTS level(show bts statistics). Adds RLC/MAC downlink control msg at ms level(show ms imsi ). Adds the number of coding schemes counter for UL at TBF level. Change-Id: Icbe4ba95e34bea89ee36f532d099db68204b7c38 --- src/pcu_vty_functions.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/pcu_vty_functions.cpp') diff --git a/src/pcu_vty_functions.cpp b/src/pcu_vty_functions.cpp index 4b4b36df..ce79e059 100644 --- a/src/pcu_vty_functions.cpp +++ b/src/pcu_vty_functions.cpp @@ -70,6 +70,13 @@ static void tbf_print_vty_info(struct vty *vty, gprs_rlcmac_tbf *tbf) gprs_rlc_ul_window *win = &ul_tbf->m_window; vty_out(vty, " V(Q)=%d V(R)=%d", win->v_q(), win->v_r()); + vty_out(vty, "%s", VTY_NEWLINE); + vty_out(vty, " TBF Statistics:%s", VTY_NEWLINE); + if(GprsCodingScheme::GPRS == tbf->ms()->mode()) { + vty_out_rate_ctr_group(vty, " ", ul_tbf->m_ul_gprs_ctrs); + } else { + vty_out_rate_ctr_group(vty, " ", ul_tbf->m_ul_egprs_ctrs); + } } if (dl_tbf) { gprs_rlc_dl_window *win = &dl_tbf->m_window; @@ -178,6 +185,8 @@ static int show_ms(struct vty *vty, GprsMs *ms) vty_out(vty, " MS I level (slot %d): %d dB%s", i, ms->l1_meas()->ts[i].ms_i_level, VTY_NEWLINE); } + vty_out(vty, " RLC/MAC DL Control Msg: %d%s", ms->dl_ctrl_msg(), + VTY_NEWLINE); if (ms->ul_tbf()) vty_out(vty, " Uplink TBF: TFI=%d, state=%s%s", ms->ul_tbf()->tfi(), -- cgit v1.2.3