This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/25814 ) Change subject: Get rid of tbf tsc field ...................................................................... Get rid of tbf tsc field TSC is not really a property of a TBF, so let's drop it in order to avoid confusing and possible misuse of that accessor. Change-Id: I105eb65d507e45631faddb23420c42bc9560e580 --- M src/bts.cpp M src/tbf.cpp M src/tbf.h 3 files changed, 1 insertion(+), 11 deletions(-) Approvals: dexter: Looks good to me, but someone else must approve laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/src/bts.cpp b/src/bts.cpp index aa713fe..50df92e 100644 --- a/src/bts.cpp +++ b/src/bts.cpp @@ -871,7 +871,6 @@ struct gprs_rlcmac_trx *trx; uint32_t sb_fn = 0; uint8_t usf = 7; - uint8_t tsc = 0; int plen, rc; /* Allocate a bit-vector for RR Immediate Assignment [Reject] */ @@ -924,7 +923,6 @@ pdch = sba->pdch; sb_fn = sba->fn; - tsc = pdch->tsc; LOGP(DRLCMAC, LOGL_DEBUG, "Allocated a single block at " "SBFn=%u TRX=%u TS=%u\n", sb_fn, pdch->trx->trx_no, pdch->ts_no); } else { @@ -938,14 +936,13 @@ tbf->set_ta(ta); pdch = &tbf->trx->pdch[tbf->first_ts]; usf = tbf->m_usf[pdch->ts_no]; - tsc = tbf->tsc(); } trx = pdch->trx; LOGP(DRLCMAC, LOGL_DEBUG, "Tx Immediate Assignment on AGCH: " "TRX=%u (ARFCN %u) TS=%u TA=%u TSC=%u TFI=%d USF=%d\n", trx->trx_no, trx->arfcn & ~ARFCN_FLAG_MASK, - pdch->ts_no, ta, tsc, tbf ? tbf->tfi() : -1, usf); + pdch->ts_no, ta, pdch->tsc, tbf ? tbf->tfi() : -1, usf); plen = Encoding::write_immediate_assignment(pdch, tbf, bv, false, rip->ra, Fn, ta, usf, false, sb_fn, bts_get_ms_pwr_alpha(bts), bts->pcu->vty.gamma, -1, diff --git a/src/tbf.cpp b/src/tbf.cpp index 2343862..361e631 100644 --- a/src/tbf.cpp +++ b/src/tbf.cpp @@ -758,11 +758,6 @@ llist_add(tbf_trx_list((struct gprs_rlcmac_tbf *)this), &trx->dl_tbfs); } -uint8_t gprs_rlcmac_tbf::tsc() const -{ - return trx->pdch[first_ts].tsc; -} - uint8_t gprs_rlcmac_tbf::dl_slots() const { uint8_t slots = 0; diff --git a/src/tbf.h b/src/tbf.h index cab9364..4013ab0 100644 --- a/src/tbf.h +++ b/src/tbf.h @@ -180,8 +180,6 @@ GprsMs *ms() const; void set_ms(GprsMs *ms); - uint8_t tsc() const; - bool n_inc(enum tbf_counters n); void n_reset(enum tbf_counters n); -- To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/25814 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Change-Id: I105eb65d507e45631faddb23420c42bc9560e580 Gerrit-Change-Number: 25814 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <pmaier at sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de> Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: osmith <osmith at sysmocom.de> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211019/0590026e/attachment.htm>