aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/gsm_data.h
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2020-05-08 09:58:26 +0200
committerlaforge <laforge@osmocom.org>2020-05-09 08:05:21 +0000
commit57a1ec5b2eda59ad84e52dc22db1f4f3c9e13914 (patch)
treeba91af9f77e36499ea68f422d732cff62a9c2de8 /include/osmocom/bsc/gsm_data.h
parent543855431575122f8115b11d32ddad9e7859ad77 (diff)
gsm_data: Update trx_is_usable for ericsson BTS
There is no bb_transc oject. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Change-Id: I34bb808cd21575ff25d36e6df028b140935a008f
Diffstat (limited to 'include/osmocom/bsc/gsm_data.h')
-rw-r--r--include/osmocom/bsc/gsm_data.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index ecc1f0a06..545019bdc 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -1719,6 +1719,18 @@ static inline int is_nokia_bts(struct gsm_bts *bts)
return 0;
}
+static inline int is_ericsson_bts(struct gsm_bts *bts)
+{
+ switch (bts->type) {
+ case GSM_BTS_TYPE_RBS2000:
+ return 1;
+ default:
+ break;
+ }
+
+ return 0;
+}
+
static inline int is_e1_bts(struct gsm_bts *bts)
{
switch (bts->type) {