aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2021-05-26 20:47:34 +0200
committerlaforge <laforge@osmocom.org>2021-06-05 14:35:16 +0000
commitbe161380a3dd01624b68b8ebf8e7c503c0ec3ccd (patch)
tree1ea105ec1362ca138707b7f3ec54b58b06309ab0 /tests
parentcdaf3ec006d5cf580da758370350f97f3505c5b6 (diff)
handover: apply meas report BS Power to RXLEV, fix ho oscillation
This fixes handover oscillation in the presence of power reduction on the downlink: apply the reduced power to the cell's RXLEV in order to not rate the current cell as weaker than it actually is. Related: SYS#5339 Change-Id: Ifcf59964b5e2d550d79e4ba14d90962808f79dae
Diffstat (limited to 'tests')
-rw-r--r--tests/handover/test_bs_power.ho_vty11
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/handover/test_bs_power.ho_vty b/tests/handover/test_bs_power.ho_vty
index 2c68d57a6..5d8c27846 100644
--- a/tests/handover/test_bs_power.ho_vty
+++ b/tests/handover/test_bs_power.ho_vty
@@ -6,11 +6,6 @@ create-bts trx-count 1 timeslots c+s4 TCH/F TCH/F TCH/F TCH/F TCH/F TCH/F PDCH
set-ts-use trx 0 0 states * TCH/F - - - - - *
meas-rep repeat 10 bspower 20 lchan 0 0 1 0 rxlev 20 rxqual 0 ta 0 neighbors 30
-# FAIL: there should be no handover, because the bspower reduction of 20 with an rxlev of 20 (= 40) is stronger than the
-# neighbor at 30. But since osmo-bsc fails to take the BS Power into account, it hands over to the neighbor.
-#expect-no-chan
-expect-ho from lchan 0 0 1 0 to lchan 1 0 1 0
-
-# When the neighbor then reports the stronger original cell, we get handover oscillation
-meas-rep repeat 10 bspower 0 lchan 1 0 1 0 rxlev 30 rxqual 0 ta 0 neighbors 40
-expect-ho from lchan 1 0 1 0 to lchan 0 0 1 0
+# there should be no handover, because the bspower reduction of 20 with an rxlev of 20 (= 40) is stronger than the
+# neighbor at 30.
+expect-no-chan