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
changes/74/21374/3
Neels Hofmeyr 2 years ago committed by laforge
parent 1b9aa78ee0
commit 3eb9456f5a
  1. 12
      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() );
}

Loading…
Cancel
Save