aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.cpp
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-01-14 12:53:53 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-01-18 11:38:38 +0100
commita281495008082768be15b5aa63271cce1ee128e0 (patch)
treecf81a3f4629ef7b1616f98902bb622bf80115dde /src/tbf.cpp
parent03de898d193e7e73c0cb700a2d00e2b6a913c458 (diff)
Move alpha,gamma fields from BTS to PCU
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r--src/tbf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index c42081b6..eb043e5b 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -926,7 +926,7 @@ struct msgb *gprs_rlcmac_tbf::create_dl_ass(uint32_t fn, uint8_t ts)
Encoding::write_packet_downlink_assignment(mac_control_block,
old_tfi_is_valid, m_tfi, (direction == GPRS_RLCMAC_DL_TBF),
new_dl_tbf, poll_ass_dl, rrbp,
- bts_data()->alpha, bts_data()->gamma, -1, 0,
+ the_pcu->vty.alpha, the_pcu->vty.gamma, -1, 0,
is_egprs_enabled());
LOGP(DTBF, LOGL_DEBUG, "+++++++++++++++++++++++++ TX : Packet Downlink Assignment +++++++++++++++++++++++++\n");
rc = encode_gsm_rlcmac_downlink(&bv, mac_control_block);
@@ -1029,8 +1029,8 @@ struct msgb *gprs_rlcmac_tbf::create_ul_ass(uint32_t fn, uint8_t ts)
mac_control_block = (RlcMacDownlink_t *)talloc_zero(tall_pcu_ctx, RlcMacDownlink_t);
Encoding::write_packet_uplink_assignment(mac_control_block, m_tfi,
(direction == GPRS_RLCMAC_DL_TBF), tlli(),
- is_tlli_valid(), new_tbf, 1, rrbp, bts_data()->alpha,
- bts_data()->gamma, -1, is_egprs_enabled());
+ is_tlli_valid(), new_tbf, 1, rrbp, the_pcu->vty.alpha,
+ the_pcu->vty.gamma, -1, is_egprs_enabled());
LOGP(DTBF, LOGL_DEBUG, "+++++++++++++++++++++++++ TX : Packet Uplink Assignment +++++++++++++++++++++++++\n");
rc = encode_gsm_rlcmac_downlink(&bv, mac_control_block);