aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2020-05-08 09:58:26 +0200
committerSylvain Munaut <tnt@246tNt.com>2020-05-08 18:13:59 +0200
commit908e82e2d9f7f5b80a4a28ac6f6b9d691653f206 (patch)
tree957a67fe8c9dc812aab7c462cd2d11696df331e6 /include/osmocom/bsc
parent0347269b04d5a0e7f28773162d268c024b1cfc40 (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')
-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 3fd466c3a..c7c4c49fb 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -1703,6 +1703,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) {