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/+/19175 ) Change subject: tbf_dl: uint8_t is enough to store a TA value ...................................................................... tbf_dl: uint8_t is enough to store a TA value According to 3GPP TS 44.018 sec 10.5.2.40, Timing Advance value is 8 bit and range is 0-63 (0-219 on GSM400). So there's no need for 16 bits to store it. uint8_t is used in all other places in the code. Change-Id: I38aa063ae30ca5680fef6252d2cef22cea98c123 --- M src/tbf_dl.cpp 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve Hoernchen: Looks good to me, but someone else must approve pespin: Looks good to me, approved diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp index 02aaa3a..e6be3c3 100644 --- a/src/tbf_dl.cpp +++ b/src/tbf_dl.cpp @@ -138,7 +138,7 @@ { bool ss; int8_t use_trx; - uint16_t ta = GSM48_TA_INVALID; + uint8_t ta = GSM48_TA_INVALID; struct gprs_rlcmac_ul_tbf *ul_tbf = NULL, *old_ul_tbf; struct gprs_rlcmac_dl_tbf *dl_tbf = NULL; GprsMs *ms; -- To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/19175 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Change-Id: I38aa063ae30ca5680fef6252d2cef22cea98c123 Gerrit-Change-Number: 19175 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-Reviewer: Hoernchen <ewild at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy 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/20200708/2ab2a958/attachment.htm>