Review at  https://gerrit.osmocom.org/6993

gsm_data: update feature list

The feature list of the BTS features has been extended with voice
codec capabilities but osmo-bsc does not yet know the meaning of
those bits.

- update feature list

Change-Id: I3e80517539cc5d0e5d8189d434a5e3cc0fdea1a0
---
M include/osmocom/bsc/gsm_data.h
M src/libbsc/gsm_data.c
2 files changed, 12 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/93/6993/1

diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index 3c65c9c..18ba3ee 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -614,7 +614,8 @@
 };
 
 /* 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.c are also updated accordingly! */
 enum gsm_bts_features {
        BTS_FEAT_HSCSD,
        BTS_FEAT_GPRS,
@@ -625,6 +626,11 @@
        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/libbsc/gsm_data.c b/src/libbsc/gsm_data.c
index e1d422e..3cb98bb 100644
--- a/src/libbsc/gsm_data.c
+++ b/src/libbsc/gsm_data.c
@@ -513,6 +513,11 @@
        { 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 }
 };
 

-- 
To view, visit https://gerrit.osmocom.org/6993
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3e80517539cc5d0e5d8189d434a5e3cc0fdea1a0
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: dexter <[email protected]>

Reply via email to