diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-05-22 18:02:51 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-05-28 13:59:25 +0200 |
commit | 1db67e0a35a479ef20b871c459ea3f3e0155b620 (patch) | |
tree | 7c15b7dbd27c6f181dcb9fd827d18627f76e4213 /src/bts.h | |
parent | 9200ce60196a289968144582f1acfac25e17eed5 (diff) |
tbf: Remove TimingAdvance storage
Currently the TA storage stores up to 30 TLLI->TA mappings, if more
entries are created the oldest one is dropped. In theory this can
lead to missing TA information if many MS are present.
This commit removes the TimingAdvance class completely, since the TA
value is now stored in the GprsMs objects.
Note that the GprsMs objects are currently not kept after the TBFs
have detached from them, so the TA values are now kept for a shorter
time than before.
Ticket: #1674
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/bts.h')
-rw-r--r-- | src/bts.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -30,7 +30,6 @@ extern "C" { #include "poll_controller.h" #include "sba.h" -#include "ta.h" #include "tbf.h" #include "gprs_ms_storage.h" #endif @@ -197,7 +196,6 @@ public: struct gprs_rlcmac_bts *bts_data(); SBAController *sba(); - TimingAdvance *timing_advance(); /** TODO: change the number to unsigned */ void set_current_frame_number(int frame_number); @@ -254,7 +252,6 @@ private: struct gprs_rlcmac_bts m_bts; PollController m_pollController; SBAController m_sba; - TimingAdvance m_ta; struct rate_ctr_group *m_ratectrs; gprs_rlcmac_tbf *tbf_by_tfi(uint8_t tfi, uint8_t trx, enum gprs_rlcmac_tbf_direction dir); @@ -271,11 +268,6 @@ inline int BTS::current_frame_number() const return m_cur_fn; } -inline TimingAdvance *BTS::timing_advance() -{ - return &m_ta; -} - inline SBAController *BTS::sba() { return &m_sba; |