Actions
Feature #5128
opendec_RlcmacDlCtrlBlock: Get rid of annoying warning about remaining padding
Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
04/23/2021
Due date:
% Done:
0%
Spec Reference:
Description
While running PCU_Tests, (probably) ./library/RLCMAC_EncDec.cc prints lots of warnings at runtime, for each RLCMAC block parsed, due to final padding not being parsed:
BTS(438)@41804d0dad09: Warning: dec_RlcmacDlCtrlBlock(): Data remained at the end of the stream after successful decoding: '2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B'O ("+++++++++++++++++++++") BTS(438)@41804d0dad09: Warning: dec_RlcmacDlCtrlBlock(): Data remained at the end of the stream after successful decoding: '2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B'O ("+++++++++++++++++++++") BTS(438)@41804d0dad09: Warning: dec_RlcmacDlCtrlBlock(): Data remained at the end of the stream after successful decoding: '2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B'O ("+++++++++++++++++++++")
Ideally we should modify ./library/RLCMAC_Types.ttcn and have a "octetstring padding optional" or alike, and the Decoder should put the decoded padding in there.
Or even simpler, read the padding bytes to avoid this kind of warnings.
Actions