diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-06-01 16:46:39 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-01-19 16:03:16 +0100 |
commit | 970b43486f6c85ce1da11ba8f10b18323b1e023b (patch) | |
tree | 31cdb772460fd3889ba924b7ab46f473f94e1942 /include | |
parent | 4d3baa6bdf85999dad28659461e8f9911cdd48ab (diff) |
HO: Count the actual meas.rep. get_meas_rep_avg fails if not reached
get_meas_rep_avg will return -EINVAL, if the required number of
measurements are not reached. There will be no handover possible until the
given number of measurements are available.
Change-Id: Ibc4410b4e162cdb6c070128d2c63946bb79d6d65
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/bsc/gsm_data_shared.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/bsc/gsm_data_shared.h b/include/osmocom/bsc/gsm_data_shared.h index fd566d2dd..fed3494da 100644 --- a/include/osmocom/bsc/gsm_data_shared.h +++ b/include/osmocom/bsc/gsm_data_shared.h @@ -268,6 +268,7 @@ struct gsm_lchan { /* cache of last measurement reports on this lchan */ struct gsm_meas_rep meas_rep[6]; int meas_rep_idx; + int meas_rep_count; /* GSM Random Access data */ struct gsm48_req_ref *rqd_ref; |