OsmocomBB MS-side GSM Protocol stack (L1, L2, L3) including firmware https://osmocom.org/projects/baseband
Go to file
Vadim Yanitskiy 0cd4252ab5 trxcon/scheduler: fix Measurement Reporting on SACCH
According to 3GPP TS 04.08, section 3.4.1, SACCH logical channel
accompanies either a traffic or a signaling channel. It has the
particularity that continuous transmission must occur in both
directions, so on the Uplink direction measurement result messages
are sent at each possible occasion when nothing else has to be sent.
The LAPDm fill frames (0x01, 0x03, 0x01, 0x2b, ...) are not
applicable on SACCH channels!

Unfortunately, 3GPP TS 04.08 doesn't clearly state which "else
messages" besides Measurement Reports can be send by the MS on
SACCH channels. However, in sub-clause 3.4.1 it's stated that
the interval between two successive measurement result messages
shall not exceed one L2 frame.

This change introduces a separate handler for SACCH primitives,
which dequeues a SACCH primitive from transmit queue, if present.
Otherwise it dequeues a cached Measurement Report (the last
received one). Finally, if the cache is empty, a "dummy"
measurement report is used. When it's possible,
a non-MR primitive is prioritized.

Change-Id: If1b8dc74ced746d6270676fdde75fcda32f91a3d
Related: OS#2988
2018-09-28 23:15:58 +00:00
contrib jenkins.sh: Don't only build-verify layer23 but all other host programs, too 2018-08-24 08:44:02 +02:00
doc mobile: Add lua examples for basic functions that are available 2017-12-27 10:51:32 +08:00
include include/osmocore: remove unused headers 2018-05-20 15:26:40 +03:00
src trxcon/scheduler: fix Measurement Reporting on SACCH 2018-09-28 23:15:58 +00:00
.gitignore Don't ignore top-level Makefile 2018-01-22 17:33:54 +01:00
.gitreview Add 'git review' config file 2017-09-07 12:21:24 +02:00