From f3b5932ecf80e50e634fe0719f09304c329bd032 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 6 Sep 2011 22:14:43 +0200 Subject: add AMR mode member of gsm_lchan for osmo-bts --- openbsc/include/openbsc/gsm_data_shared.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h index 63978e6b4..5e5e38987 100644 --- a/openbsc/include/openbsc/gsm_data_shared.h +++ b/openbsc/include/openbsc/gsm_data_shared.h @@ -135,6 +135,17 @@ struct bts_ul_meas { /* RSSI in dBm * -1 */ uint8_t inv_rssi; }; + +struct amr_mode { + uint8_t mode; + uint8_t threshold; + uint8_t hysteresis; +}; +struct amr_multirate_conf { + uint8_t gsm48_ie[2]; + struct amr_mode mode[4]; + uint8_t num_modes; +}; /* /BTS ONLY */ struct gsm_lchan { @@ -231,6 +242,9 @@ struct gsm_lchan { uint8_t rxqual_sub; } res; } meas; + struct { + struct amr_multirate_conf amr_mr; + } tch; #endif }; -- cgit v1.2.3