aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAravind Sirsikar <arvind.sirsikar@radisys.com>2016-03-16 19:19:17 +0530
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-03-16 15:02:54 +0100
commit5a5d2b7a27e64deef8b7b48842204414c611942b (patch)
treead5ccd5eea4279278ea0291f445c46e587ec7e67
parent2b09c39c9cb6d8a9761539d00e21b21352272905 (diff)
Introduce EGPRS header type1 and type2 in UL
Defines new structures for UL EGPRS header type1 and type2 for supporting MCS5-MCS9
-rw-r--r--src/rlc.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/rlc.h b/src/rlc.h
index 54f28dfd..3f10f8c2 100644
--- a/src/rlc.h
+++ b/src/rlc.h
@@ -288,6 +288,44 @@ struct rlc_li_field_egprs {
li:7;
} __attribute__ ((packed));
+/* TS 44.060 10.3a.4.1.1 */
+struct gprs_rlc_ul_header_egprs_1 {
+ uint8_t r:1,
+ si:1,
+ cv:4,
+ tfi_a:2;
+ uint8_t tfi_b:3,
+ bsn1_a:5;
+ uint8_t bsn1_b:6,
+ bsn2_a:2;
+ uint8_t bsn2_b;
+ uint8_t cps:5,
+ rsb:1,
+ pi:1,
+ spare_a:1;
+ uint8_t spare_b:6,
+ dummy:2;
+} __attribute__ ((packed));
+
+/* TS 44.060 10.3a.4.2.1 */
+struct gprs_rlc_ul_header_egprs_2 {
+ uint8_t r:1,
+ si:1,
+ cv:4,
+ tfi_a:2;
+ uint8_t tfi_b:3,
+ bsn1_a:5;
+ uint8_t bsn1_b:6,
+ cps_a:2;
+ uint8_t cps_b:1,
+ rsb:1,
+ pi:1,
+ spare_a:5;
+ uint8_t spare_b:5,
+ dummy:3;
+} __attribute__ ((packed));
+
+/* TS 44.060 10.3a.4.3.1 */
struct gprs_rlc_ul_header_egprs_3 {
uint8_t r:1,
si:1,