aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-09-06 22:14:43 +0200
committerHarald Welte <laforge@gnumonks.org>2011-09-06 22:14:43 +0200
commitf3b5932ecf80e50e634fe0719f09304c329bd032 (patch)
tree730249a8fa555c4f37db26b0aba6ff68287580c9 /openbsc
parent7c78c479aca4475761570db24abd202cfcfcdc9d (diff)
add AMR mode member of gsm_lchan for osmo-bts
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/include/openbsc/gsm_data_shared.h14
1 files changed, 14 insertions, 0 deletions
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
};