Change in osmo-bsc[master]: chan_alloc: Add comments for the *_chan_load() functions.

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/.

ipse gerrit-no-reply at lists.osmocom.org
Sat May 9 00:36:21 UTC 2020


ipse has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/18100 )

Change subject: chan_alloc: Add comments for the *_chan_load() functions.
......................................................................

chan_alloc: Add comments for the *_chan_load() functions.

Change-Id: Ie199104fd4a6c0d5218f56b958d12fac4612fd78
---
M src/osmo-bsc/chan_alloc.c
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/src/osmo-bsc/chan_alloc.c b/src/osmo-bsc/chan_alloc.c
index b2fbac8..75cea71 100644
--- a/src/osmo-bsc/chan_alloc.c
+++ b/src/osmo-bsc/chan_alloc.c
@@ -37,6 +37,7 @@
 
 #include <osmocom/core/talloc.h>
 
+/* Update channel load calculation for the given BTS */
 void bts_chan_load(struct pchan_load *cl, const struct gsm_bts *bts)
 {
 	struct gsm_bts_trx *trx;
@@ -99,6 +100,7 @@
 	}
 }
 
+/* Update channel load calculation for all BTS in the BSC */
 void network_chan_load(struct pchan_load *pl, struct gsm_network *net)
 {
 	struct gsm_bts *bts;

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ie199104fd4a6c0d5218f56b958d12fac4612fd78
Gerrit-Change-Number: 18100
Gerrit-PatchSet: 10
Gerrit-Owner: ipse <Alexander.Chemeris at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: ipse <Alexander.Chemeris at gmail.com>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
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/20200509/3af659c7/attachment.htm>


More information about the gerrit-log mailing list