This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
neels gerrit-no-reply at lists.osmocom.orgneels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19181 ) Change subject: bsc: more SI2quater EUTRAN ARFCN tests ...................................................................... bsc: more SI2quater EUTRAN ARFCN tests Add more EUTRAN ARFCNs, reaching the maximum allowed amount. Add tests with 12, 23, 42 EARFCNs, just for the sake of testing some arbitrary numbers. Add tests with 32 and 33 EARFCNs because before osmo-bsc Iabeed10053ee5899b4def3509aedd25abb2410a9, only 32 EARFCNs could be stored by osmo-bsc. Add a test with 48 EARFCNs to verify the maximum amount of EARFCNs and maximum amount of SI2quater multiplexes works as expected. Add a test with 49 EARFCNs to verify the VTY error response when adding too many EARFCNs, and showing that osmo-bsc still sends 16 SI2quater with 48 EARFCNs. Change-Id: I99bf9b3381812d1db6fd0757f65995bae48da776 --- M bsc/BSC_Tests.ttcn 1 file changed, 1,127 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/81/19181/1 diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index c903935..51e9044 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -61,6 +61,7 @@ import from GSM_SystemInformation all; import from GSM_RestOctets all; +import from TCCConversion_Functions all; const integer NUM_BTS := 3; const integer NUM_MSC := 3; @@ -1832,6 +1833,1125 @@ f_test_si2quater(6, sic); } +testcase TC_si2quater_12_earfcns() runs on test_CT { + var template SystemInformationConfig sic := SystemInformationConfig_default; + const integer count := 3; + sic.si2quater := { + tr_SI2quaterRestOctets_EUTRAN( + index := 0, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 111), + tr_EUTRAN_CellDesc(e_arfcn := 23), + tr_EUTRAN_CellDesc(e_arfcn := 24) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 1, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 25), + tr_EUTRAN_CellDesc(e_arfcn := 26), + tr_EUTRAN_CellDesc(e_arfcn := 27) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 2, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 28), + tr_EUTRAN_CellDesc(e_arfcn := 29), + tr_EUTRAN_CellDesc(e_arfcn := 30) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 3, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 31), + tr_EUTRAN_CellDesc(e_arfcn := 32), + tr_EUTRAN_CellDesc(e_arfcn := 33) + } + ) + } + ) + }; + f_test_si2quater(12, sic); +} + +testcase TC_si2quater_23_earfcns() runs on test_CT { + var template SystemInformationConfig sic := SystemInformationConfig_default; + const integer count := 7; + sic.si2quater := { + tr_SI2quaterRestOctets_EUTRAN( + index := 0, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 111), + tr_EUTRAN_CellDesc(e_arfcn := 23), + tr_EUTRAN_CellDesc(e_arfcn := 24) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 1, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 25), + tr_EUTRAN_CellDesc(e_arfcn := 26), + tr_EUTRAN_CellDesc(e_arfcn := 27) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 2, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 28), + tr_EUTRAN_CellDesc(e_arfcn := 29), + tr_EUTRAN_CellDesc(e_arfcn := 30) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 3, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 31), + tr_EUTRAN_CellDesc(e_arfcn := 32), + tr_EUTRAN_CellDesc(e_arfcn := 33) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 4, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 34), + tr_EUTRAN_CellDesc(e_arfcn := 35), + tr_EUTRAN_CellDesc(e_arfcn := 36) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 5, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 37), + tr_EUTRAN_CellDesc(e_arfcn := 38), + tr_EUTRAN_CellDesc(e_arfcn := 39) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 6, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 40), + tr_EUTRAN_CellDesc(e_arfcn := 41), + tr_EUTRAN_CellDesc(e_arfcn := 42) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 7, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 43), + tr_EUTRAN_CellDesc(e_arfcn := 44) + } + ) + } + ) + }; + f_test_si2quater(23, sic); +} + +testcase TC_si2quater_32_earfcns() runs on test_CT { + var template SystemInformationConfig sic := SystemInformationConfig_default; + const integer count := 10; + sic.si2quater := { + tr_SI2quaterRestOctets_EUTRAN( + index := 0, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 111), + tr_EUTRAN_CellDesc(e_arfcn := 23), + tr_EUTRAN_CellDesc(e_arfcn := 24) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 1, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 25), + tr_EUTRAN_CellDesc(e_arfcn := 26), + tr_EUTRAN_CellDesc(e_arfcn := 27) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 2, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 28), + tr_EUTRAN_CellDesc(e_arfcn := 29), + tr_EUTRAN_CellDesc(e_arfcn := 30) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 3, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 31), + tr_EUTRAN_CellDesc(e_arfcn := 32), + tr_EUTRAN_CellDesc(e_arfcn := 33) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 4, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 34), + tr_EUTRAN_CellDesc(e_arfcn := 35), + tr_EUTRAN_CellDesc(e_arfcn := 36) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 5, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 37), + tr_EUTRAN_CellDesc(e_arfcn := 38), + tr_EUTRAN_CellDesc(e_arfcn := 39) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 6, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 40), + tr_EUTRAN_CellDesc(e_arfcn := 41), + tr_EUTRAN_CellDesc(e_arfcn := 42) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 7, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 43), + tr_EUTRAN_CellDesc(e_arfcn := 44), + tr_EUTRAN_CellDesc(e_arfcn := 45) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 8, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 46), + tr_EUTRAN_CellDesc(e_arfcn := 47), + tr_EUTRAN_CellDesc(e_arfcn := 48) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 9, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 49), + tr_EUTRAN_CellDesc(e_arfcn := 50), + tr_EUTRAN_CellDesc(e_arfcn := 51) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 10, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 52), + tr_EUTRAN_CellDesc(e_arfcn := 53) + } + ) + } + ) + }; + f_test_si2quater(32, sic); +} + +testcase TC_si2quater_33_earfcns() runs on test_CT { + var template SystemInformationConfig sic := SystemInformationConfig_default; + const integer count := 10; + sic.si2quater := { + tr_SI2quaterRestOctets_EUTRAN( + index := 0, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 111), + tr_EUTRAN_CellDesc(e_arfcn := 23), + tr_EUTRAN_CellDesc(e_arfcn := 24) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 1, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 25), + tr_EUTRAN_CellDesc(e_arfcn := 26), + tr_EUTRAN_CellDesc(e_arfcn := 27) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 2, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 28), + tr_EUTRAN_CellDesc(e_arfcn := 29), + tr_EUTRAN_CellDesc(e_arfcn := 30) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 3, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 31), + tr_EUTRAN_CellDesc(e_arfcn := 32), + tr_EUTRAN_CellDesc(e_arfcn := 33) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 4, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 34), + tr_EUTRAN_CellDesc(e_arfcn := 35), + tr_EUTRAN_CellDesc(e_arfcn := 36) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 5, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 37), + tr_EUTRAN_CellDesc(e_arfcn := 38), + tr_EUTRAN_CellDesc(e_arfcn := 39) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 6, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 40), + tr_EUTRAN_CellDesc(e_arfcn := 41), + tr_EUTRAN_CellDesc(e_arfcn := 42) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 7, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 43), + tr_EUTRAN_CellDesc(e_arfcn := 44), + tr_EUTRAN_CellDesc(e_arfcn := 45) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 8, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 46), + tr_EUTRAN_CellDesc(e_arfcn := 47), + tr_EUTRAN_CellDesc(e_arfcn := 48) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 9, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 49), + tr_EUTRAN_CellDesc(e_arfcn := 50), + tr_EUTRAN_CellDesc(e_arfcn := 51) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 10, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 52), + tr_EUTRAN_CellDesc(e_arfcn := 53), + tr_EUTRAN_CellDesc(e_arfcn := 54) + } + ) + } + ) + }; + f_test_si2quater(33, sic); +} + +testcase TC_si2quater_42_earfcns() runs on test_CT { + var template SystemInformationConfig sic := SystemInformationConfig_default; + const integer count := 13; + sic.si2quater := { + tr_SI2quaterRestOctets_EUTRAN( + index := 0, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 111), + tr_EUTRAN_CellDesc(e_arfcn := 23), + tr_EUTRAN_CellDesc(e_arfcn := 24) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 1, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 25), + tr_EUTRAN_CellDesc(e_arfcn := 26), + tr_EUTRAN_CellDesc(e_arfcn := 27) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 2, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 28), + tr_EUTRAN_CellDesc(e_arfcn := 29), + tr_EUTRAN_CellDesc(e_arfcn := 30) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 3, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 31), + tr_EUTRAN_CellDesc(e_arfcn := 32), + tr_EUTRAN_CellDesc(e_arfcn := 33) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 4, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 34), + tr_EUTRAN_CellDesc(e_arfcn := 35), + tr_EUTRAN_CellDesc(e_arfcn := 36) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 5, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 37), + tr_EUTRAN_CellDesc(e_arfcn := 38), + tr_EUTRAN_CellDesc(e_arfcn := 39) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 6, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 40), + tr_EUTRAN_CellDesc(e_arfcn := 41), + tr_EUTRAN_CellDesc(e_arfcn := 42) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 7, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 43), + tr_EUTRAN_CellDesc(e_arfcn := 44), + tr_EUTRAN_CellDesc(e_arfcn := 45) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 8, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 46), + tr_EUTRAN_CellDesc(e_arfcn := 47), + tr_EUTRAN_CellDesc(e_arfcn := 48) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 9, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 49), + tr_EUTRAN_CellDesc(e_arfcn := 50), + tr_EUTRAN_CellDesc(e_arfcn := 51) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 10, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 52), + tr_EUTRAN_CellDesc(e_arfcn := 53), + tr_EUTRAN_CellDesc(e_arfcn := 54) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 11, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 55), + tr_EUTRAN_CellDesc(e_arfcn := 56), + tr_EUTRAN_CellDesc(e_arfcn := 57) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 12, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 58), + tr_EUTRAN_CellDesc(e_arfcn := 59), + tr_EUTRAN_CellDesc(e_arfcn := 60) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 13, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 61), + tr_EUTRAN_CellDesc(e_arfcn := 62), + tr_EUTRAN_CellDesc(e_arfcn := 63) + } + ) + } + ) + }; + f_test_si2quater(42, sic); +} + +testcase TC_si2quater_48_earfcns() runs on test_CT { + var template SystemInformationConfig sic := SystemInformationConfig_default; + const integer count := 15; + sic.si2quater := { + tr_SI2quaterRestOctets_EUTRAN( + index := 0, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 111), + tr_EUTRAN_CellDesc(e_arfcn := 23), + tr_EUTRAN_CellDesc(e_arfcn := 24) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 1, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 25), + tr_EUTRAN_CellDesc(e_arfcn := 26), + tr_EUTRAN_CellDesc(e_arfcn := 27) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 2, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 28), + tr_EUTRAN_CellDesc(e_arfcn := 29), + tr_EUTRAN_CellDesc(e_arfcn := 30) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 3, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 31), + tr_EUTRAN_CellDesc(e_arfcn := 32), + tr_EUTRAN_CellDesc(e_arfcn := 33) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 4, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 34), + tr_EUTRAN_CellDesc(e_arfcn := 35), + tr_EUTRAN_CellDesc(e_arfcn := 36) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 5, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 37), + tr_EUTRAN_CellDesc(e_arfcn := 38), + tr_EUTRAN_CellDesc(e_arfcn := 39) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 6, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 40), + tr_EUTRAN_CellDesc(e_arfcn := 41), + tr_EUTRAN_CellDesc(e_arfcn := 42) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 7, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 43), + tr_EUTRAN_CellDesc(e_arfcn := 44), + tr_EUTRAN_CellDesc(e_arfcn := 45) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 8, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 46), + tr_EUTRAN_CellDesc(e_arfcn := 47), + tr_EUTRAN_CellDesc(e_arfcn := 48) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 9, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 49), + tr_EUTRAN_CellDesc(e_arfcn := 50), + tr_EUTRAN_CellDesc(e_arfcn := 51) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 10, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 52), + tr_EUTRAN_CellDesc(e_arfcn := 53), + tr_EUTRAN_CellDesc(e_arfcn := 54) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 11, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 55), + tr_EUTRAN_CellDesc(e_arfcn := 56), + tr_EUTRAN_CellDesc(e_arfcn := 57) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 12, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 58), + tr_EUTRAN_CellDesc(e_arfcn := 59), + tr_EUTRAN_CellDesc(e_arfcn := 60) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 13, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 61), + tr_EUTRAN_CellDesc(e_arfcn := 62), + tr_EUTRAN_CellDesc(e_arfcn := 63) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 14, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 64), + tr_EUTRAN_CellDesc(e_arfcn := 65), + tr_EUTRAN_CellDesc(e_arfcn := 66) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 15, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 67), + tr_EUTRAN_CellDesc(e_arfcn := 68), + tr_EUTRAN_CellDesc(e_arfcn := 69) + } + ) + } + ) + }; + f_test_si2quater(48, sic); +} + +testcase TC_si2quater_49_earfcns() runs on test_CT { + var template SystemInformationConfig sic := SystemInformationConfig_default; + const integer count := 15; + sic.si2quater := { + tr_SI2quaterRestOctets_EUTRAN( + index := 0, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 111), + tr_EUTRAN_CellDesc(e_arfcn := 23), + tr_EUTRAN_CellDesc(e_arfcn := 24) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 1, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 25), + tr_EUTRAN_CellDesc(e_arfcn := 26), + tr_EUTRAN_CellDesc(e_arfcn := 27) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 2, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 28), + tr_EUTRAN_CellDesc(e_arfcn := 29), + tr_EUTRAN_CellDesc(e_arfcn := 30) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 3, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 31), + tr_EUTRAN_CellDesc(e_arfcn := 32), + tr_EUTRAN_CellDesc(e_arfcn := 33) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 4, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 34), + tr_EUTRAN_CellDesc(e_arfcn := 35), + tr_EUTRAN_CellDesc(e_arfcn := 36) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 5, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 37), + tr_EUTRAN_CellDesc(e_arfcn := 38), + tr_EUTRAN_CellDesc(e_arfcn := 39) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 6, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 40), + tr_EUTRAN_CellDesc(e_arfcn := 41), + tr_EUTRAN_CellDesc(e_arfcn := 42) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 7, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 43), + tr_EUTRAN_CellDesc(e_arfcn := 44), + tr_EUTRAN_CellDesc(e_arfcn := 45) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 8, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 46), + tr_EUTRAN_CellDesc(e_arfcn := 47), + tr_EUTRAN_CellDesc(e_arfcn := 48) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 9, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 49), + tr_EUTRAN_CellDesc(e_arfcn := 50), + tr_EUTRAN_CellDesc(e_arfcn := 51) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 10, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 52), + tr_EUTRAN_CellDesc(e_arfcn := 53), + tr_EUTRAN_CellDesc(e_arfcn := 54) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 11, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 55), + tr_EUTRAN_CellDesc(e_arfcn := 56), + tr_EUTRAN_CellDesc(e_arfcn := 57) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 12, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 58), + tr_EUTRAN_CellDesc(e_arfcn := 59), + tr_EUTRAN_CellDesc(e_arfcn := 60) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 13, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 61), + tr_EUTRAN_CellDesc(e_arfcn := 62), + tr_EUTRAN_CellDesc(e_arfcn := 63) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 14, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 64), + tr_EUTRAN_CellDesc(e_arfcn := 65), + tr_EUTRAN_CellDesc(e_arfcn := 66) + } + ) + } + ), + tr_SI2quaterRestOctets_EUTRAN( + index := 15, + count := count, + repeated_neigh_cells := { + tr_EUTRAN_NeighbourCells( + cell_desc_list := { + tr_EUTRAN_CellDesc(e_arfcn := 67), + tr_EUTRAN_CellDesc(e_arfcn := 68), + tr_EUTRAN_CellDesc(e_arfcn := 69) + } + ) + } + ) + }; + f_init(0); + + /* E-ARFCN 111 is already added in the osmo-bsc.cfg, so only add more arfcns if total_earfcns > 1 */ + for (var integer i := 1; i < 48; i := i + 1) { + f_bts_0_cfg(BSCVTY, {"si2quater neighbor-list add earfcn " & int2str(22 + i) & " thresh-hi 20 thresh-lo 10 prio 3 qrxlv 22 meas 3"}); + } + + /* The 49th EARFCN no longer fits, expect VTY error */ + f_vty_enter_cfg_bts(BSCVTY, 0); + var charstring vty_error; + vty_error := f_vty_transceive_ret(BSCVTY, + "si2quater neighbor-list add earfcn 70 thresh-hi 20 thresh-lo 10 prio 3 qrxlv 22 meas 3") + f_vty_transceive(BSCVTY, "end"); + + if (f_strstr(vty_error, "Unable to add ARFCN 70") >= 0) { + log("Got expected VTY error: ", vty_error); + setverdict(pass); + } else { + setverdict(fail, "Expected the 49th EUTRAN ARFCN to be rejected by vty config, got: ", vty_error); + } + + f_init_bts_and_check_sysinfo(0, expect_si := sic); + + for (var integer i := 1; i < 48; i := i + 1) { + f_bts_0_cfg(BSCVTY, {"si2quater neighbor-list del earfcn " & int2str(22 + i)}); + } +} + testcase TC_ctrl_msc_connection_status() runs on test_CT { var charstring ctrl_resp; @@ -5800,6 +6920,13 @@ execute( TC_si2quater_4_earfcns() ); execute( TC_si2quater_5_earfcns() ); execute( TC_si2quater_6_earfcns() ); + execute( TC_si2quater_12_earfcns() ); + execute( TC_si2quater_23_earfcns() ); + execute( TC_si2quater_32_earfcns() ); + execute( TC_si2quater_33_earfcns() ); + execute( TC_si2quater_42_earfcns() ); + execute( TC_si2quater_48_earfcns() ); + execute( TC_si2quater_49_earfcns() ); /* RSL DCHAN Channel ACtivation / Deactivation */ execute( TC_chan_act_noreply() ); -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19181 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I99bf9b3381812d1db6fd0757f65995bae48da776 Gerrit-Change-Number: 19181 Gerrit-PatchSet: 1 Gerrit-Owner: neels <nhofmeyr at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200708/3fc354cd/attachment.htm>