Add debugging log for RLC data block decoding
Added debugging log for RLC UL Data Block decoding for both GPRS/EGPRS cases. Change-Id: I8c197bdc4cd1330cbab0adfd188336d27682cec4
This commit is contained in:
parent
34bfbdaf9e
commit
0e63644d14
|
@ -76,6 +76,9 @@ static int parse_extensions_egprs(const uint8_t *data, unsigned int data_len,
|
|||
} else if (li->li == 127 && li->e == 1) {
|
||||
/* TS 44.060, table 10.4.14a.1, row 3 & 5 */
|
||||
/* only filling bytes left */
|
||||
LOGP(DRLCMACUL, LOGL_DEBUG, "UL DATA LI contains "
|
||||
"only filling bytes with extention octet: LI=%d, E=%d, count=%d\n",
|
||||
li->li, li->e, num_chunks);
|
||||
break;
|
||||
} else if (li->li > 0) {
|
||||
/* TS 44.060, table 10.4.14a.1, row 1 & 2b */
|
||||
|
@ -88,6 +91,9 @@ static int parse_extensions_egprs(const uint8_t *data, unsigned int data_len,
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
LOGP(DRLCMACUL, LOGL_DEBUG, "UL DATA LI contains "
|
||||
"extention octet: LI=%d, E=%d, count=%d\n",
|
||||
li->li, li->e, num_chunks);
|
||||
num_chunks += 1;
|
||||
|
||||
if (e == 1) {
|
||||
|
@ -161,6 +167,9 @@ static int parse_extensions_gprs(const uint8_t *data, unsigned int data_len,
|
|||
|
||||
chunks[num_chunks].is_complete = li->li || is_last_block;
|
||||
|
||||
LOGP(DRLCMACUL, LOGL_DEBUG, "UL DATA LI contains "
|
||||
"extention octet: LI=%d, M=%d, E=%d, count=%d\n",
|
||||
li->li, li->m, li->e, num_chunks);
|
||||
num_chunks += 1;
|
||||
|
||||
if (e == 1 && m == 1) {
|
||||
|
|
|
@ -6460,6 +6460,7 @@ TBF(TFI=0 TLLI=0xf1223344 DIR=UL STATE=FLOW EGPRS): data_length=44, data=01 00 0
|
|||
- Raising V(R) to 2
|
||||
- Taking block 1 out, raising V(Q) to 2
|
||||
- Assembling frames: (len=44)
|
||||
UL DATA LI contains extention octet: LI=0, E=1, count=0
|
||||
TBF(TFI=0 TLLI=0xf1223344 DIR=UL STATE=FLOW EGPRS) complete UL frame len=44
|
||||
LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xf1223344 DIR=UL STATE=FLOW EGPRS) len=44
|
||||
No bctx
|
||||
|
|
Loading…
Reference in New Issue