aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-02-20 13:10:01 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-10 08:55:02 +0100
commit35a8144e41157b0a7304e7a0fd46a0e5a0dda287 (patch)
tree0668a7edd10e0b900e13a1d50001e24e09f14170 /include
parent4fbe06b3f27c678c2cba7339dc1ea3754ec0609e (diff)
agch: Add simple counters
Counters are added for the following events (use VTY show to query): - Dropped IMMEDIATE ASSIGN REJECT messages - Merged IMMEDIATE ASSIGN REJECT messages - Rejected AGCH messages - Use of PCH (non-reserved) for AGCH messages - Use of AGCH (reserved) for AGCH messages Sponsored-by: On-Waves ehf
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/gsm_data.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index ea3fa5ee..b1399034 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -48,9 +48,19 @@ struct gsm_bts_role_bts {
} load;
uint8_t ny1;
uint8_t max_ta;
+
+ /* AGCH queuing */
struct llist_head agch_queue;
int agch_queue_length;
int agch_max_queue_length;
+
+ /* TODO: Use a rate counter group instead */
+ uint64_t agch_queue_dropped_msgs;
+ uint64_t agch_queue_merged_msgs;
+ uint64_t agch_queue_rejected_msgs;
+ uint64_t agch_queue_agch_msgs;
+ uint64_t agch_queue_pch_msgs;
+
struct paging_state *paging_state;
char *bsc_oml_host;
unsigned int rtp_jitter_buf_ms;