From 4d6f33fc95118b231f70e283554e4fbc70aa92aa Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 12 Nov 2020 22:58:17 +0100 Subject: handover_test 6 of n: rename 'create-bts' to 'create-bts-default' Change-Id: I4853771cf23b509b7f278d04c57883332ede786d --- tests/handover/handover_test.c | 62 +++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c index 0aebad5cf..e6a7345f2 100644 --- a/tests/handover/handover_test.c +++ b/tests/handover/handover_test.c @@ -505,7 +505,7 @@ static char *test_case_0[] = { "There are many neighbor cells, but only the current cell is the best\n" "cell, so no handover is performed\n", - "create-bts", "7", + "create-bts-default", "7", "create-ms", "0", "TCH/F", "AMR", "meas-rep", "0", "30","0", "6","0","20","1","21","2","18","3","20","4","23","5","19", @@ -519,7 +519,7 @@ static char *test_case_1[] = { "Handover to best better cell\n\n" "The best neighbor cell is selected\n", - "create-bts", "7", + "create-bts-default", "7", "create-ms", "0", "TCH/F", "AMR", "meas-rep", "0", "10","0", "6","0","20","1","21","2","18","3","20","4","23","5","19", @@ -542,7 +542,7 @@ static char *test_case_2[] = { "in the current cell, but disabling in the neighbor cell, handover\n" "will not be performed, until it is enabled in the neighbor cell too.\n", - "create-bts", "2", + "create-bts-default", "2", "afs-rxlev-improve", "0", "5", "create-ms", "0", "TCH/H", "AMR", "as-enable", "0", "0", @@ -576,7 +576,7 @@ static char *test_case_3[] = { "Even though the cell is still better, handover will not be performed\n" "due to penalty timer after handover failure\n", - "create-bts", "2", + "create-bts-default", "2", "create-ms", "0", "TCH/F", "AMR", "meas-rep", "0", "20","0", "1","0","30", "expect-chan", "1", "1", @@ -596,7 +596,7 @@ static char *test_case_4[] = { "at TCH/H slots. As the congestion is removed, the handover takes\n" "place.\n", - "create-bts", "2", + "create-bts-default", "2", "set-min-free", "1", "TCH/H", "4", "create-ms", "0", "TCH/H", "HR", "meas-rep", "0", "20","0", "1","0","30", @@ -618,7 +618,7 @@ static char *test_case_5[] = { "at TCH/F slots. As the congestion is removed, the handover takes\n" "place.\n", - "create-bts", "2", + "create-bts-default", "2", "set-min-free", "1", "TCH/F", "4", "create-ms", "0", "TCH/F", "FR", "meas-rep", "0", "20","0", "1","0","30", @@ -640,7 +640,7 @@ static char *test_case_6[] = { "at TCH/F slots. As the congestion is removed, the handover takes\n" "place.\n", - "create-bts", "2", + "create-bts-default", "2", "set-min-free", "1", "TCH/F", "4", "create-ms", "0", "TCH/F", "EFR", "meas-rep", "0", "20","0", "1","0","30", @@ -661,7 +661,7 @@ static char *test_case_7[] = { "The MS is using AMR V3 codec, the better cell is congested at TCH/F\n" "slots. The handover is performed to non-congested TCH/H slots.\n", - "create-bts", "2", + "create-bts-default", "2", "set-min-free", "1", "TCH/F", "4", "create-ms", "0", "TCH/F", "AMR", "meas-rep", "0", "20","0", "1","0","30", @@ -678,7 +678,7 @@ static char *test_case_8[] = { "No handover to a cell with no slots available\n\n" "If no slot is available, no handover is performed\n", - "create-bts", "2", + "create-bts-default", "2", "create-ms", "0", "TCH/F", "AMR", "create-ms", "1", "TCH/F", "AMR", "create-ms", "1", "TCH/F", "AMR", @@ -700,7 +700,7 @@ static char *test_case_9[] = { "There are tree mobiles that want to handover, but only two can do\n" "it at a time, because the maximum number is limited to two.\n", - "create-bts", "2", + "create-bts-default", "2", "set-max-ho", "1", "2", "create-ms", "0", "TCH/F", "AMR", "create-ms", "0", "TCH/F", "AMR", @@ -721,7 +721,7 @@ static char *test_case_10[] = { "If neighbor cell is better, handover is only performed if the\n" "amount of improvement is greater or equal hyteresis\n", - "create-bts", "2", + "create-bts-default", "2", "create-ms", "0", "TCH/F", "AMR", "meas-rep", "0", "27","0", "1","0","30", "expect-no-chan", @@ -745,7 +745,7 @@ static char *test_case_11[] = { "is below minimum RX level, even if the better neighbor cell (minimum\n" "RX level reached) does not meet the hysteresis.\n", - "create-bts", "2", + "create-bts-default", "2", "create-ms", "0", "TCH/F", "AMR", "meas-rep", "0", "10","0", "1","0","11", "expect-no-chan", @@ -766,7 +766,7 @@ static char *test_case_12[] = { "The better neighbor cell is congested, so no handover is performed.\n" "After the congestion is over, handover will be performed.\n", - "create-bts", "2", + "create-bts-default", "2", "create-ms", "0", "TCH/F", "AMR", "set-min-free", "1", "TCH/F", "4", "set-min-free", "1", "TCH/H", "4", @@ -791,7 +791,7 @@ static char *test_case_13[] = { "more. After congestion raises in the current cell, the handover is\n" "performed to balance congestion\n", - "create-bts", "2", + "create-bts-default", "2", "create-ms", "0", "TCH/F", "AMR", "set-min-free", "0", "TCH/F", "4", "set-min-free", "0", "TCH/H", "4", @@ -816,7 +816,7 @@ static char *test_case_14[] = { "If the RX level of the current cell drops below minimum acceptable\n" "level, the handover is performed.\n", - "create-bts", "2", + "create-bts-default", "2", "create-ms", "0", "TCH/F", "AMR", "set-min-free", "1", "TCH/F", "4", "set-min-free", "1", "TCH/H", "4", @@ -843,7 +843,7 @@ static char *test_case_15[] = { * See Performance Enhancements in a Frequency Hopping GSM Network (Nielsen Wigard 2002), Chapter * 2.1.1, "Interference" in the list of triggers on p.157. */ - "create-bts", "2", + "create-bts-default", "2", "create-ms", "0", "TCH/F", "AMR", "meas-rep", "0", "40","6", "1","0","30", "expect-no-chan", @@ -881,7 +881,7 @@ static char *test_case_16[] = { "performed back to that cell, because the penalty timer (due to\n" "maximum allowed timing advance) is running.\n", - "create-bts", "2", + "create-bts-default", "2", "create-ms", "0", "TCH/F", "AMR", "set-max-ta", "0", "5", /* of cell */ "set-ta", "0", "5", /* of ms */ @@ -905,7 +905,7 @@ static char *test_case_17[] = { "Three cells have different number of used slots, but there is no\n" "congestion in any of these cells. No handover is performed.\n", - "create-bts", "3", + "create-bts-default", "3", "set-min-free", "0", "TCH/F", "2", "set-min-free", "0", "TCH/H", "2", "set-min-free", "1", "TCH/F", "2", @@ -943,7 +943,7 @@ static char *test_case_18[] = { "congestion at TCH/F in the first cell. Handover is performed with\n" "the best candidate.\n", - "create-bts", "3", + "create-bts-default", "3", "set-min-free", "0", "TCH/F", "2", "set-min-free", "0", "TCH/H", "2", "set-min-free", "1", "TCH/F", "2", @@ -986,7 +986,7 @@ static char *test_case_19[] = { "Two cells are congested, but the second cell is less congested.\n" "Handover is performed to solve the congestion.\n", - "create-bts", "2", + "create-bts-default", "2", "set-min-free", "0", "TCH/F", "4", "set-min-free", "1", "TCH/F", "4", "create-ms", "0", "TCH/F", "FR", @@ -1015,7 +1015,7 @@ static char *test_case_20[] = { "Congestion check: Solving congestion by handover TCH/F -> TCH/H\n\n" "Two BTS, one MS in the first congested BTS must handover to\n" "non-congested TCH/H of second BTS, in order to solve congestion\n", - "create-bts", "2", + "create-bts-default", "2", "set-min-free", "0", "TCH/F", "4", "set-min-free", "0", "TCH/H", "4", "set-min-free", "1", "TCH/F", "4", @@ -1036,7 +1036,7 @@ static char *test_case_21[] = { "Congestion check: Balancing congestion by handover TCH/F -> TCH/H\n\n" "Two BTS, one MS in the first congested BTS must handover to\n" "less-congested TCH/H of second BTS, in order to balance congestion\n", - "create-bts", "2", + "create-bts-default", "2", "set-min-free", "0", "TCH/F", "4", "set-min-free", "0", "TCH/H", "4", "set-min-free", "1", "TCH/F", "4", @@ -1062,7 +1062,7 @@ static char *test_case_22[] = { "assignment is performed to less-congested TCH/F, the candidate with\n" "the worst RX level is chosen.\n", - "create-bts", "1", + "create-bts-default", "1", "set-min-free", "0", "TCH/F", "4", "set-min-free", "0", "TCH/H", "4", "create-ms", "0", "TCH/H", "AMR", @@ -1085,7 +1085,7 @@ static char *test_case_23[] = { "Story: 'A neighbor is your friend'\n", - "create-bts", "3", + "create-bts-default", "3", "print", "Andreas is driving along the coast, on a sunny june afternoon.\n" @@ -1171,7 +1171,7 @@ static char *test_case_24[] = { "received.\n", /* two cells, first in congested, but no handover */ - "create-bts", "2", + "create-bts-default", "2", "set-min-free", "0", "TCH/F", "4", "set-min-free", "0", "TCH/H", "4", "create-ms", "0", "TCH/F", "AMR", @@ -1213,7 +1213,7 @@ static char *test_case_25[] = { "There are many neighbor cells, but only the current cell is the best\n" "cell, so no handover is performed\n", - "create-bts", "7", + "create-bts-default", "7", "create-ms", "0", "TCH/F", "AMR", "meas-rep", "0", "30","0", "6","0","20","1","21","2","18","3","20","4","23","5","19", @@ -1227,7 +1227,7 @@ static char *test_case_26[] = { "Handover to best better cell\n\n" "The best neighbor cell is selected\n", - "create-bts", "7", + "create-bts-default", "7", "create-ms", "0", "TCH/F", "AMR", "meas-rep", "0", "10","0", "6","0","20","1","21","2","18","3","20","4","23","5","19", @@ -1247,7 +1247,7 @@ static char *test_case_27[] = { "the worst RX level is chosen. (So far like test 22.)\n" "After that, trigger more congestion checks to ensure stability.\n", - "create-bts", "1", + "create-bts-default", "1", "set-min-free", "0", "TCH/F", "2", "set-min-free", "0", "TCH/H", "4", "create-ms", "0", "TCH/H", "AMR", @@ -1283,7 +1283,7 @@ static char *test_case_28[] = { "level, the handover is performed. It is also required that 10\n" "resports are received, before RX quality is checked.\n", - "create-bts", "2", + "create-bts-default", "2", "create-ms", "0", "TCH/F", "AMR", "set-min-free", "1", "TCH/F", "4", "set-min-free", "1", "TCH/H", "4", @@ -1319,7 +1319,7 @@ static char *test_case_29[] = { "Congestion check: Balancing congestion by handover TCH/F -> TCH/H\n\n" "One BTS, and TCH/F are considered congested, TCH/H are not.\n" , - "create-bts", "1", + "create-bts-default", "1", "set-min-free", "0", "TCH/F", "3", "set-min-free", "0", "TCH/H", "0", "create-ms", "0", "TCH/F", "AMR", @@ -1520,7 +1520,7 @@ int main(int argc, char **argv) hodec2_init(bsc_gsmnet); while (*test_case) { - if (!strcmp(*test_case, "create-bts")) { + if (!strcmp(*test_case, "create-bts-default")) { int n = atoi(test_case[1]); fprintf(stderr, "- Creating %d BTS (one TRX each, " "TS(1-4) are TCH/F, TS(5-6) are TCH/H)\n", n); -- cgit v1.2.3