diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-01-12 17:02:49 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-05 13:46:12 +0100 |
commit | fec94d1c5c57e328e27a9b0208706a0a54d3da56 (patch) | |
tree | 5fbc856268d831395a6b60898262a14cbc93c1fe /tests/llist | |
parent | 14bb0947b49e7f936f3ff0708e5891a873362d3b (diff) |
edge: Use rlc_data_to_dl_append in create_new_bsn
Currently TBF related tasks (status changes, counter updates,
LLC dummy command insertion) as well as
RLC data block generation are done within create_new_bsn.
The data block creation part has already been copied to
the stateless Encoding::rlc_data_to_dl_append function.
This commit changes create_new_bsn to use the encoder function and
just care about the TBF related stuff.
Since the rlc_data_to_dl_append function has been validated against
the test cases being described in annex B of TS 44.060, this
commit fixes an encoder bug which leads to broken LLC frames in
a special case (see example B.2, the main header's E bit was
erroneously set to 1 in that case). When this happens, the LLC frame
will get discarded after reassembly, so that TCP will have to
retransmit the lost packet.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'tests/llist')
0 files changed, 0 insertions, 0 deletions