aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/gsm_data_shared.h
diff options
context:
space:
mode:
authorOmar Ramadan <oramadan@fb.com>2018-10-23 15:42:46 -0700
committerHarald Welte <laforge@gnumonks.org>2018-10-27 11:35:58 +0000
commit9c75c387c04175298d7fae3dd432d84bd622fccd (patch)
tree5275a426f7aa23564b82d4bb7f434aa46219734d /include/osmo-bts/gsm_data_shared.h
parentee9e8e9eb22257000765f4c6a5138fc0200e864f (diff)
Add OC-2G BTS sources
Diffstat (limited to 'include/osmo-bts/gsm_data_shared.h')
-rw-r--r--include/osmo-bts/gsm_data_shared.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/osmo-bts/gsm_data_shared.h b/include/osmo-bts/gsm_data_shared.h
index 794eaeae..61cf81f6 100644
--- a/include/osmo-bts/gsm_data_shared.h
+++ b/include/osmo-bts/gsm_data_shared.h
@@ -289,6 +289,8 @@ struct gsm_lchan {
/* indicates if DTXd was active during DL measurement
period */
bool dl_active;
+ /* last UL SPEECH resume flag */
+ bool is_speech_resume;
} dtx;
uint8_t last_cmr;
uint32_t last_fn;
@@ -411,6 +413,9 @@ struct gsm_bts_trx {
uint16_t arfcn;
int nominal_power; /* in dBm */
unsigned int max_power_red; /* in actual dB */
+ uint8_t max_power_backoff_8psk; /* in actual dB OC-2G only */
+ uint8_t c0_idle_power_red; /* in actual dB OC-2G only */
+
struct trx_power_params power_params;
int ms_power_control;
@@ -437,6 +442,7 @@ struct gsm_bts_trx {
enum gsm_bts_type_variant {
BTS_UNKNOWN,
BTS_OSMO_LITECELL15,
+ BTS_OSMO_OC2G,
BTS_OSMO_OCTPHY,
BTS_OSMO_SYSMO,
BTS_OSMO_TRX,
@@ -746,7 +752,14 @@ struct gsm_bts {
struct timeval tv_clock;
struct osmo_timer_list fn_timer;
} vbts;
-
+#ifdef ENABLE_OC2GBTS
+ /* specific to Open Cellular 2G BTS */
+ struct {
+ uint8_t led_ctrl_mode; /* 0: control by BTS, 1: not control by BTS */
+ struct llist_head ceased_alarm_list; /* ceased alarm list*/
+ unsigned int rtp_drift_thres_ms; /* RTP timestamp drift detection threshold */
+ } oc2g;
+#endif
};