Introduce EGPRS header type1 and type2 in UL

Defines new structures for UL EGPRS header type1 and type2 for
supporting MCS5-MCS9
This commit is contained in:
Aravind Sirsikar 2016-03-16 19:19:17 +05:30 committed by Holger Hans Peter Freyther
parent 2b09c39c9c
commit 5a5d2b7a27
1 changed files with 38 additions and 0 deletions

View File

@ -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,