diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-02 15:32:10 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-08 00:45:40 +0100 |
commit | be314d9a54578d1eb31ab84f5de9bc16f8e892e9 (patch) | |
tree | 756beab87dd7d3e0aa4c10072abf60307e265663 /src/tbf.h | |
parent | 14e26cbca3d4fe5b7e7e6729e12708555ddb3a41 (diff) |
edge: Refactor create_dl_acked_block for multi-block support
Currently the method is hard-coded to support a single BSN only.
MCS-7 to MCS-9 encode 2 data blocks into a single RLC data message.
This commit refactors create_dl_acked_block to process any number
of blocks internally.
Note that this does not extend the parameter list accordingly and
just duplicates the BSN if these MCS are being used.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/tbf.h')
-rw-r--r-- | src/tbf.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -408,7 +408,7 @@ protected: struct msgb *create_new_bsn(const uint32_t fn, const uint8_t ts); struct msgb *create_dl_acked_block(const uint32_t fn, const uint8_t ts, - const int index); + int index, int index2 = -1); int update_window(const uint8_t ssn, const uint8_t *rbb); int update_window(unsigned first_bsn, const struct bitvec *rbb); int maybe_start_new_window(); |