diff options
author | sivasankari <Sivasankari.Theerthagiri@radisys.com> | 2016-12-16 12:57:18 +0530 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-12-22 14:09:04 +0000 |
commit | da7250ad2c1cd5ddc7d3c6e10435a00b357ef8f7 (patch) | |
tree | 7d7a96d20f11593ddcd1b66654d5258fa7feb0d8 /src/tbf.h | |
parent | 963cdaffd5d2ba698010c7c4000792487e07a2e8 (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.h | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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); }; |