diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-05-28 19:07:01 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-08 09:38:44 +0200 |
commit | 489a2b35d87610fb077a51de696555a54e5fb247 (patch) | |
tree | 6986b156cbb3f1a7a01b211e919a25d2c39edea6 /src/tbf.h | |
parent | 10ed79553a8e7241b69c4155325c29105c7a606d (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.h | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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; |