diff options
Diffstat (limited to 'include/osmo-bts/gsm_data_shared.h')
-rw-r--r-- | include/osmo-bts/gsm_data_shared.h | 15 |
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 }; |