From 1951be22722cd192c01962141e9bdc911b957769 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 16 Feb 2022 16:21:07 +0100 Subject: [PATCH] bsc: add TC_ho_into_this_bsc_a5_1_3_no_chosen_enc_alg Report: in inter-BSC incoming handover, when the MSC omits the Chosen Encryption Algorithm IE in the Handover Request message, then osmo-bsc starts an unencrypted lchan even if A5/0 is not permitted. This test verifies that the Encryption Information is present in the Channel Activation when the Chosen Enc Alg is omitted. Related: SYS#5839 Change-Id: Ia94cc29bf66339ed782cb5101f3640f69cf73131 --- bsc/BSC_Tests.ttcn | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index 69e187c7f..44916c460 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -6131,6 +6131,22 @@ testcase TC_ho_into_this_bsc_a5_4() runs on test_CT { f_tc_ho_into_this_bsc_a5(f_encr_params('10'O)); } +/* Report: in inter-BSC incoming handover, when the MSC omits the Chosen Encryption Algorithm IE in the Handover Request + * message, then osmo-bsc starts an unencrypted lchan even if A5/0 is not permitted. + * + * This test verifies that the Encryption Information is present in the Channel Activation when the Chosen Enc Alg is + * omitted. + * + * Related: SYS#5839 + */ +testcase TC_ho_into_this_bsc_a5_1_3_no_chosen_enc_alg() runs on test_CT { + f_tc_ho_into_this_bsc_a5(f_encr_params(alg_permitted := '0a'O, alg_expect := '08'O, alg_chosen := omit)); +} + +testcase TC_ho_into_this_bsc_a5_1_3() runs on test_CT { + f_tc_ho_into_this_bsc_a5(f_encr_params(alg_permitted := '0a'O, alg_expect := '08'O)); +} + testcase TC_ho_into_this_bsc_tla_v6() runs on test_CT { var TestHdlrParams pars := f_gen_test_hdlr_pars(); pars.host_aoip_tla := "::6";