Project

General

Profile

Actions

Bug #4731

open

LAPDm does not implement SAPI priorities between data link layers

Added by laforge over 3 years ago. Updated over 3 years ago.

Status:
Stalled
Priority:
Normal
Assignee:
Category:
libosmogsm
Target version:
-
Start date:
08/26/2020
Due date:
% Done:

80%

Spec Reference:

Description

AFAIR, The 3GPP specifications contain some very strict rules regarding priorities among different concurrent LAPDm data links for the same subscriber. For example, SAIP0 always has higher priority than SAPI3.

We've just encountered a situation where in MT-SMS, the SAPI3 SABM from BTS to MS was sent before the BTS replied with the UA for SAPI0 (contetion resolution procedure, where we echo the PAGING RESPONSE back to the MS).

A quick look at the LAPDm code in libosmocore reveals that it is doing a round-robin rather than implementing the rules.

TS 44.005 Section 4.2.2 states the priorities for SDCCH and SACCH. I guess we can think of FACCH == SDCCH in this context.


Checklist

  • implement test case
  • fix priority in LAPDm code

Related issues

Related to OsmoMSC - Bug #4714: SMS Message Lost Although Delivery Ack SentResolvedfixeria08/16/2020

Actions
Related to OsmoBTS - Bug #1979: Priority of SAPI=0/SAPI=3 on SABMResolved03/10/2017

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)