aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2014-08-07 17:32:01 +0200
committerDaniel Willmann <daniel@totalueberwachung.de>2014-08-08 14:15:24 +0200
commite2732e2f5981d8898364541926df219f7b285b92 (patch)
tree2fc6589f097e35632ab645397a3ab9922f22da8a /src/tbf.h
parentf72fcfe2197677ac0252a76d63573929f786cd5f (diff)
tbf: Make snd_ul_ud() and assemble_forward_llc() methods of UL TBF
They are only called for UL TBF. Ticket: SYS#389 Sponsored by: On-Waves ehf
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 23f8a7b7..b287e778 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -118,12 +118,8 @@ struct gprs_rlcmac_tbf {
/* TODO: add the gettimeofday as parameter */
struct msgb *llc_dequeue(bssgp_bvc_ctx *bctx);
- /* TODO: extract LLC class? */
- int assemble_forward_llc(const gprs_rlc_data *data);
-
struct msgb *create_dl_ass(uint32_t fn);
struct msgb *create_ul_ass(uint32_t fn);
- int snd_ul_ud();
uint8_t tsc() const;
@@ -339,6 +335,10 @@ struct gprs_rlcmac_ul_tbf : public gprs_rlcmac_tbf {
/* blocks were acked */
int rcv_data_block_acknowledged(const uint8_t *data, size_t len, int8_t rssi);
+ /* TODO: extract LLC class? */
+ int assemble_forward_llc(const gprs_rlc_data *data);
+ int snd_ul_ud();
+
/* 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