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
diff --git a/src/gprs_ms.h b/src/gprs_ms.h
index bcc4fb3..72a86c9 100644
--- a/src/gprs_ms.h
+++ b/src/gprs_ms.h
@@ -130,6 +130,8 @@
void update_l1_meas(const pcu_l1_meas *meas);
const pcu_l1_meas* l1_meas() const {return &m_l1_meas;};
unsigned nack_rate_dl() const;
+ unsigned dl_ctrl_msg() const;
+ void update_dl_ctrl_msg();
/* internal use */
static void timeout(void *priv_);
@@ -180,6 +182,8 @@
struct gprs_codel *m_codel_state;
GprsCodingScheme::Mode m_mode;
+
+ unsigned m_dl_ctrl_msg;
};
inline bool GprsMs::is_idle() const
@@ -263,6 +267,16 @@
return m_nack_rate_dl;
}
+inline unsigned GprsMs::dl_ctrl_msg() const
+{
+ return m_dl_ctrl_msg;
+}
+
+inline void GprsMs::update_dl_ctrl_msg()
+{
+ m_dl_ctrl_msg++;
+}
+
inline uint8_t GprsMs::reserved_dl_slots() const
{
return m_reserved_dl_slots;