aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-12-03 19:27:23 +0100
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-12-06 18:59:07 +0100
commit36743255cd0e328b18b95ecaf10f0e19deb27159 (patch)
treee4e0b3b60c02c35a99087294528e25f8f2c463b3 /include
parent237ec6194b46f096d419efd8a663d1e7e279e2ae (diff)
power_control: clarify units in 'struct lchan_power_ctrl_state'
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/gsm_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index 6af96fe9..fdd5ba34 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -161,6 +161,9 @@ struct gsm_rep_facch {
uint32_t fn;
};
+/* Depending on the context (MS or BS power control), fields 'current' and 'max'
+ * reflect either the MS power level (magic numbers), or BS Power reduction level
+ * (attenuation, in dB). Field 'avg100_rxlev_dbm' is always in dBm. */
struct lchan_power_ctrl_state {
uint8_t current;
uint8_t max;