Change in osmo-bsc[master]: ctrs: Correctly count load total for dynamic timeslots.

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.org
Thu May 7 10:50:34 UTC 2020


pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/18090 )

Change subject: ctrs: Correctly count load total for dynamic timeslots.
......................................................................


Patch Set 1:

(4 comments)

So the idea behind this commit is that dynamic timeslosts should count when calculating total available load, even if they are at pdch at that moment, because they can be turned to TCH at any time when required. Am I correct? please describe something like that in the commit message.

https://gerrit.osmocom.org/c/osmo-bsc/+/18090/1/src/osmo-bsc/chan_alloc.c 
File src/osmo-bsc/chan_alloc.c:

https://gerrit.osmocom.org/c/osmo-bsc/+/18090/1/src/osmo-bsc/chan_alloc.c@40 
PS1, Line 40: void bts_chan_load(struct pchan_load *cl, const struct gsm_bts *bts)
would be great having documentation for this function...


https://gerrit.osmocom.org/c/osmo-bsc/+/18090/1/src/osmo-bsc/chan_alloc.c@63 
PS1, Line 63: 			 * have an lchan's allocated to them */
"an lchan allocated"


https://gerrit.osmocom.org/c/osmo-bsc/+/18090/1/src/osmo-bsc/chan_alloc.c@66 
PS1, Line 66: 			   && (  ts->pchan_is == GSM_PCHAN_NONE
please fix  whitespace in all this if condition.


https://gerrit.osmocom.org/c/osmo-bsc/+/18090/1/src/osmo-bsc/chan_alloc.c@72 
PS1, Line 72: 			 * Note: When GSM_PCHAN_TCH_F_TCH_H_PDCH is allocation
"is allocation in" doesn't make sense to me, please fix. I'm actually ahving hard time understanding both comments here and above, so I'd be happy if you can give it a bit of rework.



-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/18090
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Iabd70e8adbf15eb3b7a7be597281ea99b352317b
Gerrit-Change-Number: 18090
Gerrit-PatchSet: 1
Gerrit-Owner: ipse <Alexander.Chemeris at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Thu, 07 May 2020 10:50:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200507/b0a84f91/attachment.htm>


More information about the gerrit-log mailing list