diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-02-12 16:45:39 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-02-16 16:11:16 +0100 |
commit | cbdfb78f7bf156f9df020d3a5096f591752cd981 (patch) | |
tree | 692014d54b4b57bbc0f544a09a863cd9200bd1c5 /include/osmocom/bsc/gsm_data.h | |
parent | cbc999cb93ce5cf5fcc4e169ef3db7f1ef074c5d (diff) |
HO: move penalty timers to own file as proper API
Separate penalty timers API from specific struct members and move to own .h/.c
file, so that future code may re-use the API arbitrarily.
Change-Id: Ife975a1c7c17a500b1693be620475a8bea72f86f
Diffstat (limited to 'include/osmocom/bsc/gsm_data.h')
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 3da4fff6f..b8f8f81f8 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -79,13 +79,6 @@ 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 */ @@ -117,8 +110,7 @@ struct gsm_subscriber_connection { struct llist_head ho_dtap_cache; unsigned int ho_dtap_cache_len; - /* penalty timers for handover */ - struct llist_head ho_penalty_timers; + struct penalty_timers *ho_penalty_timers; }; |