diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/Makefile.am | 3 | ||||
-rw-r--r-- | include/osmo-bts/gsm_data.h | 2 | ||||
-rw-r--r-- | include/osmo-bts/power_control.h | 7 |
3 files changed, 11 insertions, 1 deletions
diff --git a/include/osmo-bts/Makefile.am b/include/osmo-bts/Makefile.am index cd3d8c04..bf037ae3 100644 --- a/include/osmo-bts/Makefile.am +++ b/include/osmo-bts/Makefile.am @@ -1,3 +1,4 @@ noinst_HEADERS = abis.h bts.h bts_model.h gsm_data.h logging.h measurement.h \ oml.h paging.h rsl.h signal.h vty.h amr.h pcu_if.h pcuif_proto.h \ - handover.h msg_utils.h tx_power.h control_if.h cbch.h l1sap.h + handover.h msg_utils.h tx_power.h control_if.h cbch.h l1sap.h \ + power_control.h diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h index b5dc25fa..bfa5285b 100644 --- a/include/osmo-bts/gsm_data.h +++ b/include/osmo-bts/gsm_data.h @@ -84,6 +84,8 @@ struct gsm_bts_role_bts { struct gsm_time gsm_time; uint8_t radio_link_timeout; + int ul_power_target; /* Uplink Rx power target */ + /* used by the sysmoBTS to adjust band */ uint8_t auto_band; diff --git a/include/osmo-bts/power_control.h b/include/osmo-bts/power_control.h new file mode 100644 index 00000000..43d4b591 --- /dev/null +++ b/include/osmo-bts/power_control.h @@ -0,0 +1,7 @@ +#pragma once + +#include <stdint.h> +#include <osmo-bts/gsm_data.h> + +int lchan_ms_pwr_ctrl(struct gsm_lchan *lchan, + const uint8_t ms_power, const int rxLevel); |