aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/gsm_data.h
diff options
context:
space:
mode:
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>