diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-26 14:41:18 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-26 14:43:22 +0200 |
commit | bddf1ad7f6229ae5a8091274fc50036e9236418c (patch) | |
tree | f89048a844315374f8e5e9dfce0bd3aaf108ab84 /src/tbf_dl.cpp | |
parent | 9d1cdb1f697057033394590a9b2815efe6c08cd9 (diff) |
Move tbf_{dl,ul} child constructors to respective .cpp files
Fixes: 9d1cdb1f697057033394590a9b2815efe6c08cd9
Change-Id: Id258589d46de42ad4e27889bc396f930b7f94b79
Diffstat (limited to 'src/tbf_dl.cpp')
-rw-r--r-- | src/tbf_dl.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp index e9190f6e..fdd9ba30 100644 --- a/src/tbf_dl.cpp +++ b/src/tbf_dl.cpp @@ -76,6 +76,19 @@ static void llc_timer_cb(void *_tbf) tbf->request_dl_ack(); } +gprs_rlcmac_dl_tbf::gprs_rlcmac_dl_tbf(BTS *bts_) : + gprs_rlcmac_tbf(bts_, GPRS_RLCMAC_DL_TBF), + m_tx_counter(0), + m_wait_confirm(0), + m_dl_ack_requested(false), + m_last_dl_poll_fn(0), + m_last_dl_drained_fn(0), + m_dl_gprs_ctrs(NULL), + m_dl_egprs_ctrs(NULL) +{ + memset(&m_llc_timer, 0, sizeof(m_llc_timer)); +} + void gprs_rlcmac_dl_tbf::cleanup() { osmo_timer_del(&m_llc_timer); |