diff options
author | Aravind Sirsikar <Arvind.Sirsikar@radisys.com> | 2016-07-26 18:26:21 +0530 |
---|---|---|
committer | Holger Freyther <holger@freyther.de> | 2016-08-02 06:58:58 +0000 |
commit | 505a86d396d4ee6e821e8337056e85362a55848f (patch) | |
tree | 8b36c01fc40bd0021bbc4c96ba7327589a84cf68 /src/encoding.cpp | |
parent | 36bdc5f7a425426675f7be33fa405501fb45d95a (diff) |
Add support for SPB handling for EGPRS UL TBF
This patch will modify the EGPRS UL TBF flow to support Split block
handling. This patch also contains test suite modification for SPB UL.
Scenarios like MCS6->MCS3, MCS4->MCS1, MCS5->MCS2, MCS9->MCS3
MCS7->MCS2, MCS8->MCS3 have been simulated and Integration tested
in NuRAN 1.0 hardware thoroughly. The scope of Unit testing is limited.
Change-Id: I39ca53218b6e0982abc2ab9c703c24c8bf0a09c0
Diffstat (limited to 'src/encoding.cpp')
-rw-r--r-- | src/encoding.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/encoding.cpp b/src/encoding.cpp index a778ef0b..63049ac3 100644 --- a/src/encoding.cpp +++ b/src/encoding.cpp @@ -283,7 +283,8 @@ void Encoding::write_packet_uplink_assignment( bitvec_write_field(dest, wp,0x0,1); // No CONTENTION_RESOLUTION_TLLI bitvec_write_field(dest, wp,0x0,1); // No COMPACT reduced MA bitvec_write_field(dest, wp,tbf->current_cs().to_num()-1, 4); // EGPRS Modulation and Coding IE - bitvec_write_field(dest, wp,0x0,1); // No RESEGMENT + /* 0: no RESEGMENT, 1: Segmentation*/ + bitvec_write_field(dest, wp, 0x1, 1); bitvec_write_field(dest, wp,ws_enc,5); // EGPRS Window Size bitvec_write_field(dest, wp,0x0,1); // No Access Technologies Request bitvec_write_field(dest, wp,0x0,1); // No ARAC RETRANSMISSION REQUEST @@ -620,7 +621,8 @@ static void write_packet_uplink_ack_egprs( /* CHANNEL_CODING_COMMAND */ bitvec_write_field(dest, wp, tbf->current_cs().to_num() - 1, 4); - bitvec_write_field(dest, wp, 0, 1); // 0: no RESEGMENT (nyi) + /* 0: no RESEGMENT, 1: Segmentation*/ + bitvec_write_field(dest, wp, 1, 1); bitvec_write_field(dest, wp, 1, 1); // PRE_EMPTIVE_TRANSMISSION, TODO: This resembles GPRS, change it? bitvec_write_field(dest, wp, 0, 1); // 0: no PRR_RETRANSMISSION_REQUEST, TODO: clarify bitvec_write_field(dest, wp, 0, 1); // 0: no ARAC_RETRANSMISSION_REQUEST, TODO: clarify |