From 3969ef90961661577fa318b5b046231ee21eb6a1 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 27 Dec 2018 16:58:15 +0100 Subject: RAB act CS: hardcode 6k7 max bitrate Change-Id: I0d4fd6cbf67348033b9cafcc24e72e6ea0cd4d68 --- src/ranap_msg_factory.c | 2 +- src/tests/test-ranap.ok | 6 +++--- 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 53 - 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 54 - 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 -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) -- cgit v1.2.3