aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2020-05-07 15:32:52 +0300
committeripse <Alexander.Chemeris@gmail.com>2020-05-09 00:36:21 +0000
commit6d4ccc16389ea7952277d260b983d9e1cabf6e71 (patch)
tree51a6c6c82f4c5fae52b46ef4d83d818906f1df8c /src
parentdbfa85cc08f55cd88ffe86d70f71e3a13127d188 (diff)
chan_alloc: Add comments for the *_chan_load() functions.
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bsc/chan_alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bsc/chan_alloc.c b/src/osmo-bsc/chan_alloc.c
index b2fbac881..75cea7162 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 @@ void bts_chan_load(struct pchan_load *cl, const struct gsm_bts *bts)
}
}
+/* 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;