[PATCH] Fix encoding of padding bits to start with 0 bit

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-net-gprs@lists.osmocom.org/.

Saurabh Sharan saurabh.sharan at radisys.com
Thu Mar 10 08:45:29 UTC 2016


This patch is for fixing encoding of padding bits according to the
3gpp spec 44.060 section 11, wherein it shall always start with 0
bit followed with spare padding bits.

During introduction of basic EGPRS feature new hex dump messages
from a different working network log were used in Unit test. These
exposed the issue of incorrect handling of padding bits encoding
in osmo-pcu.

Corrections in the existing test vector of rlcmac is also updated.
In testsuite tbf appropriate corrections for the Tbftest.err is
also done.
---
 src/csn1.cpp                |    7 ++++++-
 tests/rlcmac/RLCMACTest.cpp |    6 +++---
 tests/rlcmac/RLCMACTest.ok  |   18 +++++++++---------
 tests/tbf/TbfTest.err       |   18 +++++++++---------
 4 files changed, 27 insertions(+), 22 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-encoding-of-padding-bits-to-start-with-0-bit.patch
Type: text/x-patch
Size: 12278 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/osmocom-net-gprs/attachments/20160310/8065e441/attachment.bin>


More information about the osmocom-net-gprs mailing list