aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_coding_scheme.h
diff options
context:
space:
mode:
authorAravind Sirsikar <Arvind.Sirsikar@radisys.com>2016-08-22 17:21:10 +0530
committerarvind.sirsikar <arvind.sirsikar@radisys.com>2016-08-25 10:41:33 +0000
commit50b097003baac3903c9d52a609b091c76ca83e3c (patch)
treec52f0863d1847e1fb5391d46658f1cf3e40ea2c1 /src/gprs_coding_scheme.h
parente6cadb4e3ccd05673fd9d33f8a445dd54be6006b (diff)
Modify EGPRS DL TBF flow to support SPB
Modify the EGPRS DL TBF flow to support Split block during Retx. This patch will also Upgrade the test suite with test cases to validate the EGPRS Downlink SPB for Retransmission 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. Change-Id: I242afdd8ae7622dec8593b26382ad66bad5b9516
Diffstat (limited to 'src/gprs_coding_scheme.h')
-rw-r--r--src/gprs_coding_scheme.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gprs_coding_scheme.h b/src/gprs_coding_scheme.h
index 60a8e79a..3b153724 100644
--- a/src/gprs_coding_scheme.h
+++ b/src/gprs_coding_scheme.h
@@ -113,7 +113,8 @@ public:
static const char *modeName(Mode mode);
static Scheme get_retx_mcs(const GprsCodingScheme mcs,
- const GprsCodingScheme retx_mcs);
+ const GprsCodingScheme retx_mcs,
+ const unsigned arq_type);
static enum Scheme egprs_mcs_retx_tbl[MAX_NUM_ARQ]
[MAX_NUM_MCS][MAX_NUM_MCS];
@@ -232,8 +233,9 @@ inline bool operator >=(GprsCodingScheme a, GprsCodingScheme b)
}
inline GprsCodingScheme::Scheme GprsCodingScheme::get_retx_mcs(
const GprsCodingScheme mcs,
- const GprsCodingScheme demanded_mcs)
+ const GprsCodingScheme demanded_mcs,
+ const unsigned arq_type)
{
- return egprs_mcs_retx_tbl[EGPRS_ARQ2][mcs.to_num() - 1]
+ return egprs_mcs_retx_tbl[arq_type][mcs.to_num() - 1]
[demanded_mcs.to_num() - 1];
}