diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-12-03 19:27:23 +0100 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-12-06 18:59:07 +0100 |
commit | 36743255cd0e328b18b95ecaf10f0e19deb27159 (patch) | |
tree | e4e0b3b60c02c35a99087294528e25f8f2c463b3 /include | |
parent | 237ec6194b46f096d419efd8a663d1e7e279e2ae (diff) |
power_control: clarify units in 'struct lchan_power_ctrl_state'
Change-Id: I934f2d1e1064eed7587bc5693ef981bf449a1b81
Related: SYS#4918
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/gsm_data.h | 3 |
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; |