diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-10-23 22:17:01 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-10-24 19:49:43 +0000 |
commit | 834cbab97d096825d2f46e0cc9841adab3180997 (patch) | |
tree | 2bbd0c5a73cf5b5e7dcd4921249f1888916cc6f2 /src/tbf_dl.cpp | |
parent | 9767e44fd404fa74a425a3b1a803a466a74e282c (diff) |
Move constructor gprs_rlcmac_dl_tbf::BandWidth to correct file
Change-Id: I7587fd2ee97424020a099a8513f95544d6635f3d
Diffstat (limited to 'src/tbf_dl.cpp')
-rw-r--r-- | src/tbf_dl.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp index e6be3c32..fc03c0b8 100644 --- a/src/tbf_dl.cpp +++ b/src/tbf_dl.cpp @@ -75,6 +75,16 @@ static void llc_timer_cb(void *_tbf) tbf->request_dl_ack(); } +gprs_rlcmac_dl_tbf::BandWidth::BandWidth() : + dl_bw_octets(0), + dl_throughput(0), + dl_loss_lost(0), + dl_loss_received(0) +{ + timespecclear(&dl_bw_tv); + timespecclear(&dl_loss_tv); +} + gprs_rlcmac_dl_tbf::gprs_rlcmac_dl_tbf(BTS *bts_) : gprs_rlcmac_tbf(bts_, GPRS_RLCMAC_DL_TBF), m_tx_counter(0), |