diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-03 18:35:27 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-08 00:45:40 +0100 |
commit | 0f5c6956dd3ab09ddda72c186fb80b8b0d44f9e4 (patch) | |
tree | 29b2ef2d6d501e9a89e2dbe9c20e38f5310f209e /tests/tbf/TbfTest.ok | |
parent | fbd82e4e9f38ed6885e94ccf8d0297bba65b50de (diff) |
rlc: Use the rlc structure to access the data unit in the RLC message
Currently most offsets are hard-coded which makes it difficult to
access the data units and their headers when padding has to be taken
into account. These offset are already provided by the
gprs_rlc_data_info_init_ul/dl functions.
Change the encoder/decoder to use these values.
Note that some assumptions (bit alignment) are still present in the
code and checked by assertions.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'tests/tbf/TbfTest.ok')
0 files changed, 0 insertions, 0 deletions