[PATCH] Introduce EGPRS header type1 and type2 in UL

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-net-gprs@lists.osmocom.org/.

Aravind Sirsikar arvind.sirsikar at radisys.com
Wed Mar 16 13:49:17 UTC 2016


Defines new structures for UL EGPRS header type1 and type2 for
supporting MCS5-MCS9
---
 src/rlc.h |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/src/rlc.h b/src/rlc.h
index 54f28df..3f10f8c 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,
-- 
1.7.9.5





More information about the osmocom-net-gprs mailing list