diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-06-01 16:46:39 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-12-01 03:37:43 +0100 |
commit | c22a07b5e96faee62b3ebcc203ec6495cb029f78 (patch) | |
tree | 5409fbfc30c9f172c7f714a55eff1c80d527dab2 /include/osmocom | |
parent | 49c3d4f6d44451c63fb9f96271ced1b4189cab6c (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.
Diffstat (limited to 'include/osmocom')
-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 2d8562092..f57fae545 100644 --- a/include/osmocom/bsc/gsm_data_shared.h +++ b/include/osmocom/bsc/gsm_data_shared.h @@ -248,6 +248,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_cnt; /* GSM Random Access data */ struct gsm48_req_ref *rqd_ref; |