debug log: log Cipher Mode info upon sending down RSL/A-bis
Change-Id: I7f7ec44887f6b40fdce8d348e9e9bd200fe0b689
This commit is contained in:
parent
64c2920620
commit
8c6301cf0d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue