aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/power_control.h
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2021-09-23 06:43:03 +0200
committerKeith <keith@rhizomatica.org>2021-09-23 06:43:14 +0200
commit5d25c81f81299790c6b4b388c3cebc208ed9b491 (patch)
tree53d970ec2cf009b31b2bf53105761dfe29e07c8c /include/osmocom/bsc/power_control.h
parentca3332f90601da8321c05a04bcc3415a3726b298 (diff)
Implement BSC MS Uplink Power Control Loop.keith/uplink_power_loop2
This is a more or less a port of the power control Loop from osmo-bts Change-Id: Ibc307e758697eb5ca3fb86622f35709d6077db9e
Diffstat (limited to 'include/osmocom/bsc/power_control.h')
-rw-r--r--include/osmocom/bsc/power_control.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/osmocom/bsc/power_control.h b/include/osmocom/bsc/power_control.h
new file mode 100644
index 000000000..1e4ba0242
--- /dev/null
+++ b/include/osmocom/bsc/power_control.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include <stdint.h>
+#include <osmocom/bsc/gsm_data.h>
+#include <osmocom/bsc/meas_rep.h>
+
+void crude_ms_power_loop(struct gsm_lchan *lchan, struct gsm_meas_rep *mr);
+
+int lchan_ms_pwr_ctrl(struct gsm_lchan *lchan, struct gsm_meas_rep *mr);