aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-27 16:58:15 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2019-01-02 23:53:11 +0100
commit3969ef90961661577fa318b5b046231ee21eb6a1 (patch)
tree4acb0102ecfcdd69bc2b92a1d89fc56353c8bc33 /src
parent456964fc4153ec66a6f1d8db6b6d5653c76fc389 (diff)
RAB act CS: hardcode 6k7 max bitrateneels/6k7
Diffstat (limited to 'src')
-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 c287f02..a7b4eb3 100644
--- a/src/ranap_msg_factory.c
+++ b/src/ranap_msg_factory.c
@@ -766,7 +766,7 @@ struct msgb *ranap_new_msg_rab_assign_voice(uint8_t rab_id, uint32_t rtp_ip,
memset(&first, 0, sizeof(first));
assign_new_ra_id(&first.rAB_ID, rab_id);
first.nAS_SynchronisationIndicator = new_rab_nas_sync_ind(60);
- first.rAB_Parameters = new_rab_par_voice(6700, 12200);
+ first.rAB_Parameters = new_rab_par_voice(6700, 6700);
first.userPlaneInformation = new_upi(RANAP_UserPlaneMode_support_mode_for_predefined_SDU_sizes, 1); /* 2? */
first.transportLayerInformation = new_transp_info_rtp(rtp_ip, rtp_port,
use_x213_nsap);
diff --git a/src/tests/test-ranap.ok b/src/tests/test-ranap.ok
index 2a8de8f..0791b6e 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 1A 2B 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 27 C0 35
00 01 0A 0B 0C 0D 00 00 00 00 00 00 00 00 00 00
@@ -101,7 +101,7 @@ Decoded Cause Misc=115
<id>54</id>
<criticality><ignore/></criticality>
<value>
- 00 00 01 00 35 00 48 78 02 CD 80 10 2F A7 20 1A
+ 00 00 01 00 35 00 48 78 02 CD 80 10 1A 2B 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 27 C0 35 00 01 0A 0B 0C 0D 00 00 00
@@ -109,7 +109,7 @@ Decoded Cause Misc=115
01 00
</value>
</RANAP_IE>
-00 00 00 59 00 00 01 00 36 40 52 00 00 01 00 35 00 48 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 27 c0 35 00 01 0a 0b 0c 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 40 09 26 00 00 40 01 00
+00 00 00 59 00 00 01 00 36 40 52 00 00 01 00 35 00 48 78 02 cd 80 10 1a 2b 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 27 c0 35 00 01 0a 0b 0c 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 40 09 26 00 00 40 01 00
==> RAB ASSIGNMENT COMMAND (DATA)
<RANAP_ProtocolIE-FieldPair>