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
This commit is contained in:
Vadim Yanitskiy 2022-08-04 04:06:07 +07:00 committed by fixeria
parent 6fe5d4e33e
commit c5fcb89b8d
1 changed files with 12 additions and 4 deletions

View File

@ -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 {