aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-03-17 11:47:47 +0100
committerHarald Welte <laforge@gnumonks.org>2018-03-17 12:24:29 +0100
commit7c4a22dbc48f51eb199766bf1b29e061bf765cbd (patch)
treec027a1040858eed93d355da9f1e7371d54ef5d7e /include
parent5cef5056ff70da6a06b1225cb744ad09e2c1b277 (diff)
cosmetic: Move agch_queue to sub-structure of gsm_bts_role_bts
Rathert han have 11 direct members of gsm_bts_role_bts, group them into a sub-struct as ew do for other parts like interference, laod, ... Change-Id: Iefecf4b70c1b11c650913f2ae3783718ffb8a36c
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/gsm_data.h30
1 files changed, 16 insertions, 14 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index 16521044..31879b9b 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -69,20 +69,22 @@ struct gsm_bts_role_bts {
uint8_t max_ta;
/* AGCH queuing */
- struct llist_head agch_queue;
- int agch_queue_length;
- int agch_max_queue_length;
-
- int agch_queue_thresh_level; /* Cleanup threshold in percent of max len */
- int agch_queue_low_level; /* Low water mark in percent of max len */
- int agch_queue_high_level; /* High water mark in percent of max len */
-
- /* 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 {
+ struct llist_head queue;
+ int length;
+ int max_length;
+
+ int thresh_level; /* Cleanup threshold in percent of max len */
+ int low_level; /* Low water mark in percent of max len */
+ int high_level; /* High water mark in percent of max len */
+
+ /* TODO: Use a rate counter group instead */
+ uint64_t dropped_msgs;
+ uint64_t merged_msgs;
+ uint64_t rejected_msgs;
+ uint64_t agch_msgs;
+ uint64_t pch_msgs;
+ } agch_queue;
struct paging_state *paging_state;
char *bsc_oml_host;