diff options
author | Harald Welte <laforge@netfilter.org> | 2009-12-19 21:29:19 +0100 |
---|---|---|
committer | Harald Welte <laforge@netfilter.org> | 2009-12-19 21:29:19 +0100 |
commit | e786c32bc935bb7767335758e92c886322c8aeb5 (patch) | |
tree | 7693f7fb497d6f3473c8516b4698ba3fca2f4333 | |
parent | 50e7fec9b892c32655ce74431e45437669bffac6 (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.c | 3 |
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++) { |