aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-12-14 13:36:13 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-12-16 19:55:18 +0100
commitb3100e187b8030fe25057978433e1dde62e86647 (patch)
treef54522f5db38af9161bcd486c1737b0f0d9cc12c /src/tbf.h
parente8f5fe52554895661f7dafedb96c4c68b0ca9bda (diff)
edge: Add methods for unified GPRS/EGPRS UL data block handling
The current rcv_data_block_acknowledged_gprs method is tightly coupled to GPRS. This commit adds variants of the involved methods that support EGPRS and GPRS RLC encodings likewise. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 252e9d5..b00dd0f 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -424,8 +424,13 @@ struct gprs_rlcmac_ul_tbf : public gprs_rlcmac_tbf {
/* blocks were acked */
int rcv_data_block_acknowledged_gprs(const uint8_t *data, size_t len,
struct pcu_l1_meas *meas);
+ int rcv_data_block_acknowledged(
+ const struct gprs_rlc_ul_header_egprs *rlc,
+ uint8_t *data, uint8_t len, struct pcu_l1_meas *meas);
+
/* TODO: extract LLC class? */
+ int assemble_forward_llc_gprs(const gprs_rlc_data *data);
int assemble_forward_llc(const gprs_rlc_data *data);
int snd_ul_ud();
@@ -443,6 +448,7 @@ struct gprs_rlcmac_ul_tbf : public gprs_rlcmac_tbf {
protected:
void maybe_schedule_uplink_acknack(const rlc_ul_header *rh);
+ void maybe_schedule_uplink_acknack(const gprs_rlc_ul_header_egprs *rlc);
};
inline enum gprs_rlcmac_tbf_direction reverse(enum gprs_rlcmac_tbf_direction dir)