aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/bts_sysmobts.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-03-23 12:01:07 +0100
committerHarald Welte <laforge@gnumonks.org>2017-04-10 06:58:43 +0000
commitf9685c14615bbb7b3d1002f9453dd59411b386c7 (patch)
tree8077aa49bc9937b4c217c65de9715bd73c283983 /openbsc/src/libbsc/bts_sysmobts.c
parent689e7e556220a56353bc914312946a514f524b58 (diff)
gsm_bts: add version and variant details
* add version string to gsm_bts * add PCU version string to gsm_bts * rename GSM_BTS_TYPE_OSMO_SYSMO -> GSM_BTS_OSMOBTS to avoid confusion between BTS model and variant * add variant enum to gsm_bts_model using enum with variants for each hw vendor of OsmoBTS * show connected PCU version (if available) in vty via 'show bts' This will come in handy when logging details regarding particular BTS reported via OML, see: Related: OS#1614 Change-Id: I6710d53115f34634a7b70969cc05fd5c72ff8ab2
Diffstat (limited to 'openbsc/src/libbsc/bts_sysmobts.c')
-rw-r--r--openbsc/src/libbsc/bts_sysmobts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/bts_sysmobts.c b/openbsc/src/libbsc/bts_sysmobts.c
index e1bf661fc..e4b6cdc78 100644
--- a/openbsc/src/libbsc/bts_sysmobts.c
+++ b/openbsc/src/libbsc/bts_sysmobts.c
@@ -46,7 +46,7 @@ int bts_model_sysmobts_init(void)
{
model_sysmobts = bts_model_nanobts;
model_sysmobts.name = "sysmobts";
- model_sysmobts.type = GSM_BTS_TYPE_OSMO_SYSMO;
+ model_sysmobts.type = GSM_BTS_TYPE_OSMOBTS;
model_sysmobts.features.data = &model_sysmobts._features_data[0];
model_sysmobts.features.data_len =