fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/15656 )
Change subject: scheduler: fix handling of PTCCH/U and PTCCH/D logical channels ...................................................................... Patch Set 1: (1 comment) https://gerrit.osmocom.org/#/c/15656/1/src/common/l1sap.c File src/common/l1sap.c: https://gerrit.osmocom.org/#/c/15656/1/src/common/l1sap.c@1320 PS1, Line 1320: pcu_tx_rach_ind(bts, rach_ind->acc_delay_256bits >> 6, > Why >> 6 here? Because 6 is a power of 2: 2 ^ 6 is 64. X >> 6 gives us same result as X / 64. See another example below: X << 2 is equivalent to X * 4. -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/15656 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: I232e5f514fbad2c51daaa59ff516004aba97c8a3 Gerrit-Change-Number: 15656 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <[email protected]> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <[email protected]> Gerrit-Reviewer: laforge <[email protected]> Gerrit-Reviewer: lynxis lazus <[email protected]> Gerrit-Reviewer: pespin <[email protected]> Gerrit-Comment-Date: Wed, 02 Oct 2019 16:50:54 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: pespin <[email protected]> Gerrit-MessageType: comment
