diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-05-30 14:12:48 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-12-01 03:37:43 +0100 |
commit | 3d2d487410377532030e328adeff1a224a884fb8 (patch) | |
tree | 98f2098ebe85cedd37c24f0b127f5469776aa4e6 /include/osmocom/bsc | |
parent | 6321015c6cd78a2e63f2c9246df98f43a734ee54 (diff) |
HO: Add a penalty timer list to the subscriber connection entity
This penalty timer is used to temporarily block cells where handover
or assignment failed or where handover is not allowed. This is usefull
to prevent repeated handover attempts to broken cells or cells that have
limited allowed distance.
Diffstat (limited to 'include/osmocom/bsc')
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 8ec08ecb0..8822b9b3e 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -97,6 +97,13 @@ struct neigh_meas_proc { uint8_t last_seen_nr; }; +/* penalty timers for handover */ +struct ho_penalty_timer { + struct llist_head entry; + uint8_t bts; + time_t timeout; +}; + /* the per subscriber data for lchan */ struct gsm_subscriber_connection { struct llist_head entry; @@ -130,6 +137,9 @@ struct gsm_subscriber_connection { /* for assignment handling */ struct osmo_timer_list T10; struct gsm_lchan *secondary_lchan; + + /* penalty timers for handover */ + struct llist_head ho_penalty_timers; }; |