Project

General

Profile

Actions

Feature #6108

closed

Feature #5500: MS-Side GPRS RLC/MAC implementation

libosmo-gprs-rlcmac: Bug in CV calculation ending with last message as CV=1

Added by pespin 10 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
07/21/2023
Due date:
% Done:

100%

Resolution:
Spec Reference:

Description

I just spotted a case where the CV calculation ends up with CV=1 in the last message BSN=9, and hence osmo-pcu keeps asking for more packets (the last one) and "modem" app keeps resending the last BSN=9 one (which is CV=1, not 0).

So it seems the algo calculating the number of packets ahead based on llc queue has a bug not counting properly in that case. I'm attaching a pcap file with the scenario and the packets being sent.

It seems the algo estimates a number of packets needed higher than the one actually needed. May be related to the congestion resolution not requiring TLLI transmission anymore? we need to check if we are recalculating in that scenario.

the CS requested by Imm Ass is CS4 and we are using CS4 all the time. Maybe somehow the PCU updates the tx CS in the middle? it show up in the pcap file.


Files

cv_count_bug.pcapng.gz cv_count_bug.pcapng.gz 13.2 KB pespin, 07/21/2023 02:51 PM
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)