Change in osmo-bts[master]: power_control: clarify units in 'struct lchan_power_ctrl_state'

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Thu Dec 3 18:29:26 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/21500 )


Change subject: power_control: clarify units in 'struct lchan_power_ctrl_state'
......................................................................

power_control: clarify units in 'struct lchan_power_ctrl_state'

Change-Id: I934f2d1e1064eed7587bc5693ef981bf449a1b81
Related: SYS#4918
---
M include/osmo-bts/gsm_data.h
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/00/21500/1

diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index 6af96fe..fdd5ba3 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -161,6 +161,9 @@
 	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;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21500
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I934f2d1e1064eed7587bc5693ef981bf449a1b81
Gerrit-Change-Number: 21500
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201203/4aad50ff/attachment.htm>


More information about the gerrit-log mailing list