aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-01-23 16:36:40 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-01-23 16:36:40 +0100
commiteeaaadeb734c6d2cdd43627f5a545c82fae2316b (patch)
tree31c9ceeb58c39fbc7eddc130f77e07647fd2dca8
parent66a1acd2247cb3163f85fc956454d762bc46eda4 (diff)
cs RAB: tweak sDU_ErrorRatio
-rw-r--r--src/ranap_msg_factory.c2
-rw-r--r--src/tests/test-ranap.ok6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ranap_msg_factory.c b/src/ranap_msg_factory.c
index 36a39c2..89ffffb 100644
--- a/src/ranap_msg_factory.c
+++ b/src/ranap_msg_factory.c
@@ -487,7 +487,7 @@ static RANAP_SDU_ParameterItem_t *new_sdu_par_item(enum sdu_par_profile profile)
switch (profile) {
case SDUPAR_P_VOICE0:
- sdui->sDU_ErrorRatio = new_sdu_error_ratio(1, 5);
+ sdui->sDU_ErrorRatio = new_sdu_error_ratio(7, 3);
sdui->residualBitErrorRatio.mantissa = 1;
sdui->residualBitErrorRatio.exponent = 6;
sdui->deliveryOfErroneousSDU = RANAP_DeliveryOfErroneousSDU_yes;
diff --git a/src/tests/test-ranap.ok b/src/tests/test-ranap.ok
index fdff38f..0ab99b0 100644
--- a/src/tests/test-ranap.ok
+++ b/src/tests/test-ranap.ok
@@ -88,7 +88,7 @@ Decoded Cause Misc=115
<id>53</id>
<firstCriticality><reject/></firstCriticality>
<firstValue>
- 78 02 CD 80 10 2F A7 20 1A 2C 00 00 F4 4C 08 0A
+ 78 02 CD 80 10 2F A7 20 1A 2C 00 00 F4 4C 64 0A
02 80 00 51 40 00 27 20 28 14 00 67 40 00 00 22
28 14 00 3C 40 00 00 00 50 3D 02 00 02 0D C0 35
00 01 0A 0B 0C 0D 40 09 26 00 00
@@ -101,13 +101,13 @@ Decoded Cause Misc=115
<criticality><ignore/></criticality>
<value>
00 00 01 00 35 00 3B 78 02 CD 80 10 2F A7 20 1A
- 2C 00 00 F4 4C 08 0A 02 80 00 51 40 00 27 20 28
+ 2C 00 00 F4 4C 64 0A 02 80 00 51 40 00 27 20 28
14 00 67 40 00 00 22 28 14 00 3C 40 00 00 00 50
3D 02 00 02 0D C0 35 00 01 0A 0B 0C 0D 40 09 26
00 00 40 01 00
</value>
</RANAP_IE>
-00 00 00 4c 00 00 01 00 36 40 45 00 00 01 00 35 00 3b 78 02 cd 80 10 2f a7 20 1a 2c 00 00 f4 4c 08 0a 02 80 00 51 40 00 27 20 28 14 00 67 40 00 00 22 28 14 00 3c 40 00 00 00 50 3d 02 00 02 0d c0 35 00 01 0a 0b 0c 0d 40 09 26 00 00 40 01 00
+00 00 00 4c 00 00 01 00 36 40 45 00 00 01 00 35 00 3b 78 02 cd 80 10 2f a7 20 1a 2c 00 00 f4 4c 64 0a 02 80 00 51 40 00 27 20 28 14 00 67 40 00 00 22 28 14 00 3c 40 00 00 00 50 3d 02 00 02 0d c0 35 00 01 0a 0b 0c 0d 40 09 26 00 00 40 01 00
==> RAB ASSIGNMENT COMMAND (DATA)
<RANAP_ProtocolIE-FieldPair>