From c5fcb89b8d19a1b66e41c80c07eaa2f67e8a62dc Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Thu, 4 Aug 2022 04:06:07 +0700 Subject: [PATCH] MSC_Tests: SpeechCodecList IE shall be present in BSSMAP HandoverRequest According to [1], 3GPP TS 48.008 does indicate that on AoIP the MSC Preferred Codec List IE shall be present in BSSMAP HandoverRequest. Let's verify that the IUT actually includes this IE. Change-Id: I2e0ecbcced9f94d2b44d981db353007cad3ae959 Related: osmo-bsc.git I117cc29d6d11db77d160de654f43f5993db6ee21 Related: OS#5529 --- msc/MSC_Tests.ttcn | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn index 724455560..304258698 100644 --- a/msc/MSC_Tests.ttcn +++ b/msc/MSC_Tests.ttcn @@ -5801,7 +5801,9 @@ private function f_tc_ho_inter_bsc0(charstring id, BSC_ConnHdlrPars pars) runs o var template BSSMAP_IE_KC128 kC128; var OCT1 a5_perm_alg; f_get_expected_encryption(encryptionInformation, chosenEncryptionAlgorithm, kC128, a5_perm_alg); - var template PDU_BSSAP expect_ho_request := tr_BSSMAP_HandoverRequest(encryptionInformation, chosenEncryptionAlgorithm, kC128); + var template PDU_BSSAP expect_ho_request := tr_BSSMAP_HandoverRequest(encryptionInformation, + chosenEncryptionAlgorithm, + kC128, codecList := ?); var PDU_BSSAP ho_request; alt { [] BSSAP.receive(expect_ho_request); @@ -5863,7 +5865,9 @@ private function f_tc_ho_inter_bsc1(charstring id, BSC_ConnHdlrPars pars) runs o var template BSSMAP_IE_KC128 kC128; var OCT1 a5_perm_alg; f_get_expected_encryption(encryptionInformation, chosenEncryptionAlgorithm, kC128, a5_perm_alg); - var template PDU_BSSAP expect_ho_request := tr_BSSMAP_HandoverRequest(encryptionInformation, chosenEncryptionAlgorithm, kC128); + var template PDU_BSSAP expect_ho_request := tr_BSSMAP_HandoverRequest(encryptionInformation, + chosenEncryptionAlgorithm, + kC128, codecList := ?); var PDU_BSSAP ho_request; alt { [] BSSAP.receive(expect_ho_request); @@ -6032,7 +6036,9 @@ private function f_tc_ho_inter_msc_out(charstring id, BSC_ConnHdlrPars pars) run var template BSSMAP_IE_KC128 kC128; var OCT1 a5_perm_alg; f_get_expected_encryption(encryptionInformation, chosenEncryptionAlgorithm, kC128, a5_perm_alg); - var template PDU_BSSAP expect_ho_request := tr_BSSMAP_HandoverRequest(encryptionInformation, chosenEncryptionAlgorithm, kC128); + var template PDU_BSSAP expect_ho_request := tr_BSSMAP_HandoverRequest(encryptionInformation, + chosenEncryptionAlgorithm, + kC128, codecList := ?); var octetstring remote_msc_name := '6D73632D3031372D3031372D3100'O; /* "msc-017-017-1\0" as octetstring */ var GSUP_PDU prep_ho_req; @@ -6202,7 +6208,9 @@ private function f_tc_ho_inter_msc_out(charstring id, BSC_ConnHdlrPars pars) run /* MSC asks local BSS to prepare Handover to it */ f_get_expected_encryption(encryptionInformation, chosenEncryptionAlgorithm, kC128, a5_perm_alg); - expect_ho_request := tr_BSSMAP_HandoverRequest(encryptionInformation, chosenEncryptionAlgorithm, kC128); + expect_ho_request := tr_BSSMAP_HandoverRequest(encryptionInformation, + chosenEncryptionAlgorithm, + kC128, codecList := ?); alt { [] BSSAP.receive(expect_ho_request) -> value ho_request; [] BSSAP.receive(tr_BSSMAP_HandoverRequest) -> value ho_request {