aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/osmo_bsc_main.c
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2021-09-23 06:43:03 +0200
committerkeith <keith@rhizomatica.org>2021-10-05 04:32:33 +0000
commit22622452095bff83b254b5c5123438564f3b2219 (patch)
tree1101658f83a450b59a10caa81765c190a6f33c2d /src/osmo-bsc/osmo_bsc_main.c
parentb263d860e6ae98673b1c3973351af2e98c092dea (diff)
Implement MS Uplink Power Control Loop
* Adds vty option dyn-bsc for ms-power-control -> mode * Imports power_control.c from osmo-bts project [at commit 2f3cd4b697972d8484f9a9d3b7ef634086f65fa5] * Removes unused C/I code from osmo-bts's power_control.c This patch then calls the power loop on receipt of measurement reports and updates the MS Power Level accordingly. Change-Id: Ibc307e758697eb5ca3fb86622f35709d6077db9e
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_main.c')
-rw-r--r--src/osmo-bsc/osmo_bsc_main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index 395a60e21..0ed00335b 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -855,6 +855,12 @@ static const struct log_info_cat osmo_bsc_categories[] = {
.description = "RESET/ACK on A and Lb interfaces",
.enabled = 1, .loglevel = LOGL_NOTICE,
},
+ [DLOOP] = {
+ .name = "DLOOP",
+ .description = "Control loops",
+ .color = "\033[0;34m",
+ .enabled = 1, .loglevel = LOGL_NOTICE,
+ },
};
static int filter_fn(const struct log_context *ctx, struct log_target *tar)