aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.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/tbf.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/tbf.h')
-rw-r--r--src/tbf.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 5017d3e..ad1ece2 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -102,6 +102,25 @@ enum tbf_egprs_counters {
TBF_CTR_EGPRS_DL_MCS9,
};
+enum tbf_gprs_ul_counters {
+ TBF_CTR_GPRS_UL_CS1,
+ TBF_CTR_GPRS_UL_CS2,
+ TBF_CTR_GPRS_UL_CS3,
+ TBF_CTR_GPRS_UL_CS4,
+};
+
+enum tbf_egprs_ul_counters {
+ TBF_CTR_EGPRS_UL_MCS1,
+ TBF_CTR_EGPRS_UL_MCS2,
+ TBF_CTR_EGPRS_UL_MCS3,
+ TBF_CTR_EGPRS_UL_MCS4,
+ TBF_CTR_EGPRS_UL_MCS5,
+ TBF_CTR_EGPRS_UL_MCS6,
+ TBF_CTR_EGPRS_UL_MCS7,
+ TBF_CTR_EGPRS_UL_MCS8,
+ TBF_CTR_EGPRS_UL_MCS9,
+};
+
#define GPRS_RLCMAC_FLAG_CCCH 0 /* assignment on CCCH */
#define GPRS_RLCMAC_FLAG_PACCH 1 /* assignment on PACCH */
#define GPRS_RLCMAC_FLAG_UL_DATA 2 /* uplink data received */
@@ -511,6 +530,9 @@ struct gprs_rlcmac_ul_tbf : public gprs_rlcmac_tbf {
uint8_t m_contention_resolution_done; /* set after done */
uint8_t m_final_ack_sent; /* set if we sent final ack */
+ struct rate_ctr_group *m_ul_gprs_ctrs;
+ struct rate_ctr_group *m_ul_egprs_ctrs;
+
protected:
void maybe_schedule_uplink_acknack(const gprs_rlc_data_info *rlc);
};