aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-12-07 18:32:28 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-01-14 17:37:02 +0100
commita83d511b618c1e18b324e04db433a2fd111b2d6f (patch)
tree4870eaf8238a807b595756842b0c3bf9e2648c38 /openbsc/include
parent7d8fa3418ff6c589eba10e562da8b96995e19f7a (diff)
Each BTS can be configured for speech support (other than GSM full rate)
Speech codings which are not supported by BTS will be removed from the bearer capability information element after parsing. This way it is not required for the MNCC application to consider support of each BTS. Only GSM full rate is supported by default.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_data_shared.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index b49a539a9..3bf05e4b3 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -144,6 +144,12 @@ struct bts_ul_meas {
uint8_t inv_rssi;
};
+struct bts_codec_conf {
+ uint8_t hr;
+ uint8_t efr;
+ uint8_t amr;
+};
+
struct amr_mode {
uint8_t mode;
uint8_t threshold;
@@ -707,6 +713,9 @@ struct gsm_bts {
/* exclude the BTS from the global RF Lock handling */
int excl_from_rf_lock;
+
+ /* supported codecs beside FR */
+ struct bts_codec_conf codec;
#endif /* ROLE_BSC */
void *role;
};