aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-05-28 19:07:01 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-06-08 09:38:44 +0200
commit489a2b35d87610fb077a51de696555a54e5fb247 (patch)
tree6986b156cbb3f1a7a01b211e919a25d2c39edea6 /src/tbf.h
parent10ed79553a8e7241b69c4155325c29105c7a606d (diff)
tbf: Move the LLC queue to GprsMs
Currently the enqueued DL LLC messages which have not yet passed to RLC/MAC encoding are eventually copied from one TBF to the next one (see gprs_rlcmac_dl_tbf::reuse_tbf). Since the enqueued LLC messages are related to a specific MS, they should be stored at that layer. This commit moves the gprs_llc_queue object to GprsMs and changes the TBF's accessor methods accordingly. The LLC copying code is removed from gprs_rlcmac_dl_tbf::reuse_tbf(). Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/tbf.h b/src/tbf.h
index b665a88e..7f8d660d 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -232,7 +232,6 @@ protected:
/* Field to take the TA value if no MS is associated */
uint8_t m_ta;
- gprs_llc_queue m_llc_queue;
private:
mutable char m_name_buf[60];
};
@@ -289,16 +288,6 @@ inline GprsMs *gprs_rlcmac_tbf::ms() const
return m_ms;
}
-inline gprs_llc_queue *gprs_rlcmac_tbf::llc_queue()
-{
- return &m_llc_queue;
-}
-
-inline const gprs_llc_queue *gprs_rlcmac_tbf::llc_queue() const
-{
- return &m_llc_queue;
-}
-
inline bool gprs_rlcmac_tbf::is_tlli_valid() const
{
return tlli() != 0;