diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-07-02 19:51:55 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-07-02 20:13:08 +0200 |
commit | f383aa11a5f87ca54b693196e6d4f6df6a41b57c (patch) | |
tree | 7a04eeb59d97b0506c6e6b7e242afac9b29a59d0 /openbsc/include | |
parent | 0c1bd61bb3ef6dc7b3be3023f2c292b70e84626c (diff) |
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).
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/bss.h | 1 | ||||
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 2 | ||||
-rw-r--r-- | openbsc/include/openbsc/gsm_data_shared.h | 1 |
3 files changed, 4 insertions, 0 deletions
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; |