diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-05-30 14:12:48 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-01-22 01:57:50 +0000 |
commit | 084b421fba9284e9dbe80cf4ee514fafb92ca54f (patch) | |
tree | bccd6520e7eb9e7975f957611c3223c523c0c4d2 /include | |
parent | 83594847a8fa8dee4011000747906f10a09bf652 (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.
Change-Id: I95cb7e3211b2470b773965e7aa94d8eb6c8c1a3a
Diffstat (limited to 'include')
-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 4e07f2672..d9dd2d4b8 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -71,6 +71,13 @@ struct gsm_classmark { uint8_t classmark3[14]; /* if cm3 gets extended by spec, it will be truncated */ }; +/* penalty timers for handover */ +struct ho_penalty_timer { + struct llist_head entry; + uint8_t bts; + time_t timeout; +}; + /* active radio connection of a mobile subscriber */ struct gsm_subscriber_connection { /* global linked list of subscriber_connections */ @@ -104,6 +111,9 @@ struct gsm_subscriber_connection { /* Cache DTAP messages during handover/assignment (msgb_enqueue()/msgb_dequeue())*/ struct llist_head ho_dtap_cache; unsigned int ho_dtap_cache_len; + + /* penalty timers for handover */ + struct llist_head ho_penalty_timers; }; static inline struct gsm_bts *conn_get_bts(struct gsm_subscriber_connection *conn) { |