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
This commit is contained in:
Neels Hofmeyr 2020-11-26 02:40:26 +00:00 committed by laforge
parent 1b9aa78ee0
commit 3eb9456f5a
1 changed files with 12 additions and 0 deletions

View File

@ -3933,6 +3933,16 @@ testcase TC_assignment_codec_amr_h_start_mode_auto() runs on test_CT {
start_mode := "auto"); 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 { 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 1 sub-slot 0 borken");
f_vty_transceive(BSCVTY, "bts 0 trx 0 timeslot 2 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_h_S7() );
execute( TC_assignment_codec_amr_f_start_mode_auto() ); execute( TC_assignment_codec_amr_f_start_mode_auto() );
execute( TC_assignment_codec_amr_h_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() ); execute( TC_assignment_codec_amr_startmode_cruft() );
} }