aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2014-08-07 17:35:22 +0200
committerDaniel Willmann <daniel@totalueberwachung.de>2014-08-08 14:15:24 +0200
commitcf706b07752958693eaa831992f883252742a668 (patch)
tree0f490d7e527b59b4b79ec0cd7e4c7f78f658d52b /src/tbf.h
parente2732e2f5981d8898364541926df219f7b285b92 (diff)
tbf: Make llc_dequeue a method of DL TBF
llc_dequeue is only used in DL TBF to send the data from the BSSGP to the MS. Ticket: SYS#389 Sponsored by: On-Waves ehf
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tbf.h b/src/tbf.h
index b287e778..22504e7e 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -115,9 +115,6 @@ struct gprs_rlcmac_tbf {
bool state_is_not(enum gprs_rlcmac_tbf_state rhs) const;
void set_state(enum gprs_rlcmac_tbf_state new_state);
- /* TODO: add the gettimeofday as parameter */
- struct msgb *llc_dequeue(bssgp_bvc_ctx *bctx);
-
struct msgb *create_dl_ass(uint32_t fn);
struct msgb *create_ul_ass(uint32_t fn);
@@ -310,6 +307,9 @@ struct gprs_rlcmac_dl_tbf : public gprs_rlcmac_tbf {
int rcvd_dl_ack(uint8_t final, uint8_t ssn, uint8_t *rbb);
struct msgb *create_dl_acked_block(uint32_t fn, uint8_t ts);
+ /* TODO: add the gettimeofday as parameter */
+ struct msgb *llc_dequeue(bssgp_bvc_ctx *bctx);
+
/* Please note that all variables here will be reset when changing
* from WAIT RELEASE back to FLOW state (re-use of TBF).
* All states that need reset must be in this struct, so this is why