aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osmo-bts-litecell15/main.c1
-rw-r--r--src/osmo-bts-octphy/l1_if.c1
-rw-r--r--src/osmo-bts-sysmo/main.c1
-rw-r--r--src/osmo-bts-trx/main.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/osmo-bts-litecell15/main.c b/src/osmo-bts-litecell15/main.c
index 352949b4..ab139811 100644
--- a/src/osmo-bts-litecell15/main.c
+++ b/src/osmo-bts-litecell15/main.c
@@ -70,6 +70,7 @@ int bts_model_init(struct gsm_bts *bts)
static struct osmo_fd accept_fd, read_fd;
int rc;
+ bts->variant = BTS_OSMO_LITECELL15;
btsb = bts_role_bts(bts);
btsb->support.ciphers = CIPHER_A5(1) | CIPHER_A5(2) | CIPHER_A5(3);
diff --git a/src/osmo-bts-octphy/l1_if.c b/src/osmo-bts-octphy/l1_if.c
index b42fb3a7..a4d0e3ad 100644
--- a/src/osmo-bts-octphy/l1_if.c
+++ b/src/osmo-bts-octphy/l1_if.c
@@ -769,6 +769,7 @@ int bts_model_init(struct gsm_bts *bts)
LOGP(DL1C, LOGL_NOTICE, "model_init()\n");
+ bts->variant = BTS_OSMO_OCTPHY;
btsb = bts_role_bts(bts);
btsb->support.ciphers = CIPHER_A5(1) | CIPHER_A5(2) | CIPHER_A5(3);
diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c
index b1263b9a..547d084a 100644
--- a/src/osmo-bts-sysmo/main.c
+++ b/src/osmo-bts-sysmo/main.c
@@ -62,6 +62,7 @@ int bts_model_init(struct gsm_bts *bts)
static struct osmo_fd accept_fd, read_fd;
int rc;
+ bts->variant = BTS_OSMO_SYSMO;
btsb = bts_role_bts(bts);
btsb->support.ciphers = CIPHER_A5(1) | CIPHER_A5(2) | CIPHER_A5(3);
diff --git a/src/osmo-bts-trx/main.c b/src/osmo-bts-trx/main.c
index 98066cab..0148e5bb 100644
--- a/src/osmo-bts-trx/main.c
+++ b/src/osmo-bts-trx/main.c
@@ -99,6 +99,7 @@ int bts_model_init(struct gsm_bts *bts)
{
struct gsm_bts_role_bts *btsb = bts_role_bts(bts);
+ bts->variant = BTS_OSMO_TRX;
btsb->support.ciphers = CIPHER_A5(1) | CIPHER_A5(2);
/* FIXME: this needs to be overridden with the real hardrware