aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2014-07-30 19:12:27 +0200
committerDaniel Willmann <daniel@totalueberwachung.de>2014-08-07 13:03:10 +0200
commit6c813fc9bc024efba40810421148f28973ce74af (patch)
treee57e70ef2724e432dfbeb515d9bc5c00ad6d3a03 /src/tbf.h
parent538ac5b57428e2e91eb02451dcc9ab501b9e6a4b (diff)
bts, tbf: Make rcvd_dl_ack a method of the DL TBF
This method is only userul for DL TBFs so move it. As a result gprs_rlcmac_pdch::rcv_control_ack needs to work with dl_tbfs. Ticket: SYS#389 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 8fd72372..04ae1910 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -125,7 +125,6 @@ struct gprs_rlcmac_tbf {
struct msgb *create_dl_ass(uint32_t fn);
struct msgb *create_ul_ass(uint32_t fn);
struct msgb *create_ul_ack(uint32_t fn);
- int rcvd_dl_ack(uint8_t final, uint8_t ssn, uint8_t *rbb);
int snd_ul_ud();
/* blocks were acked */
@@ -354,6 +353,7 @@ struct gprs_rlcmac_dl_tbf : public gprs_rlcmac_tbf {
const uint16_t pdu_delay_csec,
const uint8_t *data, const uint16_t len);
+ int rcvd_dl_ack(uint8_t final, uint8_t ssn, uint8_t *rbb);
};
struct gprs_rlcmac_ul_tbf : public gprs_rlcmac_tbf {