diff options
-rw-r--r-- | include/osmo-bts/gsm_data_shared.h | 8 | ||||
-rw-r--r-- | src/common/gsm_data_shared.c | 5 |
2 files changed, 12 insertions, 1 deletions
diff --git a/include/osmo-bts/gsm_data_shared.h b/include/osmo-bts/gsm_data_shared.h index 6c1383fc..1571929e 100644 --- a/include/osmo-bts/gsm_data_shared.h +++ b/include/osmo-bts/gsm_data_shared.h @@ -525,7 +525,8 @@ struct gsm_bts_model { }; /* N. B: always add new features to the end of the list (right before _NUM_BTS_FEAT) to avoid breaking compatibility - with BTS compiled against earlier version of this header */ + with BTS compiled against earlier version of this header. Also make sure that the description strings + gsm_bts_features_descs[] in gsm_data_shared.c are also updated accordingly! */ enum gsm_bts_features { BTS_FEAT_HSCSD, BTS_FEAT_GPRS, @@ -536,6 +537,11 @@ enum gsm_bts_features { BTS_FEAT_OML_ALERTS, BTS_FEAT_AGCH_PCH_PROP, BTS_FEAT_CBCH, + BTS_FEAT_SPEECH_F_V1, + BTS_FEAT_SPEECH_H_V1, + BTS_FEAT_SPEECH_F_EFR, + BTS_FEAT_SPEECH_F_AMR, + BTS_FEAT_SPEECH_H_AMR, _NUM_BTS_FEAT }; diff --git a/src/common/gsm_data_shared.c b/src/common/gsm_data_shared.c index 1ef223ca..e5a5ee64 100644 --- a/src/common/gsm_data_shared.c +++ b/src/common/gsm_data_shared.c @@ -117,6 +117,11 @@ const struct value_string gsm_bts_features_descs[] = { { BTS_FEAT_OML_ALERTS, "OML Alerts" }, { BTS_FEAT_AGCH_PCH_PROP, "AGCH/PCH proportional allocation" }, { BTS_FEAT_CBCH, "CBCH" }, + { BTS_FEAT_SPEECH_F_V1, "Fullrate speech V1" }, + { BTS_FEAT_SPEECH_H_V1, "Halfrate speech V1" }, + { BTS_FEAT_SPEECH_F_EFR, "Fullrate speech EFR" }, + { BTS_FEAT_SPEECH_F_AMR, "Fullrate speech AMR" }, + { BTS_FEAT_SPEECH_H_AMR, "Halfrate speech AMR" }, { 0, NULL } }; |