aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_ms.h
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/gprs_ms.h
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/gprs_ms.h')
-rw-r--r--src/gprs_ms.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gprs_ms.h b/src/gprs_ms.h
index bcc4fb32..72a86c9e 100644
--- a/src/gprs_ms.h
+++ b/src/gprs_ms.h
@@ -130,6 +130,8 @@ public:
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 @@ private:
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 @@ inline unsigned GprsMs::nack_rate_dl() const
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;