diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-05-20 12:06:46 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-05-27 13:29:59 +0200 |
commit | 767193e20b4172dfb0e76ec63444115dc5ae8806 (patch) | |
tree | db3cf75b01e916afa5ce994e239111c454113382 /src/tbf.h | |
parent | d1cb41bfd020eb9b94b17e5bcaa5be36bceccc12 (diff) |
tbf: Remove the TLLI from the TBFs
Currently the TLLI is stored in each TBF. Since each MS is now
represented by a GprsMs object which takes care of TLLI updating,
and each TBF that has been associated with an TLLI also contains a
reference to a GprsMs object, per TBF TLLI handling is no longer
needed. Keeping all TBF m_tlli members up to date is complex and
doesn't currently work correctly in all circumstances.
This commit removes m_tlli and related members from the TBF class and
the tbf_by_tlli functions from the BTS class.
Ticket: #1674
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/tbf.h')
-rw-r--r-- | src/tbf.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -141,7 +141,6 @@ struct gprs_rlcmac_tbf { void update_tlli(uint32_t tlli); uint32_t tlli() const; bool is_tlli_valid() const; - void tlli_mark_valid(); /** MS updating */ void update_ms(uint32_t tlli, enum gprs_rlcmac_tbf_direction); @@ -221,8 +220,6 @@ struct gprs_rlcmac_tbf { * private fields. We can't make it private as it is breaking the * llist macros. */ - uint32_t m_tlli; - uint8_t m_tlli_valid; uint8_t m_tfi; time_t m_created_ts; @@ -295,7 +292,7 @@ inline GprsMs *gprs_rlcmac_tbf::ms() inline bool gprs_rlcmac_tbf::is_tlli_valid() const { - return m_tlli_valid; + return tlli() != 0; } inline uint8_t gprs_rlcmac_tbf::tfi() const |