From fb59a93425034cc560bc1cbcd938abd96bbb0848 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 13 Mar 2019 18:40:19 +0100 Subject: TBF: update MCS counters * use enum CodingScheme directly instead of converting it to class and back * drop useless mode check * log errorneous update attempt Change-Id: I763136c2f356d63aa3d28d09c57fd5faf5336258 --- src/tbf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tbf.h') diff --git a/src/tbf.h b/src/tbf.h index dc0b050f..0a588621 100644 --- a/src/tbf.h +++ b/src/tbf.h @@ -648,7 +648,7 @@ struct gprs_rlcmac_dl_tbf : public gprs_rlcmac_tbf { int abort(); uint16_t window_size() const; void set_window_size(); - void update_coding_scheme_counter_dl(const GprsCodingScheme cs); + void update_coding_scheme_counter_dl(enum CodingScheme cs); /* TODO: add the gettimeofday as parameter */ struct msgb *llc_dequeue(bssgp_bvc_ctx *bctx); @@ -751,7 +751,7 @@ struct gprs_rlcmac_ul_tbf : public gprs_rlcmac_tbf { uint16_t window_size() const; void set_window_size(); - void update_coding_scheme_counter_ul(const GprsCodingScheme cs); + void update_coding_scheme_counter_ul(enum CodingScheme cs); /* Please note that all variables here will be reset when changing * from WAIT RELEASE back to FLOW state (re-use of TBF). -- cgit v1.2.3