[PATCH] osmo-ttcn3-hacks[master]: MNCC_Types: Define '0' in various enums for unused value

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Jan 22 02:01:48 UTC 2018


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

MNCC_Types: Define '0' in various enums for unused value

it seems the decoder is using '0' in positions where we have
not defined any enum value for '0'.  Work around that.

Change-Id: I6bf0540f7ddd4dbe3b6c6ac06421a933126a7e17
---
M library/MNCC_Types.ttcn
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/70/5970/1

diff --git a/library/MNCC_Types.ttcn b/library/MNCC_Types.ttcn
index 7bd47ee..f1d9e37 100644
--- a/library/MNCC_Types.ttcn
+++ b/library/MNCC_Types.ttcn
@@ -16,6 +16,7 @@
 
 /* GSM 04.08 Bearer Capability: Signalling access protocol */
 type enumerated GSM48_bcap_sig_access {
+	GSM48_BCAP_SA_NONE		(0),
 	GSM48_BCAP_SA_I440_I450 	(1),
 	GSM48_BCAP_SA_X21		(2),
 	GSM48_BCAP_SA_X28_DP_IN		(3),
@@ -26,6 +27,7 @@
 
 /* GSM 04.08 Bearer Capability: User Rate */
 type enumerated GSM48_bcap_user_rate {
+	GSM48_BCAP_UR_NONE		(0),
 	GSM48_BCAP_UR_300		(1),
 	GSM48_BCAP_UR_1200		(2),
 	GSM48_BCAP_UR_2400		(3),
@@ -46,6 +48,7 @@
 
 /* GSM 04.08 Bearer Capability: Intermediate Rate */
 type enumerated GSM48_bcap_interm_rate {
+	GSM48_BCAP_IR_NONE		(0),
 	GSM48_BCAP_IR_8k		(2),
 	GSM48_BCAP_IR_16k		(3)
 };

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6bf0540f7ddd4dbe3b6c6ac06421a933126a7e17
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list