Bug #3626
LAPDm code pulls both 'l1h' and 'l2h' of msgb
Start date:
10/04/2018
Due date:
% Done:
0%
Spec Reference:
Description
In some cases, it's required to keep some data before the actual MAC-block, e.g. in order to indicate
the FDMA/TDMA info (frame number, ARFCN, etc.) to the upper layers, but the current implementation
doesn't allow this, because it calls msgb_pull_to_l3() stripping all headers. In other words,
when a message buffer is being passed through the current LAPDm code, everything before the
data frame is getting lost.
History
#1 Updated by laforge over 2 years ago
you can consider using the msgb->cb for this?
#2 Updated by fixeria about 2 years ago
you can consider using the msgb->cb for this?
Possible but not flexible. In case of OsmocomBB, I would like to keep the whole 'l1ctl_info_dl' header.
What is the purpose / reason of stripping both 'l1h' and 'l2h' message parts out?