aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-05-09 20:22:54 +0200
committerHarald Welte <laforge@gnumonks.org>2018-05-09 20:34:52 +0000
commite152fd2614a2159f2918d2ac721793856ca4d873 (patch)
tree51a4d416d4b6c685ef89c20b991e6c2cc1aa4ce0
parentd241f9826298898619f6ed1841d31d6a9288c99d (diff)
osmo-bts-trx: Enable A5/3 cipher support
This actually should have been working since 2015, when the following patch was merged to libosmcore: commit f8699ca51eeb4f3d34336501abcaf071b4a95a47 Author: Max <max.suraev@fairwaves.co> Date: Wed Mar 25 17:20:31 2015 +0100 gsm: Add A5/3-4 cipher support however, it seems nobody so far bothered to actually enable A5/3 for osmo-bts-trx! Change-Id: I8192d6d07cdb87783bce997456ead673c600f7c0 Closes: OS#3253
-rw-r--r--src/osmo-bts-trx/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/main.c b/src/osmo-bts-trx/main.c
index 6e5a4ca..3b82e42 100644
--- a/src/osmo-bts-trx/main.c
+++ b/src/osmo-bts-trx/main.c
@@ -98,7 +98,7 @@ int bts_model_handle_options(int argc, char **argv)
int bts_model_init(struct gsm_bts *bts)
{
bts->variant = BTS_OSMO_TRX;
- bts->support.ciphers = CIPHER_A5(1) | CIPHER_A5(2);
+ bts->support.ciphers = CIPHER_A5(1) | CIPHER_A5(2) | CIPHER_A5(3);
/* FIXME: this needs to be overridden with the real hardrware
* value */