aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2016-02-02 15:32:10 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2016-02-08 00:45:40 +0100
commitbe314d9a54578d1eb31ab84f5de9bc16f8e892e9 (patch)
tree756beab87dd7d3e0aa4c10072abf60307e265663 /src/tbf.h
parent14e26cbca3d4fe5b7e7e6729e12708555ddb3a41 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 443f85fc..2eefbeea 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -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();