diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-01-14 12:53:53 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-01-18 11:38:38 +0100 |
commit | a281495008082768be15b5aa63271cce1ee128e0 (patch) | |
tree | cf81a3f4629ef7b1616f98902bb622bf80115dde /src/tbf.cpp | |
parent | 03de898d193e7e73c0cb700a2d00e2b6a913c458 (diff) |
Move alpha,gamma fields from BTS to PCU
Change-Id: I2fdd9c8a7393157183fff64084bb10e2a3b1dc63
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r-- | src/tbf.cpp | 6 |
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); |