aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-12-19 21:29:19 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-19 21:29:19 +0100
commite786c32bc935bb7767335758e92c886322c8aeb5 (patch)
tree7693f7fb497d6f3473c8516b4698ba3fca2f4333
parent50e7fec9b892c32655ce74431e45437669bffac6 (diff)
[handover] don't use measurement reports with NCELL=7
NCELL=7 inidicates that there was no neighbor cell info in the SI5 on the SACCH.
-rw-r--r--openbsc/src/handover_decision.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/handover_decision.c b/openbsc/src/handover_decision.c
index c0ec0a931..3605a8e0a 100644
--- a/openbsc/src/handover_decision.c
+++ b/openbsc/src/handover_decision.c
@@ -71,6 +71,9 @@ static int process_meas_rep(struct gsm_meas_rep *mr)
/* FIXME: implement actual averaging over multiple measurement
* reports */
+ if (mr->num_cell > 6)
+ return 0;
+
/* find the best cell in this report that is at least RXLEV_HYST
* better than the current serving cell */
for (i = 0; i < mr->num_cell; i++) {