commit | 0f5c6956dd3ab09ddda72c186fb80b8b0d44f9e4 | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Wed Feb 03 18:35:27 2016 +0100 |
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | Mon Feb 08 00:45:40 2016 +0100 |
tree | 29b2ef2d6d501e9a89e2dbe9c20e38f5310f209e | |
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