aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_coding_scheme.h
diff options
context:
space:
mode:
authorAravind Sirsikar <Arvind.Sirsikar@radisys.com>2016-07-12 14:17:12 +0530
committerAravind Sirsikar <Arvind.Sirsikar@radisys.com>2016-07-12 14:17:12 +0530
commit914955209e37329b5a9bd38ea204a5f4b36d2663 (patch)
tree4d7b7a35206af076f1aa710acc0a40f62c46ef09 /src/gprs_coding_scheme.h
parent899d36d8131465743f55aa9aef6500e085eb8fb7 (diff)
Add data structure for ARQ-II in EGPRS DL
Modify the existing data structure to support ARQ-II for Retx in EGPRS DL. This will also hadle compilation issue related to renaming the variable. Change-Id: I734b1024bb32f2daa43af4adf59f4a17f2294afe
Diffstat (limited to 'src/gprs_coding_scheme.h')
-rw-r--r--src/gprs_coding_scheme.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gprs_coding_scheme.h b/src/gprs_coding_scheme.h
index aec37623..bb0bad44 100644
--- a/src/gprs_coding_scheme.h
+++ b/src/gprs_coding_scheme.h
@@ -26,6 +26,12 @@
class GprsCodingScheme {
public:
+
+#define MAX_NUM_ARQ 2 /* max. number of ARQ */
+#define MAX_NUM_MCS 9 /* max. number of MCS */
+#define EGPRS_ARQ1 0x0
+#define EGPRS_ARQ2 0x1
+
enum Scheme {
UNKNOWN,
CS1, CS2, CS3, CS4,
@@ -105,6 +111,8 @@ public:
static GprsCodingScheme getEgprsByNum(unsigned num);
static const char *modeName(Mode mode);
+ static enum Scheme egprs_mcs_retx_tbl[MAX_NUM_ARQ]
+ [MAX_NUM_MCS][MAX_NUM_MCS];
private:
GprsCodingScheme(int s); /* fail on use */
GprsCodingScheme& operator =(int s); /* fail on use */