diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-06-18 11:12:13 +0300 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-06-18 12:56:00 +0300 |
commit | 2f8b9d25f8428980e35ed8f8b2dc44324bc4566a (patch) | |
tree | 3c817ad2ce141ca6fa8437d34dfa1f4d5c3e3418 /openbsc/include/openbsc/gsm_data.h | |
parent | 8b1a2f8cd7a81c6b8c7cdb0963dcf89de7c46100 (diff) |
Add vty command "radio-link-timeout infinite" for uplink rx testing
When we are performing Rx sensitivity testing on a BTS, we want to
deactivate the connection failure criterion / radio link timeout, i.e.
no matter how many SACCH frames in uplink are failed to decode, the BTS
should never close the channel.
OsmoBTS Change-Id I736f21f6528db5c16fa80cdb905af20673797be5 covers a way
how this behavior can be requested from the BTS via an OML attribute.
This patch adds support to the BSC to actually set that attribute.
Do not use this in production networks, as the BTS will keep open radio
channels indefinitely even if the phone is gone and no longer
transmitting anything. This is a pure testing feature.
Change-Id: I6cb94e0f024934f7baeeb728ca9ed3042fbf16d2
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 5ab7c3fbd..a97405105 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -590,4 +590,7 @@ void bts_depend_clear(struct gsm_bts *bts, int dep); int bts_depend_check(struct gsm_bts *bts); int bts_depend_is_depedency(struct gsm_bts *base, struct gsm_bts *other); +int gsm_bts_get_radio_link_timeout(const struct gsm_bts *bts); +void gsm_bts_set_radio_link_timeout(struct gsm_bts *bts, int value); + #endif /* _GSM_DATA_H */ |