diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2014-08-07 17:35:22 +0200 |
---|---|---|
committer | Daniel Willmann <daniel@totalueberwachung.de> | 2014-08-08 14:15:24 +0200 |
commit | cf706b07752958693eaa831992f883252742a668 (patch) | |
tree | 0f490d7e527b59b4b79ec0cd7e4c7f78f658d52b /src | |
parent | e2732e2f5981d8898364541926df219f7b285b92 (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')
-rw-r--r-- | src/tbf.cpp | 2 | ||||
-rw-r--r-- | src/tbf.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp index b5bb123d..e5b8863c 100644 --- a/src/tbf.cpp +++ b/src/tbf.cpp @@ -687,7 +687,7 @@ int gprs_rlcmac_tbf::rlcmac_diag() return 0; } -struct msgb *gprs_rlcmac_tbf::llc_dequeue(bssgp_bvc_ctx *bctx) +struct msgb *gprs_rlcmac_dl_tbf::llc_dequeue(bssgp_bvc_ctx *bctx) { struct msgb *msg; struct timeval *tv, tv_now; @@ -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 |