aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-07-07 13:49:29 +0200
committerMax <msuraev@sysmocom.de>2017-07-10 09:39:53 +0000
commitaae1bfbbe0694db5df21073780fad964044dc4c1 (patch)
tree180d8903cef422c2d38956abca655a8b73df3cb8 /src/tbf.h
parent557959546441ec1aa7667ddaf8fcfeccec23f493 (diff)
Remove TBF knowledge from rcv_control*dl_ack_nack
Do not access TBF internals directly from rcv_control*dl_ack_nack() - wrap corresponding code into TBF-DL method. Change-Id: I3d1b5782001e45617b4a960612fcfc249904b37c Related: OS#1539
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 09e3122..87aa7a5 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -424,6 +424,8 @@ struct gprs_rlcmac_dl_tbf : public gprs_rlcmac_tbf {
int rcvd_dl_ack(uint8_t final, uint8_t ssn, uint8_t *rbb);
int rcvd_dl_ack(uint8_t final_ack, unsigned first_bsn, struct bitvec *rbb);
struct msgb *create_dl_acked_block(uint32_t fn, uint8_t ts);
+ void clear_poll_timeout_flag();
+ bool handle_ack_nack();
void request_dl_ack();
bool need_control_ts() const;
bool have_data() const;