aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf_dl.cpp
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-01-14 14:45:14 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-01-18 11:54:57 +0100
commitf473ec9d7a250326abd71b910d810567dc976509 (patch)
tree8a79364068f11a2eaf45e856791cd71b17498899 /src/tbf_dl.cpp
parent519d071131ca1235d5ba525040dab4cbe357fa92 (diff)
Move llc_* fields from BTS to PCU
Diffstat (limited to 'src/tbf_dl.cpp')
-rw-r--r--src/tbf_dl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index 653db14b..ab34ea11 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -202,9 +202,9 @@ void gprs_rlcmac_dl_tbf::cleanup()
void gprs_rlcmac_dl_tbf::start_llc_timer()
{
- if (bts_data()->llc_idle_ack_csec > 0) {
+ if (the_pcu->vty.llc_idle_ack_csec > 0) {
struct timespec tv;
- csecs_to_timespec(bts_data()->llc_idle_ack_csec, &tv);
+ csecs_to_timespec(the_pcu->vty.llc_idle_ack_csec, &tv);
osmo_timer_schedule(&m_llc_timer, tv.tv_sec, tv.tv_nsec / 1000);
}
}
@@ -348,8 +348,8 @@ struct msgb *gprs_rlcmac_dl_tbf::llc_dequeue(bssgp_bvc_ctx *bctx)
const unsigned keep_small_thresh = 60;
const MetaInfo *info;
- if (bts_data()->llc_discard_csec)
- csecs_to_timespec(bts_data()->llc_discard_csec, &hyst_delta);
+ if (the_pcu->vty.llc_discard_csec)
+ csecs_to_timespec(the_pcu->vty.llc_discard_csec, &hyst_delta);
osmo_clock_gettime(CLOCK_MONOTONIC, &tv_now);
timespecadd(&tv_now, &hyst_delta, &tv_now2);