aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-05-27 12:12:39 +0200
committerHarald Welte <laforge@gnumonks.org>2017-06-18 10:00:43 +0000
commitf4544573f84f2fbfd2f11b4c35274c304c05df4b (patch)
tree7854dd35978c7c47bee0f9e3d50dcb4a039cb46d /include/osmo-bts
parent186c6bac0758b6f94aa101e151664b0dea5d8975 (diff)
OML Add osmocom-specific way to deactivate radio link timeout
In some situations (e.g. when trying to do measurements/testing on the BTS receiver / uplink) it is useful to have a way to disable the radio link timeout and keep any channel open until deactivated, irrespective of whether (valid) data is received or not. This adds a related feature that can be activated by using an osmocom-specific value of 0xff for the TS 12.21 Connection Failure Criterion (9.4.14). Change-Id: I736f21f6528db5c16fa80cdb905af20673797be5
Diffstat (limited to 'include/osmo-bts')
-rw-r--r--include/osmo-bts/gsm_data.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index 772a7050..c513b279 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -94,7 +94,9 @@ struct gsm_bts_role_bts {
uint8_t tc4_ctr;
} si;
struct gsm_time gsm_time;
- uint8_t radio_link_timeout;
+ /* Radio Link Timeout counter. -1 disables timeout for
+ * lab/measurement purpose */
+ int radio_link_timeout;
int ul_power_target; /* Uplink Rx power target */