aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2021-07-08 04:20:59 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2021-07-11 21:14:51 +0200
commit5ac70756435213783c5f6896d17d1b55ba17286c (patch)
treef3a8c9e163ec1072a628bab0f3628e59aa4fc8f7 /tests
parentf764248b032d6a5c90286a9f2a32eca381d21fee (diff)
RES IND: pick lchan with least interference
In lchan_select, do not return on the first available lchan, but iterate through all available lchans. Among those that would match, pick the one with the lowest interference level as indicated by earlier RES IND. Lchans that have no interference ratings are picked last. This feature is off by default, enable per BTS with network bts N channel allocator avoid-interference 1 osmo-bsc still does the same ascending/descending lchan allocation as before this patch with the default setting of: channel allocator avoid-interference 0 Related: SYS#5313 Change-Id: I844494092193811dfd9fa4d52983cbaed0fc9248
Diffstat (limited to 'tests')
-rw-r--r--tests/handover/test_resource_indication.ho_vty27
1 files changed, 9 insertions, 18 deletions
diff --git a/tests/handover/test_resource_indication.ho_vty b/tests/handover/test_resource_indication.ho_vty
index 9dd9d3851..724372ee9 100644
--- a/tests/handover/test_resource_indication.ho_vty
+++ b/tests/handover/test_resource_indication.ho_vty
@@ -12,8 +12,7 @@ network
res-ind trx 0 0 levels - 1 2 3 4 3 2 -
create-ms bts 0 TCH/F AMR
-# FAIL: interference is ignored
-expect-ts-use trx 0 0 states * TCH/F - - - - - *
+expect-ts-use trx 0 0 states * - - - TCH/F - - *
# The ordering may also be configured reversed, still the lowest dBm value should win
network
@@ -23,26 +22,22 @@ network
res-ind trx 0 0 levels - 5 4 2 - 3 4 -
create-ms bts 0 TCH/F AMR
-# FAIL: interference is ignored
-expect-ts-use trx 0 0 states * TCH/F TCH/F - - - - *
+expect-ts-use trx 0 0 states * - - TCH/F TCH/F - - *
# Favor lchans that have an indicated interference level
res-ind trx 0 0 levels - - - - - 4 3 -
create-ms bts 0 TCH/F AMR
-# FAIL: interference is ignored
-expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F - - - *
+expect-ts-use trx 0 0 states * - - TCH/F TCH/F - TCH/F *
# For equal levels, pick the first
res-ind trx 0 0 levels - 2 2 - - 2 - -
create-ms bts 0 TCH/F AMR
-# FAIL: interference is ignored
-expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/F - - *
+expect-ts-use trx 0 0 states * TCH/F - TCH/F TCH/F - TCH/F *
# Test clamping of indexes > 5
res-ind trx 0 0 levels - - 6 - - 4 - -
create-ms bts 0 TCH/F AMR
-# FAIL: interference is ignored
-expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/F TCH/F - *
+expect-ts-use trx 0 0 states * TCH/F - TCH/F TCH/F TCH/F TCH/F *
# Also test for TCH/H
create-bts trx-count 1 timeslots c+s4 TCH/H TCH/H TCH/H TCH/H TCH/H TCH/H PDCH
@@ -54,23 +49,19 @@ network
res-ind trx 1 0 levels - 54 32 21 23 45 54 -
create-ms bts 1 TCH/H AMR
-# FAIL: interference is ignored
-expect-ts-use trx 1 0 states * TCH/H- - - - - - *
+expect-ts-use trx 1 0 states * - - TCH/-H - - - *
# Favor lchans that have an indicated interference level
res-ind trx 1 0 levels - - - 4- 3- - - -
create-ms bts 1 TCH/H AMR
-# FAIL: interference is ignored
-expect-ts-use trx 1 0 states * TCH/HH - - - - - *
+expect-ts-use trx 1 0 states * - - TCH/-H TCH/H- - - *
# For equal levels, pick the first
res-ind trx 1 0 levels - -2 22 2- -2 22 2- -
create-ms bts 1 TCH/H AMR
-# FAIL: interference is ignored
-expect-ts-use trx 1 0 states * TCH/HH TCH/H- - - - - *
+expect-ts-use trx 1 0 states * TCH/-H - TCH/-H TCH/H- - - *
# Test clamping of indexes > 5
res-ind trx 1 0 levels - 7- 67 6- -7 54 6- -
create-ms bts 1 TCH/H AMR
-# FAIL: interference is ignored
-expect-ts-use trx 1 0 states * TCH/HH TCH/HH - - - - *
+expect-ts-use trx 1 0 states * TCH/-H - TCH/-H TCH/H- TCH/-H - *