diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libbsc/bsc_api.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libbsc/bsc_api.c b/src/libbsc/bsc_api.c index 5ba2cde7a..845b1b703 100644 --- a/src/libbsc/bsc_api.c +++ b/src/libbsc/bsc_api.c @@ -32,6 +32,7 @@ #include <osmocom/bsc/debug.h> #include <osmocom/bsc/trau_mux.h> #include <osmocom/bsc/gsm_04_08_utils.h> +#include <osmocom/bsc/bsc_subscriber.h> #include <osmocom/gsm/protocol/gsm_08_08.h> #include <osmocom/gsm/gsm48.h> @@ -730,6 +731,9 @@ int gsm0808_cipher_mode(struct gsm_subscriber_connection *conn, int cipher, return -1; } + LOGP(DRSL, LOGL_DEBUG, "(subscr %s) Cipher Mode: cipher=%d key=%s include_imeisv=%d\n", + bsc_subscr_name(conn->bsub), cipher, osmo_hexdump_nospc(key, len), include_imeisv); + conn->lchan->encr.alg_id = RSL_ENC_ALG_A5(cipher); if (key) { conn->lchan->encr.key_len = len; |