diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-07-07 08:13:22 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-12-01 03:37:44 +0100 |
commit | 24a75bd5d7f61ddb936cade562007f2922c02357 (patch) | |
tree | b8ce534a8eec6769b93eda8168fe6511f79945aa /include/osmocom | |
parent | 43c96acb64f6fbae71d12b9f17d6bd13ca9451ec (diff) |
HO: Move handover VTY commands, prepare for other HO algorithms
A special VTY command "handover algorithm x" is used to set the algorithm.
A union of all handover option is provided, but depending on the selected
algorithm, only the specific options are accepted, others are rejected. At
VTY write, only the specific options are written to the config file.
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 3 | ||||
-rw-r--r-- | include/osmocom/bsc/handover_decision.h | 7 | ||||
-rw-r--r-- | include/osmocom/bsc/vty.h | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 17ca5df57..94bdfa1be 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -281,7 +281,8 @@ struct gsm_network { /* control interface */ struct ctrl_handle *ctrl; - /* congestion check timer */ + /* global handover settings */ + int ho_algorithm; int ho_congest_timeout; struct osmo_timer_list ho_congest_timer; }; diff --git a/include/osmocom/bsc/handover_decision.h b/include/osmocom/bsc/handover_decision.h index 81078b05d..2ea17f1be 100644 --- a/include/osmocom/bsc/handover_decision.h +++ b/include/osmocom/bsc/handover_decision.h @@ -1,7 +1,12 @@ #ifndef _HANDOVER_DECISION_H #define _HANDOVER_DECISION_H -void on_dso_load_ho_dec(void); +void bts_dump_vty_handover(struct vty *vty, struct gsm_bts *bts); +void config_write_bts_handover(struct vty *vty, struct gsm_bts *bts); +void config_write_net_handover(struct vty *vty); +void bsc_vty_init_handover(void); + +void init_ho_1(void); #endif /* _HANDOVER_DECISION_H */ diff --git a/include/osmocom/bsc/vty.h b/include/osmocom/bsc/vty.h index 183fc2510..aa7060714 100644 --- a/include/osmocom/bsc/vty.h +++ b/include/osmocom/bsc/vty.h @@ -8,6 +8,8 @@ struct gsm_network; struct vty; +struct gsm_network *gsmnet_from_vty(struct vty *v); + void openbsc_vty_print_statistics(struct vty *vty, struct gsm_network *); struct buffer *vty_argv_to_buffer(int argc, const char *argv[], int base); |