trxcon: Prefix SACCH fill frame with L1 header
commit9abc5f79826c9dd9a918caaa69afd33cca0867f1
authorHarald Welte <laforge@gnumonks.org>
Sun, 15 Apr 2018 09:05:45 +0000 (15 11:05 +0200)
committerHarald Welte <laforge@gnumonks.org>
Sun, 15 Apr 2018 09:09:25 +0000 (15 11:09 +0200)
treefcc89f94929e45f99149a8bceb6a3f829003d990
parent9803a35a8a3332f32f1dd2e9cd5c5e591a31b095
trxcon: Prefix SACCH fill frame with L1 header

The main problem here is that the existing implementatin missing the L1
header in this message.  A SACCH message doesn't have a 23byte LAPDm
message, but only a 21 byte LAPDm message prefixed by a 2-byte Layer1
header. So on the receiver in the BTS, right now the first two bytes of
the UL SACCH frame are misinterpreted as L1 header.

This it what causes RLL ERROR INDICATION on the Abis side, which is why
our BTS_Tests fail.

Change-Id: Id7776bf3604d0e8a32e04547e01b8bd377903272
Related: OS#3170
src/host/trxcon/sched_prim.c