diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-02-12 16:47:40 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2018-02-19 15:51:18 +0000 |
commit | 35ba85c37d6fca81fc54dc4436d28030a8b70c3a (patch) | |
tree | c056b9cb09f05088d6e0fe7b760d7f3d36840a97 /src/libbsc/chan_alloc.c | |
parent | dd42eb9f90f62903f7d55a937225b2329cd9c84d (diff) |
HO: lchan: store last seen measurement report nr, tweak log
Handover decision 2 will also store the last seen mr nr for neighbor cell
measurements and hence can tell whether a neighbor's measurement is outdated.
Change-Id: Ic1148364597f91b5a55666c80c758b61fa56f582
Diffstat (limited to 'src/libbsc/chan_alloc.c')
-rw-r--r-- | src/libbsc/chan_alloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libbsc/chan_alloc.c b/src/libbsc/chan_alloc.c index 42a9e7393..21d509040 100644 --- a/src/libbsc/chan_alloc.c +++ b/src/libbsc/chan_alloc.c @@ -414,6 +414,7 @@ struct gsm_lchan *lchan_alloc(struct gsm_bts *bts, enum gsm_chan_t type, /* reset measurement report counter and index */ lchan->meas_rep_count = 0; lchan->meas_rep_idx = 0; + lchan->meas_rep_last_seen_nr = 255; /* clear sapis */ memset(lchan->sapis, 0, ARRAY_SIZE(lchan->sapis)); |