aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_vty_functions.cpp
diff options
context:
space:
mode:
authorsivasankari <Sivasankari.Theerthagiri@radisys.com>2016-12-16 12:57:18 +0530
committerHarald Welte <laforge@gnumonks.org>2016-12-22 14:09:04 +0000
commitda7250ad2c1cd5ddc7d3c6e10435a00b357ef8f7 (patch)
tree7d7a96d20f11593ddcd1b66654d5258fa7feb0d8 /src/pcu_vty_functions.cpp
parent963cdaffd5d2ba698010c7c4000792487e07a2e8 (diff)
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 <imsi_val>). Adds the number of coding schemes counter for UL at TBF level. Change-Id: Icbe4ba95e34bea89ee36f532d099db68204b7c38
Diffstat (limited to 'src/pcu_vty_functions.cpp')
-rw-r--r--src/pcu_vty_functions.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pcu_vty_functions.cpp b/src/pcu_vty_functions.cpp
index 4b4b36d..ce79e05 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(),