diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-06-23 14:16:08 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-07-07 09:48:26 +0200 |
commit | 0309f4a5ff0df32da5e7ac73478580a172c48230 (patch) | |
tree | 99d44cfde464d1d58a2e02a68e77c2dab6c0abb6 /include/osmocom/bsc/bts.h | |
parent | 52b9912ef95838c0b60fc171984d3157a56fe488 (diff) |
Introduce ANR support
See doc/manuals/chapters/anr.adoc introduced in this commit for a full
description.
Related: SYS#5303
Change-Id: I21beb4e5c101157cd0977fd9a607c2fe5350befe
Diffstat (limited to 'include/osmocom/bsc/bts.h')
-rw-r--r-- | include/osmocom/bsc/bts.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/osmocom/bsc/bts.h b/include/osmocom/bsc/bts.h index 2e88129dd..314719797 100644 --- a/include/osmocom/bsc/bts.h +++ b/include/osmocom/bsc/bts.h @@ -556,6 +556,8 @@ struct gsm_bts { /* Is Fast return to LTE allowed during Chan Release in this BTS? */ bool srvcc_fast_return_allowed; + + bool anr_enabled; /* Is ANR enabled for this BTS (VTY)? */ }; #define GSM_BTS_SI2Q(bts, i) (struct gsm48_system_information_type_2quater *)((bts)->si_buf[SYSINFO_TYPE_2quater][i]) @@ -670,6 +672,9 @@ int bts_gprs_mode_is_compat(struct gsm_bts *bts, enum bts_gprs_mode mode); #define BTS_STORE_UPTIME_INTERVAL 10 /* in seconds */ void bts_store_uptime(struct gsm_bts *bts); +int bts_anr_request(struct gsm_bts *bts, const struct gsm48_cell_desc *cell_desc_li, unsigned int num_cells); +void bts_anr_expiration(struct gsm_bts *bts, const struct timespec *expire_ts); + unsigned long long bts_uptime(const struct gsm_bts *bts); char *get_model_oml_status(const struct gsm_bts *bts); |