diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-02-21 13:55:36 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-02-22 07:58:26 +0000 |
commit | bfe9af4ae1c1d72a5a94546093913083a0eaeda8 (patch) | |
tree | 2411bcdb308c633df0be685aae378024924f6fad /src/osmo-bts-virtual/main.c | |
parent | e0bfd675d1356a349df9674f78723ff33ed6b634 (diff) |
octphy: ensure all BTS models set features
Most of the BTS models do not or do register not all of thier
features to the the feature list.
- Update/extend the feature lists for all BTS-Models
Change-Id: I26765a64153368016921c2ac115b1c4aec9bc5e4
Diffstat (limited to 'src/osmo-bts-virtual/main.c')
-rw-r--r-- | src/osmo-bts-virtual/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/osmo-bts-virtual/main.c b/src/osmo-bts-virtual/main.c index 8459107a..7815a343 100644 --- a/src/osmo-bts-virtual/main.c +++ b/src/osmo-bts-virtual/main.c @@ -61,6 +61,13 @@ int bts_model_init(struct gsm_bts *bts) btsb = bts_role_bts(bts); btsb->support.ciphers = CIPHER_A5(1) | CIPHER_A5(2) | CIPHER_A5(3); + gsm_bts_set_feature(bts, BTS_FEAT_OML_ALERTS); + gsm_bts_set_feature(bts, BTS_FEAT_SPEECH_F_V1); + gsm_bts_set_feature(bts, BTS_FEAT_SPEECH_H_V1); + gsm_bts_set_feature(bts, BTS_FEAT_SPEECH_F_EFR); + gsm_bts_set_feature(bts, BTS_FEAT_SPEECH_F_AMR); + gsm_bts_set_feature(bts, BTS_FEAT_SPEECH_H_AMR); + bts_model_vty_init(bts); return 0; |