aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-octphy/l1_if.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-octphy/l1_if.c')
-rw-r--r--src/osmo-bts-octphy/l1_if.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/osmo-bts-octphy/l1_if.c b/src/osmo-bts-octphy/l1_if.c
index 6d8932e4..db6e032c 100644
--- a/src/osmo-bts-octphy/l1_if.c
+++ b/src/osmo-bts-octphy/l1_if.c
@@ -688,8 +688,14 @@ int bts_model_l1sap_down(struct gsm_bts_trx *trx, struct osmo_phsap_prim *l1sap)
int bts_model_init(struct gsm_bts *bts)
{
+ struct gsm_bts_role_bts *btsb;
struct octphy_hdl *fl1h;
+ LOGP(DL1C, LOGL_NOTICE, "model_init()\n");
+
+ btsb = bts_role_bts(bts);
+ btsb->support.ciphers = CIPHER_A5(1) | CIPHER_A5(2) | CIPHER_A5(3);
+
fl1h = talloc_zero(bts, struct octphy_hdl);
if (!fl1h)
return -ENOMEM;