aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/gsm_data.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-24 12:36:52 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-24 19:26:42 +0100
commitd7f8a1c16e8a6337539b5dae291f435cf0cf426e (patch)
treed394995e58a5101561ed72623519cae54230db9d /include/osmo-bts/gsm_data.h
parentc1135015135f9c664dd6735f30fc94772c0d9ce8 (diff)
BTS: add rate_ctr about CCCH (paging, agch, pch)
Diffstat (limited to 'include/osmo-bts/gsm_data.h')
-rw-r--r--include/osmo-bts/gsm_data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index 4b834b54..f2574b15 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -35,6 +35,7 @@ struct gsm_network {
/* data structure for BTS related data specific to the BTS role */
struct gsm_bts_role_bts {
+ struct gsm_bts *bts;
struct {
/* Interference Boundaries for OML */
int16_t boundary[6];
@@ -132,6 +133,7 @@ enum lchan_ciph_state {
};
#define bts_role_bts(x) ((struct gsm_bts_role_bts *)(x)->role)
+#define btsb_bts(x) (x)->bts
#include <osmo-bts/gsm_data_shared.h>