From f383aa11a5f87ca54b693196e6d4f6df6a41b57c Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 2 Jul 2012 19:51:55 +0200 Subject: BSC: introduce new "sysmobts" BTS model so far, osmo-bts/sysmobts used to be entered as "sysmobts" type in the configuration file. However, there are some differences in the protocol/behaviour and we should reflect that by a new BTS plugin (with lots of code reuse from the nanobts driver). --- openbsc/include/openbsc/bss.h | 1 + openbsc/include/openbsc/gsm_data.h | 2 ++ openbsc/include/openbsc/gsm_data_shared.h | 1 + 3 files changed, 4 insertions(+) (limited to 'openbsc/include') diff --git a/openbsc/include/openbsc/bss.h b/openbsc/include/openbsc/bss.h index 2317bd217..1c6b5c342 100644 --- a/openbsc/include/openbsc/bss.h +++ b/openbsc/include/openbsc/bss.h @@ -15,4 +15,5 @@ extern int bts_model_rbs2k_init(void); extern int bts_model_nanobts_init(void); extern int bts_model_hslfemto_init(void); extern int bts_model_nokia_site_init(void); +extern int bts_model_sysmobts_init(void); #endif diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 78832538e..e2ba9b655 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -308,10 +308,12 @@ struct gsm_bts *gsm_bts_by_lac(struct gsm_network *net, unsigned int lac, extern void *tall_bsc_ctx; extern int ipacc_rtp_direct; +/* this actaully refers to the IPA transport, not the BTS model */ static inline int is_ipaccess_bts(struct gsm_bts *bts) { switch (bts->type) { case GSM_BTS_TYPE_NANOBTS: + case GSM_BTS_TYPE_OSMO_SYSMO: return 1; default: break; diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h index b3ea20b9b..7db41c3dd 100644 --- a/openbsc/include/openbsc/gsm_data_shared.h +++ b/openbsc/include/openbsc/gsm_data_shared.h @@ -362,6 +362,7 @@ enum gsm_bts_type { GSM_BTS_TYPE_RBS2000, GSM_BTS_TYPE_HSL_FEMTO, GSM_BTS_TYPE_NOKIA_SITE, + GSM_BTS_TYPE_OSMO_SYSMO, }; struct vty; -- cgit v1.2.3