From 3eb9456f5a08caf867e3a923d7f30e4655845fe9 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 26 Nov 2020 02:40:26 +0000 Subject: [PATCH] bsc: add tests with nonzero AMR start-mode This test shows that in current osmo-bsc, the start-mode fails to propagate to the MultiRate Config IE, the only start-mode so far has always been zero. Change-Id: I75515baf8cda04567cad8a93c5aa88361c2d259f --- bsc/BSC_Tests.ttcn | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index 7c12559b4..2695ce20b 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -3933,6 +3933,16 @@ testcase TC_assignment_codec_amr_h_start_mode_auto() runs on test_CT { start_mode := "auto"); } +testcase TC_assignment_codec_amr_f_start_mode_4() runs on test_CT { + f_TC_assignment_codec_amr(true, '2b9520882208'O, '11111111'B, '00000010'B, + start_mode := "4"); +} + +testcase TC_assignment_codec_amr_h_start_mode_4() runs on test_CT { + f_TC_assignment_codec_amr(false, '2b15208820'O, '10010101'B, '00010101'B, + start_mode := "4"); +} + private function f_disable_all_tch_f() runs on test_CT { f_vty_transceive(BSCVTY, "bts 0 trx 0 timeslot 1 sub-slot 0 borken"); f_vty_transceive(BSCVTY, "bts 0 trx 0 timeslot 2 sub-slot 0 borken"); @@ -8451,6 +8461,8 @@ control { execute( TC_assignment_codec_amr_h_S7() ); execute( TC_assignment_codec_amr_f_start_mode_auto() ); execute( TC_assignment_codec_amr_h_start_mode_auto() ); + execute( TC_assignment_codec_amr_f_start_mode_4() ); + execute( TC_assignment_codec_amr_h_start_mode_4() ); execute( TC_assignment_codec_amr_startmode_cruft() ); }