Change in osmo-bts[master]: l1sap: Correctly count RACH slots in calc_exprd_rach_frames()

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri May 24 09:09:19 UTC 2019


Harald Welte has uploaded a new patch set (#2). ( https://gerrit.osmocom.org/14159 )

Change subject: l1sap: Correctly count RACH slots in calc_exprd_rach_frames()
......................................................................

l1sap: Correctly count RACH slots in calc_exprd_rach_frames()

We used a bogus multiplication factor of four when computing the number
of expired RACH slots.  While there are four RACH slots per block (i.e.
4 times more RACH received than normal MAC blocks), that multiplier
doesn't apply here:  We are calling this function per *frame* and not
per *block*.  So the maximum number of RACH slots per *frame* is (in
most suual cases with a single CCCH) at maximum 1. Only some obscure
configurations with multiple CCCHs in a single cell would render higher
values.  In any case, *blocks* never even enter this equation.

This wrong multiplier resulted in rather weird RACH load reports to the
BSC.

Related: OS#3750
Change-Id: I6b14fd6e7819f9164fb4a09b432a9f419e3b6e5c
---
M src/common/l1sap.c
1 file changed, 1 insertion(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/59/14159/2
-- 
To view, visit https://gerrit.osmocom.org/14159
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I6b14fd6e7819f9164fb4a09b432a9f419e3b6e5c
Gerrit-Change-Number: 14159
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-CC: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190524/676b3455/attachment.html>


More information about the gerrit-log mailing list